7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/BedrockRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock/model/GuardrailTopicPolicyConfig.h>
11#include <aws/bedrock/model/GuardrailContentPolicyConfig.h>
12#include <aws/bedrock/model/GuardrailWordPolicyConfig.h>
13#include <aws/bedrock/model/GuardrailSensitiveInformationPolicyConfig.h>
14#include <aws/bedrock/model/GuardrailContextualGroundingPolicyConfig.h>
48 inline void SetGuardrailIdentifier(
const char* value) { m_guardrailIdentifierHasBeenSet =
true; m_guardrailIdentifier.assign(value); }
62 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
76 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
150 inline void SetBlockedInputMessaging(
const char* value) { m_blockedInputMessagingHasBeenSet =
true; m_blockedInputMessaging.assign(value); }
164 inline void SetBlockedOutputsMessaging(
const char* value) { m_blockedOutputsMessagingHasBeenSet =
true; m_blockedOutputsMessaging.assign(value); }
178 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
186 bool m_guardrailIdentifierHasBeenSet =
false;
189 bool m_nameHasBeenSet =
false;
192 bool m_descriptionHasBeenSet =
false;
195 bool m_topicPolicyConfigHasBeenSet =
false;
198 bool m_contentPolicyConfigHasBeenSet =
false;
201 bool m_wordPolicyConfigHasBeenSet =
false;
204 bool m_sensitiveInformationPolicyConfigHasBeenSet =
false;
207 bool m_contextualGroundingPolicyConfigHasBeenSet =
false;
210 bool m_blockedInputMessagingHasBeenSet =
false;
213 bool m_blockedOutputsMessagingHasBeenSet =
false;
216 bool m_kmsKeyIdHasBeenSet =
false;
bool BlockedOutputsMessagingHasBeenSet() const
bool TopicPolicyConfigHasBeenSet() const
UpdateGuardrailRequest & WithKmsKeyId(Aws::String &&value)
void SetContextualGroundingPolicyConfig(const GuardrailContextualGroundingPolicyConfig &value)
UpdateGuardrailRequest & WithContextualGroundingPolicyConfig(const GuardrailContextualGroundingPolicyConfig &value)
void SetContentPolicyConfig(const GuardrailContentPolicyConfig &value)
UpdateGuardrailRequest & WithTopicPolicyConfig(const GuardrailTopicPolicyConfig &value)
void SetName(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetTopicPolicyConfig(GuardrailTopicPolicyConfig &&value)
void SetSensitiveInformationPolicyConfig(const GuardrailSensitiveInformationPolicyConfig &value)
UpdateGuardrailRequest & WithSensitiveInformationPolicyConfig(const GuardrailSensitiveInformationPolicyConfig &value)
void SetWordPolicyConfig(const GuardrailWordPolicyConfig &value)
void SetName(const char *value)
void SetBlockedOutputsMessaging(const char *value)
void SetBlockedOutputsMessaging(Aws::String &&value)
const Aws::String & GetGuardrailIdentifier() const
UpdateGuardrailRequest & WithGuardrailIdentifier(const char *value)
void SetBlockedOutputsMessaging(const Aws::String &value)
void SetDescription(const Aws::String &value)
UpdateGuardrailRequest & WithContentPolicyConfig(GuardrailContentPolicyConfig &&value)
const Aws::String & GetName() const
void SetContentPolicyConfig(GuardrailContentPolicyConfig &&value)
void SetKmsKeyId(const char *value)
const Aws::String & GetKmsKeyId() const
UpdateGuardrailRequest & WithKmsKeyId(const char *value)
bool ContentPolicyConfigHasBeenSet() const
void SetGuardrailIdentifier(const Aws::String &value)
UpdateGuardrailRequest & WithContextualGroundingPolicyConfig(GuardrailContextualGroundingPolicyConfig &&value)
void SetSensitiveInformationPolicyConfig(GuardrailSensitiveInformationPolicyConfig &&value)
UpdateGuardrailRequest & WithWordPolicyConfig(GuardrailWordPolicyConfig &&value)
bool ContextualGroundingPolicyConfigHasBeenSet() const
UpdateGuardrailRequest & WithGuardrailIdentifier(Aws::String &&value)
UpdateGuardrailRequest & WithTopicPolicyConfig(GuardrailTopicPolicyConfig &&value)
void SetKmsKeyId(Aws::String &&value)
const GuardrailWordPolicyConfig & GetWordPolicyConfig() const
void SetBlockedInputMessaging(const Aws::String &value)
const GuardrailContextualGroundingPolicyConfig & GetContextualGroundingPolicyConfig() const
UpdateGuardrailRequest & WithSensitiveInformationPolicyConfig(GuardrailSensitiveInformationPolicyConfig &&value)
void SetTopicPolicyConfig(const GuardrailTopicPolicyConfig &value)
const Aws::String & GetDescription() const
bool GuardrailIdentifierHasBeenSet() const
void SetGuardrailIdentifier(const char *value)
UpdateGuardrailRequest & WithBlockedInputMessaging(Aws::String &&value)
UpdateGuardrailRequest & WithName(const Aws::String &value)
const Aws::String & GetBlockedOutputsMessaging() const
UpdateGuardrailRequest & WithContentPolicyConfig(const GuardrailContentPolicyConfig &value)
UpdateGuardrailRequest & WithKmsKeyId(const Aws::String &value)
bool WordPolicyConfigHasBeenSet() const
UpdateGuardrailRequest & WithBlockedOutputsMessaging(const char *value)
void SetName(Aws::String &&value)
void SetDescription(const char *value)
const GuardrailContentPolicyConfig & GetContentPolicyConfig() const
bool KmsKeyIdHasBeenSet() const
UpdateGuardrailRequest & WithGuardrailIdentifier(const Aws::String &value)
const GuardrailSensitiveInformationPolicyConfig & GetSensitiveInformationPolicyConfig() const
void SetWordPolicyConfig(GuardrailWordPolicyConfig &&value)
bool SensitiveInformationPolicyConfigHasBeenSet() const
UpdateGuardrailRequest & WithBlockedOutputsMessaging(const Aws::String &value)
AWS_BEDROCK_API UpdateGuardrailRequest()
void SetDescription(Aws::String &&value)
UpdateGuardrailRequest & WithDescription(Aws::String &&value)
UpdateGuardrailRequest & WithDescription(const char *value)
UpdateGuardrailRequest & WithBlockedOutputsMessaging(Aws::String &&value)
const Aws::String & GetBlockedInputMessaging() const
void SetContextualGroundingPolicyConfig(GuardrailContextualGroundingPolicyConfig &&value)
bool NameHasBeenSet() const
bool BlockedInputMessagingHasBeenSet() const
UpdateGuardrailRequest & WithBlockedInputMessaging(const Aws::String &value)
void SetBlockedInputMessaging(const char *value)
UpdateGuardrailRequest & WithName(Aws::String &&value)
void SetGuardrailIdentifier(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateGuardrailRequest & WithBlockedInputMessaging(const char *value)
UpdateGuardrailRequest & WithWordPolicyConfig(const GuardrailWordPolicyConfig &value)
UpdateGuardrailRequest & WithDescription(const Aws::String &value)
void SetKmsKeyId(const Aws::String &value)
AWS_BEDROCK_API Aws::String SerializePayload() const override
UpdateGuardrailRequest & WithName(const char *value)
const GuardrailTopicPolicyConfig & GetTopicPolicyConfig() const
void SetBlockedInputMessaging(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String