7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-channel/PartnerCentralChannel_EXPORTS.h>
19namespace PartnerCentralChannel {
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
59 template <
typename CodeT = Aws::String>
61 m_codeHasBeenSet =
true;
62 m_code = std::forward<CodeT>(value);
64 template <
typename CodeT = Aws::String>
66 SetCode(std::forward<CodeT>(value));
77 template <
typename MessageT = Aws::String>
79 m_messageHasBeenSet =
true;
80 m_message = std::forward<MessageT>(value);
82 template <
typename MessageT = Aws::String>
94 bool m_nameHasBeenSet =
false;
95 bool m_codeHasBeenSet =
false;
96 bool m_messageHasBeenSet =
false;
bool NameHasBeenSet() const
AWS_PARTNERCENTRALCHANNEL_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationExceptionField & WithMessage(MessageT &&value)
const Aws::String & GetCode() const
ValidationExceptionField & WithCode(CodeT &&value)
AWS_PARTNERCENTRALCHANNEL_API ValidationExceptionField & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
ValidationExceptionField & WithName(NameT &&value)
const Aws::String & GetMessage() const
AWS_PARTNERCENTRALCHANNEL_API ValidationExceptionField(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&value)
bool MessageHasBeenSet() const
bool CodeHasBeenSet() const
AWS_PARTNERCENTRALCHANNEL_API ValidationExceptionField()=default
void SetCode(CodeT &&value)
void SetName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue