7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/ValidationExceptionReason.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iotfleetwise/model/ValidationExceptionField.h>
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>
72 template<
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
73 void SetFieldList(FieldListT&& value) { m_fieldListHasBeenSet =
true; m_fieldList = std::forward<FieldListT>(value); }
74 template<
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
76 template<
typename FieldListT = Val
idationExceptionField>
82 bool m_messageHasBeenSet =
false;
85 bool m_reasonHasBeenSet =
false;
88 bool m_fieldListHasBeenSet =
false;
AWS_IOTFLEETWISE_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithFieldList(FieldListT &&value)
bool FieldListHasBeenSet() const
bool ReasonHasBeenSet() const
const Aws::String & GetMessage() const
ValidationExceptionReason GetReason() const
ValidationException & WithReason(ValidationExceptionReason value)
AWS_IOTFLEETWISE_API ValidationException()=default
ValidationException & WithMessage(MessageT &&value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFieldList(FieldListT &&value)
void SetMessage(MessageT &&value)
void SetReason(ValidationExceptionReason value)
AWS_IOTFLEETWISE_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
bool MessageHasBeenSet() const
ValidationException & AddFieldList(FieldListT &&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