7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-maps/GeoMaps_EXPORTS.h>
10#include <aws/geo-maps/model/ValidationExceptionField.h>
11#include <aws/geo-maps/model/ValidationExceptionReason.h>
42 template <
typename MessageT = Aws::String>
44 m_messageHasBeenSet =
true;
45 m_message = std::forward<MessageT>(value);
47 template <
typename MessageT = Aws::String>
61 m_reasonHasBeenSet =
true;
76 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
78 m_fieldListHasBeenSet =
true;
79 m_fieldList = std::forward<FieldListT>(value);
81 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
86 template <
typename FieldListT = Val
idationExceptionField>
88 m_fieldListHasBeenSet =
true;
89 m_fieldList.emplace_back(std::forward<FieldListT>(value));
99 bool m_messageHasBeenSet =
false;
100 bool m_reasonHasBeenSet =
false;
101 bool m_fieldListHasBeenSet =
false;
AWS_GEOMAPS_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
bool FieldListHasBeenSet() const
void SetFieldList(FieldListT &&value)
void SetMessage(MessageT &&value)
bool ReasonHasBeenSet() const
AWS_GEOMAPS_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationExceptionReason GetReason() const
ValidationException & AddFieldList(FieldListT &&value)
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
void SetReason(ValidationExceptionReason value)
AWS_GEOMAPS_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithMessage(MessageT &&value)
ValidationException & WithFieldList(FieldListT &&value)
AWS_GEOMAPS_API ValidationException()=default
bool MessageHasBeenSet() const
const Aws::String & GetMessage() const
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