7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/AgentAliasHistoryEvent.h>
9#include <aws/bedrock-agent/model/AgentAliasRoutingConfigurationListItem.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/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
25namespace BedrockAgent {
46 template <
typename AgentIdT = Aws::String>
48 m_agentIdHasBeenSet =
true;
49 m_agentId = std::forward<AgentIdT>(value);
51 template <
typename AgentIdT = Aws::String>
64 template <
typename AgentAliasIdT = Aws::String>
66 m_agentAliasIdHasBeenSet =
true;
67 m_agentAliasId = std::forward<AgentAliasIdT>(value);
69 template <
typename AgentAliasIdT = Aws::String>
82 template <
typename AgentAliasNameT = Aws::String>
84 m_agentAliasNameHasBeenSet =
true;
85 m_agentAliasName = std::forward<AgentAliasNameT>(value);
87 template <
typename AgentAliasNameT = Aws::String>
100 template <
typename AgentAliasArnT = Aws::String>
102 m_agentAliasArnHasBeenSet =
true;
103 m_agentAliasArn = std::forward<AgentAliasArnT>(value);
105 template <
typename AgentAliasArnT = Aws::String>
122 template <
typename ClientTokenT = Aws::String>
124 m_clientTokenHasBeenSet =
true;
125 m_clientToken = std::forward<ClientTokenT>(value);
127 template <
typename ClientTokenT = Aws::String>
140 template <
typename DescriptionT = Aws::String>
142 m_descriptionHasBeenSet =
true;
143 m_description = std::forward<DescriptionT>(value);
145 template <
typename DescriptionT = Aws::String>
158 template <
typename RoutingConfigurationT = Aws::Vector<AgentAliasRoutingConfigurationListItem>>
160 m_routingConfigurationHasBeenSet =
true;
161 m_routingConfiguration = std::forward<RoutingConfigurationT>(value);
163 template <
typename RoutingConfigurationT = Aws::Vector<AgentAliasRoutingConfigurationListItem>>
168 template <
typename RoutingConfigurationT = AgentAliasRoutingConfigurationListItem>
170 m_routingConfigurationHasBeenSet =
true;
171 m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value));
182 template <
typename CreatedAtT = Aws::Utils::DateTime>
184 m_createdAtHasBeenSet =
true;
185 m_createdAt = std::forward<CreatedAtT>(value);
187 template <
typename CreatedAtT = Aws::Utils::DateTime>
200 template <
typename UpdatedAtT = Aws::Utils::DateTime>
202 m_updatedAtHasBeenSet =
true;
203 m_updatedAt = std::forward<UpdatedAtT>(value);
205 template <
typename UpdatedAtT = Aws::Utils::DateTime>
218 template <
typename AgentAliasHistoryEventsT = Aws::Vector<AgentAliasHistoryEvent>>
220 m_agentAliasHistoryEventsHasBeenSet =
true;
221 m_agentAliasHistoryEvents = std::forward<AgentAliasHistoryEventsT>(value);
223 template <
typename AgentAliasHistoryEventsT = Aws::Vector<AgentAliasHistoryEvent>>
228 template <
typename AgentAliasHistoryEventsT = AgentAliasHistoryEvent>
230 m_agentAliasHistoryEventsHasBeenSet =
true;
231 m_agentAliasHistoryEvents.emplace_back(std::forward<AgentAliasHistoryEventsT>(value));
250 m_agentAliasStatusHasBeenSet =
true;
251 m_agentAliasStatus = value;
266 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
268 m_failureReasonsHasBeenSet =
true;
269 m_failureReasons = std::forward<FailureReasonsT>(value);
271 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
276 template <
typename FailureReasonsT = Aws::String>
278 m_failureReasonsHasBeenSet =
true;
279 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
294 m_aliasInvocationStateHasBeenSet =
true;
295 m_aliasInvocationState = value;
328 bool m_agentIdHasBeenSet =
false;
329 bool m_agentAliasIdHasBeenSet =
false;
330 bool m_agentAliasNameHasBeenSet =
false;
331 bool m_agentAliasArnHasBeenSet =
false;
332 bool m_clientTokenHasBeenSet =
false;
333 bool m_descriptionHasBeenSet =
false;
334 bool m_routingConfigurationHasBeenSet =
false;
335 bool m_createdAtHasBeenSet =
false;
336 bool m_updatedAtHasBeenSet =
false;
337 bool m_agentAliasHistoryEventsHasBeenSet =
false;
338 bool m_agentAliasStatusHasBeenSet =
false;
339 bool m_failureReasonsHasBeenSet =
false;
340 bool m_aliasInvocationStateHasBeenSet =
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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue