7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/ImageBuilderStateChangeReasonCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
62 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
70 bool m_codeHasBeenSet =
false;
73 bool m_messageHasBeenSet =
false;
const Aws::String & GetMessage() const
ImageBuilderStateChangeReason & WithCode(const ImageBuilderStateChangeReasonCode &value)
bool CodeHasBeenSet() const
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCode(ImageBuilderStateChangeReasonCode &&value)
void SetMessage(Aws::String &&value)
void SetCode(const ImageBuilderStateChangeReasonCode &value)
bool MessageHasBeenSet() const
void SetMessage(const Aws::String &value)
ImageBuilderStateChangeReason & WithMessage(const Aws::String &value)
const ImageBuilderStateChangeReasonCode & GetCode() const
AWS_APPSTREAM_API ImageBuilderStateChangeReason & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageBuilderStateChangeReason & WithMessage(Aws::String &&value)
AWS_APPSTREAM_API ImageBuilderStateChangeReason()
void SetMessage(const char *value)
AWS_APPSTREAM_API ImageBuilderStateChangeReason(Aws::Utils::Json::JsonView jsonValue)
ImageBuilderStateChangeReason & WithCode(ImageBuilderStateChangeReasonCode &&value)
ImageBuilderStateChangeReason & WithMessage(const char *value)
ImageBuilderStateChangeReasonCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue