AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AgentAliasSummary.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/AgentAliasStatus.h>
10#include <aws/bedrock-agent/model/AliasInvocationState.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/bedrock-agent/model/AgentAliasRoutingConfigurationListItem.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace BedrockAgent
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_BEDROCKAGENT_API AgentAliasSummary() = default;
40 AWS_BEDROCKAGENT_API AgentAliasSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENT_API AgentAliasSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetAgentAliasId() const { return m_agentAliasId; }
50 inline bool AgentAliasIdHasBeenSet() const { return m_agentAliasIdHasBeenSet; }
51 template<typename AgentAliasIdT = Aws::String>
52 void SetAgentAliasId(AgentAliasIdT&& value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId = std::forward<AgentAliasIdT>(value); }
53 template<typename AgentAliasIdT = Aws::String>
54 AgentAliasSummary& WithAgentAliasId(AgentAliasIdT&& value) { SetAgentAliasId(std::forward<AgentAliasIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetAgentAliasName() const { return m_agentAliasName; }
62 inline bool AgentAliasNameHasBeenSet() const { return m_agentAliasNameHasBeenSet; }
63 template<typename AgentAliasNameT = Aws::String>
64 void SetAgentAliasName(AgentAliasNameT&& value) { m_agentAliasNameHasBeenSet = true; m_agentAliasName = std::forward<AgentAliasNameT>(value); }
65 template<typename AgentAliasNameT = Aws::String>
66 AgentAliasSummary& WithAgentAliasName(AgentAliasNameT&& value) { SetAgentAliasName(std::forward<AgentAliasNameT>(value)); return *this;}
68
70
73 inline AgentAliasStatus GetAgentAliasStatus() const { return m_agentAliasStatus; }
74 inline bool AgentAliasStatusHasBeenSet() const { return m_agentAliasStatusHasBeenSet; }
75 inline void SetAgentAliasStatus(AgentAliasStatus value) { m_agentAliasStatusHasBeenSet = true; m_agentAliasStatus = value; }
78
80
86 inline AliasInvocationState GetAliasInvocationState() const { return m_aliasInvocationState; }
87 inline bool AliasInvocationStateHasBeenSet() const { return m_aliasInvocationStateHasBeenSet; }
88 inline void SetAliasInvocationState(AliasInvocationState value) { m_aliasInvocationStateHasBeenSet = true; m_aliasInvocationState = value; }
91
93
96 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
97 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
98 template<typename CreatedAtT = Aws::Utils::DateTime>
99 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
100 template<typename CreatedAtT = Aws::Utils::DateTime>
101 AgentAliasSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
103
105
108 inline const Aws::String& GetDescription() const { return m_description; }
109 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
110 template<typename DescriptionT = Aws::String>
111 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
112 template<typename DescriptionT = Aws::String>
113 AgentAliasSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
115
117
121 inline const Aws::Vector<AgentAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const { return m_routingConfiguration; }
122 inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; }
123 template<typename RoutingConfigurationT = Aws::Vector<AgentAliasRoutingConfigurationListItem>>
124 void SetRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::forward<RoutingConfigurationT>(value); }
125 template<typename RoutingConfigurationT = Aws::Vector<AgentAliasRoutingConfigurationListItem>>
126 AgentAliasSummary& WithRoutingConfiguration(RoutingConfigurationT&& value) { SetRoutingConfiguration(std::forward<RoutingConfigurationT>(value)); return *this;}
127 template<typename RoutingConfigurationT = AgentAliasRoutingConfigurationListItem>
128 AgentAliasSummary& AddRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value)); return *this; }
130
132
135 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
136 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
137 template<typename UpdatedAtT = Aws::Utils::DateTime>
138 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
139 template<typename UpdatedAtT = Aws::Utils::DateTime>
140 AgentAliasSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
142 private:
143
144 Aws::String m_agentAliasId;
145 bool m_agentAliasIdHasBeenSet = false;
146
147 Aws::String m_agentAliasName;
148 bool m_agentAliasNameHasBeenSet = false;
149
151 bool m_agentAliasStatusHasBeenSet = false;
152
154 bool m_aliasInvocationStateHasBeenSet = false;
155
156 Aws::Utils::DateTime m_createdAt{};
157 bool m_createdAtHasBeenSet = false;
158
159 Aws::String m_description;
160 bool m_descriptionHasBeenSet = false;
161
163 bool m_routingConfigurationHasBeenSet = false;
164
165 Aws::Utils::DateTime m_updatedAt{};
166 bool m_updatedAtHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace BedrockAgent
171} // namespace Aws
void SetAgentAliasStatus(AgentAliasStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetAgentAliasName() const
AgentAliasSummary & AddRoutingConfiguration(RoutingConfigurationT &&value)
const Aws::Vector< AgentAliasRoutingConfigurationListItem > & GetRoutingConfiguration() const
AgentAliasSummary & WithDescription(DescriptionT &&value)
AWS_BEDROCKAGENT_API AgentAliasSummary()=default
AgentAliasSummary & WithAgentAliasName(AgentAliasNameT &&value)
void SetAliasInvocationState(AliasInvocationState value)
AgentAliasSummary & WithAgentAliasStatus(AgentAliasStatus value)
AWS_BEDROCKAGENT_API AgentAliasSummary(Aws::Utils::Json::JsonView jsonValue)
void SetRoutingConfiguration(RoutingConfigurationT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AliasInvocationState GetAliasInvocationState() const
AgentAliasSummary & WithRoutingConfiguration(RoutingConfigurationT &&value)
AgentAliasSummary & WithAliasInvocationState(AliasInvocationState value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AgentAliasSummary & WithUpdatedAt(UpdatedAtT &&value)
AgentAliasSummary & WithAgentAliasId(AgentAliasIdT &&value)
AgentAliasSummary & WithCreatedAt(CreatedAtT &&value)
AWS_BEDROCKAGENT_API AgentAliasSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAgentAliasName(AgentAliasNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue