7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/InstanceGroupStateChangeReasonCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
58 template<
typename MessageT = Aws::String>
59 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
60 template<
typename MessageT = Aws::String>
66 bool m_codeHasBeenSet =
false;
69 bool m_messageHasBeenSet =
false;
void SetMessage(MessageT &&value)
AWS_EMR_API InstanceGroupStateChangeReason()=default
void SetCode(InstanceGroupStateChangeReasonCode value)
InstanceGroupStateChangeReason & WithMessage(MessageT &&value)
InstanceGroupStateChangeReasonCode GetCode() const
InstanceGroupStateChangeReason & WithCode(InstanceGroupStateChangeReasonCode value)
bool MessageHasBeenSet() const
AWS_EMR_API InstanceGroupStateChangeReason & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API InstanceGroupStateChangeReason(Aws::Utils::Json::JsonView jsonValue)
bool CodeHasBeenSet() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
InstanceGroupStateChangeReasonCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue