7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/ValidationExceptionField.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace BedrockAgent {
41 template <
typename MessageT = Aws::String>
43 m_messageHasBeenSet =
true;
44 m_message = std::forward<MessageT>(value);
46 template <
typename MessageT = Aws::String>
60 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
62 m_fieldListHasBeenSet =
true;
63 m_fieldList = std::forward<FieldListT>(value);
65 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
70 template <
typename FieldListT = Val
idationExceptionField>
72 m_fieldListHasBeenSet =
true;
73 m_fieldList.emplace_back(std::forward<FieldListT>(value));
81 bool m_messageHasBeenSet =
false;
82 bool m_fieldListHasBeenSet =
false;
AWS_BEDROCKAGENT_API ValidationException()=default
void SetFieldList(FieldListT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
bool FieldListHasBeenSet() const
ValidationException & AddFieldList(FieldListT &&value)
AWS_BEDROCKAGENT_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithMessage(MessageT &&value)
AWS_BEDROCKAGENT_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&value)
ValidationException & WithFieldList(FieldListT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue