7#include <aws/bedrock-agent/BedrockAgentRequest.h>
8#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
9#include <aws/bedrock-agent/model/AgentAliasRoutingConfigurationListItem.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>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18namespace BedrockAgent {
41 template <
typename AgentIdT = Aws::String>
43 m_agentIdHasBeenSet =
true;
44 m_agentId = std::forward<AgentIdT>(value);
46 template <
typename AgentIdT = Aws::String>
59 template <
typename AgentAliasNameT = Aws::String>
61 m_agentAliasNameHasBeenSet =
true;
62 m_agentAliasName = std::forward<AgentAliasNameT>(value);
64 template <
typename AgentAliasNameT = Aws::String>
81 template <
typename ClientTokenT = Aws::String>
83 m_clientTokenHasBeenSet =
true;
84 m_clientToken = std::forward<ClientTokenT>(value);
86 template <
typename ClientTokenT = Aws::String>
99 template <
typename DescriptionT = Aws::String>
101 m_descriptionHasBeenSet =
true;
102 m_description = std::forward<DescriptionT>(value);
104 template <
typename DescriptionT = Aws::String>
117 template <
typename RoutingConfigurationT = Aws::Vector<AgentAliasRoutingConfigurationListItem>>
119 m_routingConfigurationHasBeenSet =
true;
120 m_routingConfiguration = std::forward<RoutingConfigurationT>(value);
122 template <
typename RoutingConfigurationT = Aws::Vector<AgentAliasRoutingConfigurationListItem>>
127 template <
typename RoutingConfigurationT = AgentAliasRoutingConfigurationListItem>
129 m_routingConfigurationHasBeenSet =
true;
130 m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value));
141 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 m_tagsHasBeenSet =
true;
144 m_tags = std::forward<TagsT>(value);
146 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
148 SetTags(std::forward<TagsT>(value));
151 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
153 m_tagsHasBeenSet =
true;
154 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
170 bool m_agentIdHasBeenSet =
false;
171 bool m_agentAliasNameHasBeenSet =
false;
172 bool m_clientTokenHasBeenSet =
true;
173 bool m_descriptionHasBeenSet =
false;
174 bool m_routingConfigurationHasBeenSet =
false;
175 bool m_tagsHasBeenSet =
false;
void SetClientToken(ClientTokenT &&value)
void SetAgentAliasName(AgentAliasNameT &&value)
bool AgentAliasNameHasBeenSet() const
const Aws::String & GetClientToken() const
CreateAgentAliasRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetDescription() const
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
bool TagsHasBeenSet() const
CreateAgentAliasRequest & WithRoutingConfiguration(RoutingConfigurationT &&value)
CreateAgentAliasRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool ClientTokenHasBeenSet() const
CreateAgentAliasRequest & AddRoutingConfiguration(RoutingConfigurationT &&value)
const Aws::String & GetAgentId() const
CreateAgentAliasRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAgentAliasName() const
void SetDescription(DescriptionT &&value)
void SetTags(TagsT &&value)
bool DescriptionHasBeenSet() const
bool AgentIdHasBeenSet() const
CreateAgentAliasRequest & WithDescription(DescriptionT &&value)
void SetAgentId(AgentIdT &&value)
const Aws::Vector< AgentAliasRoutingConfigurationListItem > & GetRoutingConfiguration() const
CreateAgentAliasRequest & WithAgentAliasName(AgentAliasNameT &&value)
void SetRoutingConfiguration(RoutingConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_BEDROCKAGENT_API CreateAgentAliasRequest()=default
bool RoutingConfigurationHasBeenSet() const
CreateAgentAliasRequest & WithAgentId(AgentIdT &&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
std::vector< T, Aws::Allocator< T > > Vector