7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-benefits/PartnerCentralBenefits_EXPORTS.h>
9#include <aws/partnercentral-benefits/model/ValidationExceptionErrorCode.h>
20namespace PartnerCentralBenefits {
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename MessageT = Aws::String>
62 m_messageHasBeenSet =
true;
63 m_message = std::forward<MessageT>(value);
65 template <
typename MessageT = Aws::String>
79 m_codeHasBeenSet =
true;
93 bool m_nameHasBeenSet =
false;
94 bool m_messageHasBeenSet =
false;
95 bool m_codeHasBeenSet =
false;
void SetName(NameT &&value)
void SetCode(ValidationExceptionErrorCode value)
bool NameHasBeenSet() const
AWS_PARTNERCENTRALBENEFITS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(MessageT &&value)
ValidationExceptionField & WithName(NameT &&value)
const Aws::String & GetName() const
ValidationExceptionField & WithMessage(MessageT &&value)
AWS_PARTNERCENTRALBENEFITS_API ValidationExceptionField & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidationExceptionField & WithCode(ValidationExceptionErrorCode value)
bool CodeHasBeenSet() const
bool MessageHasBeenSet() const
ValidationExceptionErrorCode GetCode() const
const Aws::String & GetMessage() const
AWS_PARTNERCENTRALBENEFITS_API ValidationExceptionField(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALBENEFITS_API ValidationExceptionField()=default
ValidationExceptionErrorCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue