7#include <aws/bedrock-agent/BedrockAgentRequest.h>
8#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
9#include <aws/bedrock-agent/model/RetrievalInstructionContent.h>
10#include <aws/core/utils/UUID.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17namespace BedrockAgent {
41 template <
typename ClientTokenT = Aws::String>
43 m_clientTokenHasBeenSet =
true;
44 m_clientToken = std::forward<ClientTokenT>(value);
46 template <
typename ClientTokenT = Aws::String>
59 template <
typename NameT = Aws::String>
61 m_nameHasBeenSet =
true;
62 m_name = std::forward<NameT>(value);
64 template <
typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
78 template <
typename InstructionT = RetrievalInstructionContent>
80 m_instructionHasBeenSet =
true;
81 m_instruction = std::forward<InstructionT>(value);
83 template <
typename InstructionT = RetrievalInstructionContent>
96 template <
typename DescriptionT = Aws::String>
98 m_descriptionHasBeenSet =
true;
99 m_description = std::forward<DescriptionT>(value);
101 template <
typename DescriptionT = Aws::String>
117 template <
typename CustomerEncryptionKeyArnT = Aws::String>
119 m_customerEncryptionKeyArnHasBeenSet =
true;
120 m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value);
122 template <
typename CustomerEncryptionKeyArnT = Aws::String>
135 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
137 m_tagsHasBeenSet =
true;
138 m_tags = std::forward<TagsT>(value);
140 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
142 SetTags(std::forward<TagsT>(value));
145 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
147 m_tagsHasBeenSet =
true;
148 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
157 RetrievalInstructionContent m_instruction;
164 bool m_clientTokenHasBeenSet =
true;
165 bool m_nameHasBeenSet =
false;
166 bool m_instructionHasBeenSet =
false;
167 bool m_descriptionHasBeenSet =
false;
168 bool m_customerEncryptionKeyArnHasBeenSet =
false;
169 bool m_tagsHasBeenSet =
false;
bool DescriptionHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::String & GetDescription() const
virtual const char * GetServiceRequestName() const override
const RetrievalInstructionContent & GetInstruction() const
CreateRetrievalInstructionRequest & WithClientToken(ClientTokenT &&value)
bool InstructionHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
CreateRetrievalInstructionRequest & WithInstruction(InstructionT &&value)
bool CustomerEncryptionKeyArnHasBeenSet() const
bool NameHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
void SetTags(TagsT &&value)
CreateRetrievalInstructionRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetCustomerEncryptionKeyArn() const
CreateRetrievalInstructionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_BEDROCKAGENT_API CreateRetrievalInstructionRequest()=default
void SetName(NameT &&value)
CreateRetrievalInstructionRequest & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
bool ClientTokenHasBeenSet() const
CreateRetrievalInstructionRequest & WithTags(TagsT &&value)
const Aws::String & GetName() const
const Aws::String & GetClientToken() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
void SetInstruction(InstructionT &&value)
CreateRetrievalInstructionRequest & WithName(NameT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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