7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9#include <aws/partnercentral-selling/model/ValidationExceptionErrorCode.h>
20namespace PartnerCentralSelling {
62 template <
typename FieldNameT = Aws::String>
64 m_fieldNameHasBeenSet =
true;
65 m_fieldName = std::forward<FieldNameT>(value);
67 template <
typename FieldNameT = Aws::String>
80 template <
typename MessageT = Aws::String>
82 m_messageHasBeenSet =
true;
83 m_message = std::forward<MessageT>(value);
85 template <
typename MessageT = Aws::String>
99 m_codeHasBeenSet =
true;
113 bool m_fieldNameHasBeenSet =
false;
114 bool m_messageHasBeenSet =
false;
115 bool m_codeHasBeenSet =
false;
bool MessageHasBeenSet() const
void SetFieldName(FieldNameT &&value)
ValidationExceptionError & WithFieldName(FieldNameT &&value)
ValidationExceptionError & WithMessage(MessageT &&value)
const Aws::String & GetFieldName() const
ValidationExceptionError & WithCode(ValidationExceptionErrorCode value)
bool FieldNameHasBeenSet() const
AWS_PARTNERCENTRALSELLING_API ValidationExceptionError()=default
bool CodeHasBeenSet() const
void SetMessage(MessageT &&value)
const Aws::String & GetMessage() const
ValidationExceptionErrorCode GetCode() const
AWS_PARTNERCENTRALSELLING_API ValidationExceptionError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALSELLING_API ValidationExceptionError(Aws::Utils::Json::JsonView jsonValue)
void SetCode(ValidationExceptionErrorCode value)
ValidationExceptionErrorCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue