7#include <aws/bedrock-agent/BedrockAgentRequest.h>
8#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
9#include <aws/bedrock-agent/model/FlowAliasConcurrencyConfiguration.h>
10#include <aws/bedrock-agent/model/FlowAliasRoutingConfigurationListItem.h>
11#include <aws/core/utils/UUID.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
19namespace BedrockAgent {
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename DescriptionT = Aws::String>
62 m_descriptionHasBeenSet =
true;
63 m_description = std::forward<DescriptionT>(value);
65 template <
typename DescriptionT = Aws::String>
78 template <
typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
80 m_routingConfigurationHasBeenSet =
true;
81 m_routingConfiguration = std::forward<RoutingConfigurationT>(value);
83 template <
typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
88 template <
typename RoutingConfigurationT = FlowAliasRoutingConfigurationListItem>
90 m_routingConfigurationHasBeenSet =
true;
91 m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value));
103 template <
typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
105 m_concurrencyConfigurationHasBeenSet =
true;
106 m_concurrencyConfiguration = std::forward<ConcurrencyConfigurationT>(value);
108 template <
typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
121 template <
typename FlowIdentifierT = Aws::String>
123 m_flowIdentifierHasBeenSet =
true;
124 m_flowIdentifier = std::forward<FlowIdentifierT>(value);
126 template <
typename FlowIdentifierT = Aws::String>
143 template <
typename ClientTokenT = Aws::String>
145 m_clientTokenHasBeenSet =
true;
146 m_clientToken = std::forward<ClientTokenT>(value);
148 template <
typename ClientTokenT = Aws::String>
164 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
166 m_tagsHasBeenSet =
true;
167 m_tags = std::forward<TagsT>(value);
169 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
171 SetTags(std::forward<TagsT>(value));
174 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
176 m_tagsHasBeenSet =
true;
177 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
195 bool m_nameHasBeenSet =
false;
196 bool m_descriptionHasBeenSet =
false;
197 bool m_routingConfigurationHasBeenSet =
false;
198 bool m_concurrencyConfigurationHasBeenSet =
false;
199 bool m_flowIdentifierHasBeenSet =
false;
200 bool m_clientTokenHasBeenSet =
true;
201 bool m_tagsHasBeenSet =
false;
void SetClientToken(ClientTokenT &&value)
bool ClientTokenHasBeenSet() const
bool FlowIdentifierHasBeenSet() const
bool RoutingConfigurationHasBeenSet() const
void SetRoutingConfiguration(RoutingConfigurationT &&value)
const Aws::String & GetName() const
CreateFlowAliasRequest & WithName(NameT &&value)
void SetName(NameT &&value)
CreateFlowAliasRequest & AddRoutingConfiguration(RoutingConfigurationT &&value)
void SetTags(TagsT &&value)
CreateFlowAliasRequest & WithTags(TagsT &&value)
AWS_BEDROCKAGENT_API CreateFlowAliasRequest()=default
CreateFlowAliasRequest & WithConcurrencyConfiguration(ConcurrencyConfigurationT &&value)
const Aws::String & GetFlowIdentifier() const
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
CreateFlowAliasRequest & WithClientToken(ClientTokenT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetClientToken() const
CreateFlowAliasRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< FlowAliasRoutingConfigurationListItem > & GetRoutingConfiguration() const
bool NameHasBeenSet() const
CreateFlowAliasRequest & WithRoutingConfiguration(RoutingConfigurationT &&value)
CreateFlowAliasRequest & WithFlowIdentifier(FlowIdentifierT &&value)
CreateFlowAliasRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetConcurrencyConfiguration(ConcurrencyConfigurationT &&value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
bool ConcurrencyConfigurationHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetFlowIdentifier(FlowIdentifierT &&value)
bool TagsHasBeenSet() const
const FlowAliasConcurrencyConfiguration & GetConcurrencyConfiguration() const
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
std::vector< T, Aws::Allocator< T > > Vector