7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/partnercentral-marketing/PartnerCentralMarketing_EXPORTS.h>
10#include <aws/partnercentral-marketing/model/ValidationExceptionFieldCode.h>
20namespace PartnerCentralMarketing {
33 AWS_PARTNERCENTRALMARKETING_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
64 template <
typename FieldIdT = Aws::String>
66 m_fieldIdHasBeenSet =
true;
67 m_fieldId = std::forward<FieldIdT>(value);
69 template <
typename FieldIdT = Aws::String>
82 template <
typename MessageT = Aws::String>
84 m_messageHasBeenSet =
true;
85 m_message = std::forward<MessageT>(value);
87 template <
typename MessageT = Aws::String>
102 m_codeHasBeenSet =
true;
118 bool m_nameHasBeenSet =
false;
119 bool m_fieldIdHasBeenSet =
false;
120 bool m_messageHasBeenSet =
false;
121 bool m_codeHasBeenSet =
false;
void SetName(NameT &&value)
bool NameHasBeenSet() const
ValidationExceptionField & WithCode(ValidationExceptionFieldCode value)
const Aws::String & GetName() const
bool CodeHasBeenSet() const
void SetFieldId(FieldIdT &&value)
bool FieldIdHasBeenSet() const
ValidationExceptionField & WithFieldId(FieldIdT &&value)
void SetMessage(MessageT &&value)
AWS_PARTNERCENTRALMARKETING_API ValidationExceptionField & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ValidationExceptionField & WithName(NameT &&value)
const Aws::String & GetMessage() const
AWS_PARTNERCENTRALMARKETING_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetFieldId() const
AWS_PARTNERCENTRALMARKETING_API ValidationExceptionField(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ValidationExceptionFieldCode GetCode() const
void SetCode(ValidationExceptionFieldCode value)
bool MessageHasBeenSet() const
ValidationExceptionField & WithMessage(MessageT &&value)
AWS_PARTNERCENTRALMARKETING_API ValidationExceptionField()=default
ValidationExceptionFieldCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String