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