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>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/bedrock/model/Tag.h>
18#include <aws/core/utils/UUID.h>
51 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
65 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
139 inline void SetBlockedInputMessaging(
const char* value) { m_blockedInputMessagingHasBeenSet =
true; m_blockedInputMessaging.assign(value); }
153 inline void SetBlockedOutputsMessaging(
const char* value) { m_blockedOutputsMessagingHasBeenSet =
true; m_blockedOutputsMessaging.assign(value); }
167 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
199 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
207 bool m_nameHasBeenSet =
false;
210 bool m_descriptionHasBeenSet =
false;
213 bool m_topicPolicyConfigHasBeenSet =
false;
216 bool m_contentPolicyConfigHasBeenSet =
false;
219 bool m_wordPolicyConfigHasBeenSet =
false;
222 bool m_sensitiveInformationPolicyConfigHasBeenSet =
false;
225 bool m_contextualGroundingPolicyConfigHasBeenSet =
false;
228 bool m_blockedInputMessagingHasBeenSet =
false;
231 bool m_blockedOutputsMessagingHasBeenSet =
false;
234 bool m_kmsKeyIdHasBeenSet =
false;
237 bool m_tagsHasBeenSet =
false;
240 bool m_clientRequestTokenHasBeenSet =
false;
CreateGuardrailRequest & WithBlockedOutputsMessaging(const Aws::String &value)
bool ClientRequestTokenHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
void SetName(const Aws::String &value)
CreateGuardrailRequest & WithContentPolicyConfig(const GuardrailContentPolicyConfig &value)
bool NameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetName(Aws::String &&value)
bool DescriptionHasBeenSet() const
void SetBlockedOutputsMessaging(Aws::String &&value)
const GuardrailSensitiveInformationPolicyConfig & GetSensitiveInformationPolicyConfig() const
void SetDescription(const char *value)
bool SensitiveInformationPolicyConfigHasBeenSet() const
CreateGuardrailRequest & WithSensitiveInformationPolicyConfig(const GuardrailSensitiveInformationPolicyConfig &value)
CreateGuardrailRequest & WithTopicPolicyConfig(const GuardrailTopicPolicyConfig &value)
void SetWordPolicyConfig(const GuardrailWordPolicyConfig &value)
CreateGuardrailRequest & WithTopicPolicyConfig(GuardrailTopicPolicyConfig &&value)
void SetBlockedInputMessaging(const Aws::String &value)
CreateGuardrailRequest & WithContentPolicyConfig(GuardrailContentPolicyConfig &&value)
CreateGuardrailRequest & WithContextualGroundingPolicyConfig(const GuardrailContextualGroundingPolicyConfig &value)
const Aws::String & GetBlockedInputMessaging() const
const Aws::String & GetClientRequestToken() const
bool KmsKeyIdHasBeenSet() const
const GuardrailTopicPolicyConfig & GetTopicPolicyConfig() const
void SetName(const char *value)
void SetTopicPolicyConfig(GuardrailTopicPolicyConfig &&value)
CreateGuardrailRequest & WithKmsKeyId(const char *value)
CreateGuardrailRequest & WithBlockedOutputsMessaging(Aws::String &&value)
const Aws::String & GetBlockedOutputsMessaging() const
bool BlockedInputMessagingHasBeenSet() const
void SetBlockedOutputsMessaging(const Aws::String &value)
void SetDescription(const Aws::String &value)
CreateGuardrailRequest & WithContextualGroundingPolicyConfig(GuardrailContextualGroundingPolicyConfig &&value)
bool BlockedOutputsMessagingHasBeenSet() const
CreateGuardrailRequest & WithDescription(const char *value)
const Aws::String & GetName() const
bool TagsHasBeenSet() const
CreateGuardrailRequest & WithBlockedInputMessaging(Aws::String &&value)
CreateGuardrailRequest & WithName(Aws::String &&value)
void SetWordPolicyConfig(GuardrailWordPolicyConfig &&value)
CreateGuardrailRequest & WithSensitiveInformationPolicyConfig(GuardrailSensitiveInformationPolicyConfig &&value)
AWS_BEDROCK_API Aws::String SerializePayload() const override
const GuardrailContentPolicyConfig & GetContentPolicyConfig() const
void SetContentPolicyConfig(GuardrailContentPolicyConfig &&value)
CreateGuardrailRequest & WithTags(const Aws::Vector< Tag > &value)
CreateGuardrailRequest & WithTags(Aws::Vector< Tag > &&value)
void SetSensitiveInformationPolicyConfig(GuardrailSensitiveInformationPolicyConfig &&value)
void SetBlockedOutputsMessaging(const char *value)
CreateGuardrailRequest & WithClientRequestToken(Aws::String &&value)
CreateGuardrailRequest & WithKmsKeyId(Aws::String &&value)
const Aws::String & GetKmsKeyId() const
bool TopicPolicyConfigHasBeenSet() const
bool WordPolicyConfigHasBeenSet() const
CreateGuardrailRequest & WithBlockedInputMessaging(const char *value)
CreateGuardrailRequest & WithName(const Aws::String &value)
CreateGuardrailRequest & WithName(const char *value)
CreateGuardrailRequest & AddTags(const Tag &value)
void SetClientRequestToken(const char *value)
void SetBlockedInputMessaging(const char *value)
bool ContextualGroundingPolicyConfigHasBeenSet() const
bool ContentPolicyConfigHasBeenSet() const
void SetKmsKeyId(const char *value)
void SetSensitiveInformationPolicyConfig(const GuardrailSensitiveInformationPolicyConfig &value)
CreateGuardrailRequest & WithDescription(const Aws::String &value)
AWS_BEDROCK_API CreateGuardrailRequest()
CreateGuardrailRequest & WithClientRequestToken(const char *value)
const Aws::String & GetDescription() const
CreateGuardrailRequest & WithWordPolicyConfig(GuardrailWordPolicyConfig &&value)
CreateGuardrailRequest & WithWordPolicyConfig(const GuardrailWordPolicyConfig &value)
const Aws::Vector< Tag > & GetTags() const
void SetContextualGroundingPolicyConfig(GuardrailContextualGroundingPolicyConfig &&value)
void SetClientRequestToken(const Aws::String &value)
CreateGuardrailRequest & WithClientRequestToken(const Aws::String &value)
void SetTopicPolicyConfig(const GuardrailTopicPolicyConfig &value)
CreateGuardrailRequest & AddTags(Tag &&value)
void SetKmsKeyId(const Aws::String &value)
void SetContextualGroundingPolicyConfig(const GuardrailContextualGroundingPolicyConfig &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetClientRequestToken(Aws::String &&value)
CreateGuardrailRequest & WithDescription(Aws::String &&value)
CreateGuardrailRequest & WithBlockedInputMessaging(const Aws::String &value)
void SetBlockedInputMessaging(Aws::String &&value)
CreateGuardrailRequest & WithBlockedOutputsMessaging(const char *value)
void SetContentPolicyConfig(const GuardrailContentPolicyConfig &value)
const GuardrailWordPolicyConfig & GetWordPolicyConfig() const
void SetKmsKeyId(Aws::String &&value)
const GuardrailContextualGroundingPolicyConfig & GetContextualGroundingPolicyConfig() const
CreateGuardrailRequest & WithKmsKeyId(const Aws::String &value)
void SetDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector