7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/BedrockAgentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/bedrock-agent/model/PromptVariant.h>
14#include <aws/core/utils/UUID.h>
51 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
65 inline void SetCustomerEncryptionKeyArn(
const char* value) { m_customerEncryptionKeyArnHasBeenSet =
true; m_customerEncryptionKeyArn.assign(value); }
82 inline void SetDefaultVariant(
const char* value) { m_defaultVariantHasBeenSet =
true; m_defaultVariant.assign(value); }
96 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
110 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
134 inline CreatePromptRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
153 bool m_clientTokenHasBeenSet =
false;
156 bool m_customerEncryptionKeyArnHasBeenSet =
false;
159 bool m_defaultVariantHasBeenSet =
false;
162 bool m_descriptionHasBeenSet =
false;
165 bool m_nameHasBeenSet =
false;
168 bool m_tagsHasBeenSet =
false;
171 bool m_variantsHasBeenSet =
false;
void SetDefaultVariant(Aws::String &&value)
void SetName(Aws::String &&value)
void SetCustomerEncryptionKeyArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreatePromptRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreatePromptRequest & AddVariants(PromptVariant &&value)
const Aws::String & GetDescription() const
void SetName(const char *value)
CreatePromptRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreatePromptRequest & WithCustomerEncryptionKeyArn(const Aws::String &value)
CreatePromptRequest & WithDefaultVariant(const char *value)
void SetName(const Aws::String &value)
bool ClientTokenHasBeenSet() const
CreatePromptRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePromptRequest & WithVariants(Aws::Vector< PromptVariant > &&value)
void SetDefaultVariant(const Aws::String &value)
CreatePromptRequest & WithDescription(Aws::String &&value)
CreatePromptRequest & WithName(const char *value)
void SetClientToken(const char *value)
CreatePromptRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetVariants(const Aws::Vector< PromptVariant > &value)
const Aws::String & GetDefaultVariant() const
bool DefaultVariantHasBeenSet() const
CreatePromptRequest & AddTags(Aws::String &&key, const char *value)
CreatePromptRequest & WithVariants(const Aws::Vector< PromptVariant > &value)
const Aws::Vector< PromptVariant > & GetVariants() const
const Aws::String & GetCustomerEncryptionKeyArn() const
CreatePromptRequest & AddTags(const char *key, const char *value)
const Aws::String & GetName() const
AWS_BEDROCKAGENT_API CreatePromptRequest()
bool TagsHasBeenSet() const
CreatePromptRequest & WithName(Aws::String &&value)
CreatePromptRequest & WithDefaultVariant(Aws::String &&value)
CreatePromptRequest & WithDescription(const char *value)
CreatePromptRequest & WithCustomerEncryptionKeyArn(const char *value)
CreatePromptRequest & AddTags(Aws::String &&key, Aws::String &&value)
bool NameHasBeenSet() const
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
void SetClientToken(Aws::String &&value)
CreatePromptRequest & AddVariants(const PromptVariant &value)
CreatePromptRequest & WithCustomerEncryptionKeyArn(Aws::String &&value)
CreatePromptRequest & WithDefaultVariant(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetVariants(Aws::Vector< PromptVariant > &&value)
void SetClientToken(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePromptRequest & AddTags(const char *key, Aws::String &&value)
CreatePromptRequest & WithName(const Aws::String &value)
CreatePromptRequest & WithDescription(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDescription(Aws::String &&value)
void SetDefaultVariant(const char *value)
CreatePromptRequest & WithClientToken(const Aws::String &value)
bool VariantsHasBeenSet() const
void SetCustomerEncryptionKeyArn(Aws::String &&value)
void SetDescription(const char *value)
const Aws::String & GetClientToken() const
void SetCustomerEncryptionKeyArn(const char *value)
void SetDescription(const Aws::String &value)
CreatePromptRequest & AddTags(Aws::String &&key, const Aws::String &value)
bool DescriptionHasBeenSet() const
CreatePromptRequest & WithClientToken(Aws::String &&value)
CreatePromptRequest & WithClientToken(const char *value)
bool CustomerEncryptionKeyArnHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector