7#include <aws/inspector-scan/Inspectorscan_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector-scan/model/ValidationExceptionReason.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/inspector-scan/model/ValidationExceptionField.h>
24namespace inspectorscan
48 template<
typename MessageT = Aws::String>
49 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
50 template<
typename MessageT = Aws::String>
70 template<
typename FieldsT = Aws::Vector<Val
idationExceptionField>>
71 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet =
true; m_fields = std::forward<FieldsT>(value); }
72 template<
typename FieldsT = Aws::Vector<Val
idationExceptionField>>
74 template<
typename FieldsT = Val
idationExceptionField>
80 bool m_messageHasBeenSet =
false;
83 bool m_reasonHasBeenSet =
false;
86 bool m_fieldsHasBeenSet =
false;
bool FieldsHasBeenSet() const
ValidationExceptionReason GetReason() const
ValidationException & WithMessage(MessageT &&value)
void SetReason(ValidationExceptionReason value)
AWS_INSPECTORSCAN_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ValidationExceptionField > & GetFields() const
void SetFields(FieldsT &&value)
const Aws::String & GetMessage() const
ValidationException & WithReason(ValidationExceptionReason value)
ValidationException & AddFields(FieldsT &&value)
ValidationException & WithFields(FieldsT &&value)
AWS_INSPECTORSCAN_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTORSCAN_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTORSCAN_API ValidationException()=default
bool ReasonHasBeenSet() 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