Files
DedicatedServerCourse/Plugins/GameLiftPlugin/Source/AWSSDK/Include/aws/ssm/model/InvalidItemContentException.h

75 lines
2.8 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ssm/SSM_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SSM
{
namespace Model
{
/**
* <p>One or more content items isn't valid.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InvalidItemContentException">AWS
* API Reference</a></p>
*/
class InvalidItemContentException
{
public:
AWS_SSM_API InvalidItemContentException();
AWS_SSM_API InvalidItemContentException(Aws::Utils::Json::JsonView jsonValue);
AWS_SSM_API InvalidItemContentException& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const;
///@{
inline const Aws::String& GetTypeName() const{ return m_typeName; }
inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
inline InvalidItemContentException& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
inline InvalidItemContentException& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
inline InvalidItemContentException& WithTypeName(const char* value) { SetTypeName(value); return *this;}
///@}
///@{
inline const Aws::String& GetMessage() const{ return m_message; }
inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
inline InvalidItemContentException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
inline InvalidItemContentException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
inline InvalidItemContentException& WithMessage(const char* value) { SetMessage(value); return *this;}
///@}
private:
Aws::String m_typeName;
bool m_typeNameHasBeenSet = false;
Aws::String m_message;
bool m_messageHasBeenSet = false;
};
} // namespace Model
} // namespace SSM
} // namespace Aws