7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/ValidationExceptionErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace PartnerCentralSelling
76 template<
typename FieldNameT = Aws::String>
77 void SetFieldName(FieldNameT&& value) { m_fieldNameHasBeenSet =
true; m_fieldName = std::forward<FieldNameT>(value); }
78 template<
typename FieldNameT = Aws::String>
88 template<
typename MessageT = Aws::String>
89 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
90 template<
typename MessageT = Aws::String>
96 bool m_codeHasBeenSet =
false;
99 bool m_fieldNameHasBeenSet =
false;
102 bool m_messageHasBeenSet =
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