7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailChecksContentBlock.h>
9#include <aws/bedrock-runtime/model/GuardrailChecksRole.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace BedrockRuntime {
44 m_roleHasBeenSet =
true;
59 template <
typename ContentT = Aws::Vector<GuardrailChecksContentBlock>>
61 m_contentHasBeenSet =
true;
62 m_content = std::forward<ContentT>(value);
64 template <
typename ContentT = Aws::Vector<GuardrailChecksContentBlock>>
69 template <
typename ContentT = GuardrailChecksContentBlock>
71 m_contentHasBeenSet =
true;
72 m_content.emplace_back(std::forward<ContentT>(value));
80 bool m_roleHasBeenSet =
false;
81 bool m_contentHasBeenSet =
false;
AWS_BEDROCKRUNTIME_API GuardrailChecksMessage(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API GuardrailChecksMessage()=default
void SetRole(GuardrailChecksRole value)
bool ContentHasBeenSet() const
GuardrailChecksMessage & WithRole(GuardrailChecksRole value)
void SetContent(ContentT &&value)
bool RoleHasBeenSet() const
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailChecksMessage & AddContent(ContentT &&value)
AWS_BEDROCKRUNTIME_API GuardrailChecksMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< GuardrailChecksContentBlock > & GetContent() const
GuardrailChecksRole GetRole() const
GuardrailChecksMessage & WithContent(ContentT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue