AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
AgentAliasSummary.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/AgentAliasRoutingConfigurationListItem.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/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgent {
25namespace Model {
26
33 public:
34 AWS_BEDROCKAGENT_API AgentAliasSummary() = default;
37 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetAgentAliasId() const { return m_agentAliasId; }
44 inline bool AgentAliasIdHasBeenSet() const { return m_agentAliasIdHasBeenSet; }
45 template <typename AgentAliasIdT = Aws::String>
47 m_agentAliasIdHasBeenSet = true;
48 m_agentAliasId = std::forward<AgentAliasIdT>(value);
49 }
50 template <typename AgentAliasIdT = Aws::String>
52 SetAgentAliasId(std::forward<AgentAliasIdT>(value));
53 return *this;
54 }
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>
65 m_agentAliasNameHasBeenSet = true;
66 m_agentAliasName = std::forward<AgentAliasNameT>(value);
67 }
68 template <typename AgentAliasNameT = Aws::String>
70 SetAgentAliasName(std::forward<AgentAliasNameT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetDescription() const { return m_description; }
80 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
81 template <typename DescriptionT = Aws::String>
83 m_descriptionHasBeenSet = true;
84 m_description = std::forward<DescriptionT>(value);
85 }
86 template <typename DescriptionT = Aws::String>
88 SetDescription(std::forward<DescriptionT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::Vector<AgentAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const { return m_routingConfiguration; }
99 inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; }
100 template <typename RoutingConfigurationT = Aws::Vector<AgentAliasRoutingConfigurationListItem>>
102 m_routingConfigurationHasBeenSet = true;
103 m_routingConfiguration = std::forward<RoutingConfigurationT>(value);
104 }
105 template <typename RoutingConfigurationT = Aws::Vector<AgentAliasRoutingConfigurationListItem>>
107 SetRoutingConfiguration(std::forward<RoutingConfigurationT>(value));
108 return *this;
109 }
110 template <typename RoutingConfigurationT = AgentAliasRoutingConfigurationListItem>
112 m_routingConfigurationHasBeenSet = true;
113 m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value));
114 return *this;
115 }
117
119
122 inline AgentAliasStatus GetAgentAliasStatus() const { return m_agentAliasStatus; }
123 inline bool AgentAliasStatusHasBeenSet() const { return m_agentAliasStatusHasBeenSet; }
125 m_agentAliasStatusHasBeenSet = true;
126 m_agentAliasStatus = value;
127 }
129 SetAgentAliasStatus(value);
130 return *this;
131 }
133
135
138 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
139 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
140 template <typename CreatedAtT = Aws::Utils::DateTime>
141 void SetCreatedAt(CreatedAtT&& value) {
142 m_createdAtHasBeenSet = true;
143 m_createdAt = std::forward<CreatedAtT>(value);
144 }
145 template <typename CreatedAtT = Aws::Utils::DateTime>
147 SetCreatedAt(std::forward<CreatedAtT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
157 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
158 template <typename UpdatedAtT = Aws::Utils::DateTime>
159 void SetUpdatedAt(UpdatedAtT&& value) {
160 m_updatedAtHasBeenSet = true;
161 m_updatedAt = std::forward<UpdatedAtT>(value);
162 }
163 template <typename UpdatedAtT = Aws::Utils::DateTime>
165 SetUpdatedAt(std::forward<UpdatedAtT>(value));
166 return *this;
167 }
169
171
177 inline AliasInvocationState GetAliasInvocationState() const { return m_aliasInvocationState; }
178 inline bool AliasInvocationStateHasBeenSet() const { return m_aliasInvocationStateHasBeenSet; }
180 m_aliasInvocationStateHasBeenSet = true;
181 m_aliasInvocationState = value;
182 }
185 return *this;
186 }
188 private:
189 Aws::String m_agentAliasId;
190
191 Aws::String m_agentAliasName;
192
193 Aws::String m_description;
194
196
198
199 Aws::Utils::DateTime m_createdAt{};
200
201 Aws::Utils::DateTime m_updatedAt{};
202
204 bool m_agentAliasIdHasBeenSet = false;
205 bool m_agentAliasNameHasBeenSet = false;
206 bool m_descriptionHasBeenSet = false;
207 bool m_routingConfigurationHasBeenSet = false;
208 bool m_agentAliasStatusHasBeenSet = false;
209 bool m_createdAtHasBeenSet = false;
210 bool m_updatedAtHasBeenSet = false;
211 bool m_aliasInvocationStateHasBeenSet = false;
212};
213
214} // namespace Model
215} // namespace BedrockAgent
216} // 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::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