7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/panorama/Panorama_EXPORTS.h>
10#include <aws/panorama/model/ValidationExceptionErrorArgument.h>
11#include <aws/panorama/model/ValidationExceptionField.h>
12#include <aws/panorama/model/ValidationExceptionReason.h>
45 template <
typename ErrorArgumentsT = Aws::Vector<Val
idationExceptionErrorArgument>>
47 m_errorArgumentsHasBeenSet =
true;
48 m_errorArguments = std::forward<ErrorArgumentsT>(value);
50 template <
typename ErrorArgumentsT = Aws::Vector<Val
idationExceptionErrorArgument>>
55 template <
typename ErrorArgumentsT = Val
idationExceptionErrorArgument>
57 m_errorArgumentsHasBeenSet =
true;
58 m_errorArguments.emplace_back(std::forward<ErrorArgumentsT>(value));
69 template <
typename ErrorIdT = Aws::String>
71 m_errorIdHasBeenSet =
true;
72 m_errorId = std::forward<ErrorIdT>(value);
74 template <
typename ErrorIdT = Aws::String>
87 template <
typename FieldsT = Aws::Vector<Val
idationExceptionField>>
89 m_fieldsHasBeenSet =
true;
90 m_fields = std::forward<FieldsT>(value);
92 template <
typename FieldsT = Aws::Vector<Val
idationExceptionField>>
97 template <
typename FieldsT = Val
idationExceptionField>
99 m_fieldsHasBeenSet =
true;
100 m_fields.emplace_back(std::forward<FieldsT>(value));
109 template <
typename MessageT = Aws::String>
111 m_messageHasBeenSet =
true;
112 m_message = std::forward<MessageT>(value);
114 template <
typename MessageT = Aws::String>
128 m_reasonHasBeenSet =
true;
146 bool m_errorArgumentsHasBeenSet =
false;
147 bool m_errorIdHasBeenSet =
false;
148 bool m_fieldsHasBeenSet =
false;
149 bool m_messageHasBeenSet =
false;
150 bool m_reasonHasBeenSet =
false;
bool ReasonHasBeenSet() const
bool ErrorArgumentsHasBeenSet() const
ValidationException & AddFields(FieldsT &&value)
void SetErrorArguments(ErrorArgumentsT &&value)
const Aws::Vector< ValidationExceptionErrorArgument > & GetErrorArguments() const
void SetFields(FieldsT &&value)
ValidationException & WithMessage(MessageT &&value)
AWS_PANORAMA_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ValidationExceptionField > & GetFields() const
ValidationException & WithFields(FieldsT &&value)
bool ErrorIdHasBeenSet() const
ValidationExceptionReason GetReason() const
ValidationException & WithErrorId(ErrorIdT &&value)
ValidationException & WithErrorArguments(ErrorArgumentsT &&value)
AWS_PANORAMA_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PANORAMA_API ValidationException()=default
ValidationException & WithReason(ValidationExceptionReason value)
const Aws::String & GetMessage() const
void SetErrorId(ErrorIdT &&value)
ValidationException & AddErrorArguments(ErrorArgumentsT &&value)
const Aws::String & GetErrorId() const
void SetReason(ValidationExceptionReason value)
bool FieldsHasBeenSet() const
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(MessageT &&value)
bool MessageHasBeenSet() const
ValidationExceptionReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue