7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/ImageStateChangeReasonCode.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;
void SetMessage(const Aws::String &value)
void SetMessage(Aws::String &&value)
bool CodeHasBeenSet() const
bool MessageHasBeenSet() const
ImageStateChangeReason & WithMessage(const char *value)
void SetCode(const ImageStateChangeReasonCode &value)
ImageStateChangeReason & WithMessage(const Aws::String &value)
const ImageStateChangeReasonCode & GetCode() const
void SetMessage(const char *value)
AWS_APPSTREAM_API ImageStateChangeReason & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPSTREAM_API ImageStateChangeReason()
ImageStateChangeReason & WithCode(const ImageStateChangeReasonCode &value)
const Aws::String & GetMessage() const
void SetCode(ImageStateChangeReasonCode &&value)
ImageStateChangeReason & WithMessage(Aws::String &&value)
ImageStateChangeReason & WithCode(ImageStateChangeReasonCode &&value)
AWS_APPSTREAM_API ImageStateChangeReason(Aws::Utils::Json::JsonView jsonValue)
ImageStateChangeReasonCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue