7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
45 template<
typename MessageT = Aws::String>
46 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
47 template<
typename MessageT = Aws::String>
57 template<
typename ReasonCodeT = Aws::String>
58 void SetReasonCode(ReasonCodeT&& value) { m_reasonCodeHasBeenSet =
true; m_reasonCode = std::forward<ReasonCodeT>(value); }
59 template<
typename ReasonCodeT = Aws::String>
65 bool m_messageHasBeenSet =
false;
68 bool m_reasonCodeHasBeenSet =
false;
bool ReasonCodeHasBeenSet() const
AWS_SSM_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReasonCode(ReasonCodeT &&value)
AWS_SSM_API ValidationException()=default
ValidationException & WithMessage(MessageT &&value)
ValidationException & WithReasonCode(ReasonCodeT &&value)
AWS_SSM_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
const Aws::String & GetReasonCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue