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