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