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/bedrock-agent/model/FlowDefinition.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/UUID.h>
48 template<
typename ClientTokenT = Aws::String>
49 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
50 template<
typename ClientTokenT = Aws::String>
60 template<
typename CustomerEncryptionKeyArnT = Aws::String>
61 void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { m_customerEncryptionKeyArnHasBeenSet =
true; m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value); }
62 template<
typename CustomerEncryptionKeyArnT = Aws::String>
72 template<
typename DefinitionT = FlowDefinition>
73 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet =
true; m_definition = std::forward<DefinitionT>(value); }
74 template<
typename DefinitionT = FlowDefinition>
84 template<
typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
86 template<
typename DescriptionT = Aws::String>
100 template<
typename ExecutionRoleArnT = Aws::String>
101 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
102 template<
typename ExecutionRoleArnT = Aws::String>
112 template<
typename NameT = Aws::String>
113 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
114 template<
typename NameT = Aws::String>
126 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
127 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
128 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
130 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
132 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
138 bool m_clientTokenHasBeenSet =
true;
141 bool m_customerEncryptionKeyArnHasBeenSet =
false;
143 FlowDefinition m_definition;
144 bool m_definitionHasBeenSet =
false;
147 bool m_descriptionHasBeenSet =
false;
150 bool m_executionRoleArnHasBeenSet =
false;
153 bool m_nameHasBeenSet =
false;
156 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