7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/panorama/model/ValidationExceptionReason.h>
11#include <aws/panorama/model/ValidationExceptionErrorArgument.h>
12#include <aws/panorama/model/ValidationExceptionField.h>
51 template<
typename ErrorArgumentsT = Aws::Vector<Val
idationExceptionErrorArgument>>
52 void SetErrorArguments(ErrorArgumentsT&& value) { m_errorArgumentsHasBeenSet =
true; m_errorArguments = std::forward<ErrorArgumentsT>(value); }
53 template<
typename ErrorArgumentsT = Aws::Vector<Val
idationExceptionErrorArgument>>
55 template<
typename ErrorArgumentsT = Val
idationExceptionErrorArgument>
65 template<
typename ErrorIdT = Aws::String>
66 void SetErrorId(ErrorIdT&& value) { m_errorIdHasBeenSet =
true; m_errorId = std::forward<ErrorIdT>(value); }
67 template<
typename ErrorIdT = Aws::String>
77 template<
typename FieldsT = Aws::Vector<Val
idationExceptionField>>
78 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet =
true; m_fields = std::forward<FieldsT>(value); }
79 template<
typename FieldsT = Aws::Vector<Val
idationExceptionField>>
81 template<
typename FieldsT = Val
idationExceptionField>
89 template<
typename MessageT = Aws::String>
90 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
91 template<
typename MessageT = Aws::String>
107 bool m_errorArgumentsHasBeenSet =
false;
110 bool m_errorIdHasBeenSet =
false;
113 bool m_fieldsHasBeenSet =
false;
116 bool m_messageHasBeenSet =
false;
119 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