7#include <aws/bedrock-agent/BedrockAgentRequest.h>
8#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
9#include <aws/bedrock-agent/model/FlowDefinition.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 {
40 template <
typename NameT = Aws::String>
42 m_nameHasBeenSet =
true;
43 m_name = std::forward<NameT>(value);
45 template <
typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
58 template <
typename DescriptionT = Aws::String>
60 m_descriptionHasBeenSet =
true;
61 m_description = std::forward<DescriptionT>(value);
63 template <
typename DescriptionT = Aws::String>
80 template <
typename ExecutionRoleArnT = Aws::String>
82 m_executionRoleArnHasBeenSet =
true;
83 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
85 template <
typename ExecutionRoleArnT = Aws::String>
98 template <
typename CustomerEncryptionKeyArnT = Aws::String>
100 m_customerEncryptionKeyArnHasBeenSet =
true;
101 m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value);
103 template <
typename CustomerEncryptionKeyArnT = Aws::String>
116 template <
typename DefinitionT = FlowDefinition>
118 m_definitionHasBeenSet =
true;
119 m_definition = std::forward<DefinitionT>(value);
121 template <
typename DefinitionT = FlowDefinition>
138 template <
typename ClientTokenT = Aws::String>
140 m_clientTokenHasBeenSet =
true;
141 m_clientToken = std::forward<ClientTokenT>(value);
143 template <
typename ClientTokenT = Aws::String>
158 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
160 m_tagsHasBeenSet =
true;
161 m_tags = std::forward<TagsT>(value);
163 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
165 SetTags(std::forward<TagsT>(value));
168 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
170 m_tagsHasBeenSet =
true;
171 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
189 bool m_nameHasBeenSet =
false;
190 bool m_descriptionHasBeenSet =
false;
191 bool m_executionRoleArnHasBeenSet =
false;
192 bool m_customerEncryptionKeyArnHasBeenSet =
false;
193 bool m_definitionHasBeenSet =
false;
194 bool m_clientTokenHasBeenSet =
true;
195 bool m_tagsHasBeenSet =
false;
bool CustomerEncryptionKeyArnHasBeenSet() const
void SetTags(TagsT &&value)
void SetDefinition(DefinitionT &&value)
CreateFlowRequest & WithDefinition(DefinitionT &&value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
bool ExecutionRoleArnHasBeenSet() const
const Aws::String & GetExecutionRoleArn() const
bool DescriptionHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateFlowRequest & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
const Aws::String & GetName() const
const FlowDefinition & GetDefinition() const
CreateFlowRequest & WithName(NameT &&value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
bool DefinitionHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TagsHasBeenSet() const
const Aws::String & GetDescription() const
CreateFlowRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
CreateFlowRequest & WithTags(TagsT &&value)
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetCustomerEncryptionKeyArn() const
CreateFlowRequest & WithDescription(DescriptionT &&value)
CreateFlowRequest & WithClientToken(ClientTokenT &&value)
void SetClientToken(ClientTokenT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetClientToken() const
CreateFlowRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetName(NameT &&value)
bool NameHasBeenSet() const
AWS_BEDROCKAGENT_API CreateFlowRequest()=default
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