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