7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/inspector2/model/ValidationExceptionReason.h>
11#include <aws/inspector2/model/ValidationExceptionField.h>
50 template<
typename FieldsT = Aws::Vector<Val
idationExceptionField>>
51 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet =
true; m_fields = std::forward<FieldsT>(value); }
52 template<
typename FieldsT = Aws::Vector<Val
idationExceptionField>>
54 template<
typename FieldsT = Val
idationExceptionField>
62 template<
typename MessageT = Aws::String>
63 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
64 template<
typename MessageT = Aws::String>
80 bool m_fieldsHasBeenSet =
false;
83 bool m_messageHasBeenSet =
false;
86 bool m_reasonHasBeenSet =
false;
AWS_INSPECTOR2_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFields(FieldsT &&value)
bool MessageHasBeenSet() const
AWS_INSPECTOR2_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationException & WithMessage(MessageT &&value)
bool ReasonHasBeenSet() const
AWS_INSPECTOR2_API ValidationException()=default
const Aws::Vector< ValidationExceptionField > & GetFields() const
ValidationExceptionReason GetReason() const
void SetReason(ValidationExceptionReason value)
bool FieldsHasBeenSet() const
ValidationException & WithFields(FieldsT &&value)
const Aws::String & GetMessage() const
void SetMessage(MessageT &&value)
ValidationException & AddFields(FieldsT &&value)
ValidationException & WithReason(ValidationExceptionReason value)
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