7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/BedrockRuntimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-runtime/model/GuardrailContentSource.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/bedrock-runtime/model/GuardrailContentBlock.h>
17namespace BedrockRuntime
46 inline void SetGuardrailIdentifier(
const char* value) { m_guardrailIdentifierHasBeenSet =
true; m_guardrailIdentifier.assign(value); }
60 inline void SetGuardrailVersion(
const char* value) { m_guardrailVersionHasBeenSet =
true; m_guardrailVersion.assign(value); }
94 bool m_guardrailIdentifierHasBeenSet =
false;
97 bool m_guardrailVersionHasBeenSet =
false;
100 bool m_sourceHasBeenSet =
false;
103 bool m_contentHasBeenSet =
false;
ApplyGuardrailRequest & WithContent(const Aws::Vector< GuardrailContentBlock > &value)
void SetSource(const GuardrailContentSource &value)
ApplyGuardrailRequest & WithGuardrailVersion(const char *value)
void SetGuardrailVersion(const char *value)
ApplyGuardrailRequest & AddContent(GuardrailContentBlock &&value)
void SetContent(Aws::Vector< GuardrailContentBlock > &&value)
void SetGuardrailIdentifier(const Aws::String &value)
void SetGuardrailVersion(Aws::String &&value)
ApplyGuardrailRequest & AddContent(const GuardrailContentBlock &value)
bool GuardrailIdentifierHasBeenSet() const
AWS_BEDROCKRUNTIME_API ApplyGuardrailRequest()
void SetGuardrailVersion(const Aws::String &value)
void SetGuardrailIdentifier(Aws::String &&value)
ApplyGuardrailRequest & WithGuardrailIdentifier(const Aws::String &value)
ApplyGuardrailRequest & WithSource(const GuardrailContentSource &value)
const Aws::String & GetGuardrailVersion() const
virtual const char * GetServiceRequestName() const override
ApplyGuardrailRequest & WithGuardrailIdentifier(Aws::String &&value)
void SetContent(const Aws::Vector< GuardrailContentBlock > &value)
AWS_BEDROCKRUNTIME_API Aws::String SerializePayload() const override
ApplyGuardrailRequest & WithContent(Aws::Vector< GuardrailContentBlock > &&value)
void SetGuardrailIdentifier(const char *value)
ApplyGuardrailRequest & WithGuardrailIdentifier(const char *value)
bool ContentHasBeenSet() const
void SetSource(GuardrailContentSource &&value)
const Aws::Vector< GuardrailContentBlock > & GetContent() const
ApplyGuardrailRequest & WithGuardrailVersion(Aws::String &&value)
ApplyGuardrailRequest & WithSource(GuardrailContentSource &&value)
bool SourceHasBeenSet() const
const GuardrailContentSource & GetSource() const
bool GuardrailVersionHasBeenSet() const
const Aws::String & GetGuardrailIdentifier() const
ApplyGuardrailRequest & WithGuardrailVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector