7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/AutoScalingPolicyStateChangeReasonCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
67 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
75 bool m_codeHasBeenSet =
false;
78 bool m_messageHasBeenSet =
false;
AWS_EMR_API AutoScalingPolicyStateChangeReason(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API AutoScalingPolicyStateChangeReason & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(const Aws::String &value)
AutoScalingPolicyStateChangeReason & WithCode(AutoScalingPolicyStateChangeReasonCode &&value)
void SetCode(const AutoScalingPolicyStateChangeReasonCode &value)
void SetMessage(const char *value)
bool MessageHasBeenSet() const
const Aws::String & GetMessage() const
void SetCode(AutoScalingPolicyStateChangeReasonCode &&value)
bool CodeHasBeenSet() const
AutoScalingPolicyStateChangeReason & WithMessage(Aws::String &&value)
const AutoScalingPolicyStateChangeReasonCode & GetCode() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(Aws::String &&value)
AutoScalingPolicyStateChangeReason & WithCode(const AutoScalingPolicyStateChangeReasonCode &value)
AWS_EMR_API AutoScalingPolicyStateChangeReason()
AutoScalingPolicyStateChangeReason & WithMessage(const char *value)
AutoScalingPolicyStateChangeReason & WithMessage(const Aws::String &value)
AutoScalingPolicyStateChangeReasonCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue