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