7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock-agent/model/AgentAliasStatus.h>
11#include <aws/bedrock-agent/model/AliasInvocationState.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/bedrock-agent/model/AgentAliasHistoryEvent.h>
14#include <aws/bedrock-agent/model/AgentAliasRoutingConfigurationListItem.h>
52 template<
typename AgentAliasArnT = Aws::String>
53 void SetAgentAliasArn(AgentAliasArnT&& value) { m_agentAliasArnHasBeenSet =
true; m_agentAliasArn = std::forward<AgentAliasArnT>(value); }
54 template<
typename AgentAliasArnT = Aws::String>
64 template<
typename AgentAliasHistoryEventsT = Aws::Vector<AgentAliasHistoryEvent>>
65 void SetAgentAliasHistoryEvents(AgentAliasHistoryEventsT&& value) { m_agentAliasHistoryEventsHasBeenSet =
true; m_agentAliasHistoryEvents = std::forward<AgentAliasHistoryEventsT>(value); }
66 template<
typename AgentAliasHistoryEventsT = Aws::Vector<AgentAliasHistoryEvent>>
68 template<
typename AgentAliasHistoryEventsT = AgentAliasHistoryEvent>
69 AgentAlias&
AddAgentAliasHistoryEvents(AgentAliasHistoryEventsT&& value) { m_agentAliasHistoryEventsHasBeenSet =
true; m_agentAliasHistoryEvents.emplace_back(std::forward<AgentAliasHistoryEventsT>(value));
return *
this; }
78 template<
typename AgentAliasIdT = Aws::String>
79 void SetAgentAliasId(AgentAliasIdT&& value) { m_agentAliasIdHasBeenSet =
true; m_agentAliasId = std::forward<AgentAliasIdT>(value); }
80 template<
typename AgentAliasIdT = Aws::String>
90 template<
typename AgentAliasNameT = Aws::String>
91 void SetAgentAliasName(AgentAliasNameT&& value) { m_agentAliasNameHasBeenSet =
true; m_agentAliasName = std::forward<AgentAliasNameT>(value); }
92 template<
typename AgentAliasNameT = Aws::String>
119 template<
typename AgentIdT = Aws::String>
120 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet =
true; m_agentId = std::forward<AgentIdT>(value); }
121 template<
typename AgentIdT = Aws::String>
148 template<
typename ClientTokenT = Aws::String>
149 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
150 template<
typename ClientTokenT = Aws::String>
160 template<
typename CreatedAtT = Aws::Utils::DateTime>
161 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
162 template<
typename CreatedAtT = Aws::Utils::DateTime>
172 template<
typename DescriptionT = Aws::String>
173 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
174 template<
typename DescriptionT = Aws::String>
185 template<
typename FailureReasonsT = Aws::Vector<Aws::String>>
186 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet =
true; m_failureReasons = std::forward<FailureReasonsT>(value); }
187 template<
typename FailureReasonsT = Aws::Vector<Aws::String>>
189 template<
typename FailureReasonsT = Aws::String>
190 AgentAlias&
AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet =
true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
return *
this; }
199 template<
typename RoutingConfigurationT = Aws::Vector<AgentAliasRoutingConfigurationListItem>>
200 void SetRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet =
true; m_routingConfiguration = std::forward<RoutingConfigurationT>(value); }
201 template<
typename RoutingConfigurationT = Aws::Vector<AgentAliasRoutingConfigurationListItem>>
203 template<
typename RoutingConfigurationT = AgentAliasRoutingConfigurationListItem>
204 AgentAlias&
AddRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet =
true; m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value));
return *
this; }
213 template<
typename UpdatedAtT = Aws::Utils::DateTime>
214 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
215 template<
typename UpdatedAtT = Aws::Utils::DateTime>
221 bool m_agentAliasArnHasBeenSet =
false;
224 bool m_agentAliasHistoryEventsHasBeenSet =
false;
227 bool m_agentAliasIdHasBeenSet =
false;
230 bool m_agentAliasNameHasBeenSet =
false;
233 bool m_agentAliasStatusHasBeenSet =
false;
236 bool m_agentIdHasBeenSet =
false;
239 bool m_aliasInvocationStateHasBeenSet =
false;
242 bool m_clientTokenHasBeenSet =
false;
245 bool m_createdAtHasBeenSet =
false;
248 bool m_descriptionHasBeenSet =
false;
251 bool m_failureReasonsHasBeenSet =
false;
254 bool m_routingConfigurationHasBeenSet =
false;
257 bool m_updatedAtHasBeenSet =
false;
AgentAlias & WithClientToken(ClientTokenT &&value)
void SetAgentAliasName(AgentAliasNameT &&value)
AgentAlias & WithRoutingConfiguration(RoutingConfigurationT &&value)
const Aws::Vector< AgentAliasRoutingConfigurationListItem > & GetRoutingConfiguration() const
AgentAliasStatus GetAgentAliasStatus() const
AgentAlias & WithAgentAliasArn(AgentAliasArnT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
AgentAlias & WithCreatedAt(CreatedAtT &&value)
AgentAlias & AddRoutingConfiguration(RoutingConfigurationT &&value)
void SetAgentAliasHistoryEvents(AgentAliasHistoryEventsT &&value)
bool AliasInvocationStateHasBeenSet() const
AgentAlias & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetAgentAliasName() const
AgentAlias & WithFailureReasons(FailureReasonsT &&value)
const Aws::String & GetDescription() const
bool AgentAliasArnHasBeenSet() const
AWS_BEDROCKAGENT_API AgentAlias()=default
const Aws::Utils::DateTime & GetCreatedAt() const
void SetClientToken(ClientTokenT &&value)
bool AgentAliasHistoryEventsHasBeenSet() const
AgentAlias & WithDescription(DescriptionT &&value)
bool AgentIdHasBeenSet() const
void SetAgentId(AgentIdT &&value)
bool DescriptionHasBeenSet() const
bool AgentAliasIdHasBeenSet() const
AgentAlias & AddFailureReasons(FailureReasonsT &&value)
bool AgentAliasNameHasBeenSet() const
bool RoutingConfigurationHasBeenSet() const
bool CreatedAtHasBeenSet() const
AgentAlias & WithAgentId(AgentIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
AliasInvocationState GetAliasInvocationState() const
bool AgentAliasStatusHasBeenSet() const
const Aws::String & GetAgentId() const
const Aws::String & GetAgentAliasArn() const
void SetAliasInvocationState(AliasInvocationState value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
AgentAlias & WithAgentAliasHistoryEvents(AgentAliasHistoryEventsT &&value)
void SetAgentAliasId(AgentAliasIdT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetClientToken() const
AgentAlias & WithAgentAliasId(AgentAliasIdT &&value)
AgentAlias & WithAgentAliasStatus(AgentAliasStatus value)
bool ClientTokenHasBeenSet() const
void SetRoutingConfiguration(RoutingConfigurationT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool UpdatedAtHasBeenSet() const
void SetAgentAliasArn(AgentAliasArnT &&value)
AgentAlias & AddAgentAliasHistoryEvents(AgentAliasHistoryEventsT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< AgentAliasHistoryEvent > & GetAgentAliasHistoryEvents() const
const Aws::String & GetAgentAliasId() const
void SetFailureReasons(FailureReasonsT &&value)
void SetAgentAliasStatus(AgentAliasStatus value)
AWS_BEDROCKAGENT_API AgentAlias(Aws::Utils::Json::JsonView jsonValue)
AgentAlias & WithAliasInvocationState(AliasInvocationState value)
AWS_BEDROCKAGENT_API AgentAlias & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentAlias & WithAgentAliasName(AgentAliasNameT &&value)
bool FailureReasonsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue