AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetFlowAliasResult.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FlowAliasConcurrencyConfiguration.h>
9#include <aws/bedrock-agent/model/FlowAliasRoutingConfigurationListItem.h>
10#include <aws/core/http/HttpResponse.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 {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace BedrockAgent {
27namespace Model {
29 public:
30 AWS_BEDROCKAGENT_API GetFlowAliasResult() = default;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 template <typename NameT = Aws::String>
40 void SetName(NameT&& value) {
41 m_nameHasBeenSet = true;
42 m_name = std::forward<NameT>(value);
43 }
44 template <typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 template <typename DescriptionT = Aws::String>
58 m_descriptionHasBeenSet = true;
59 m_description = std::forward<DescriptionT>(value);
60 }
61 template <typename DescriptionT = Aws::String>
63 SetDescription(std::forward<DescriptionT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::Vector<FlowAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const { return m_routingConfiguration; }
73 template <typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
75 m_routingConfigurationHasBeenSet = true;
76 m_routingConfiguration = std::forward<RoutingConfigurationT>(value);
77 }
78 template <typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
80 SetRoutingConfiguration(std::forward<RoutingConfigurationT>(value));
81 return *this;
82 }
83 template <typename RoutingConfigurationT = FlowAliasRoutingConfigurationListItem>
85 m_routingConfigurationHasBeenSet = true;
86 m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value));
87 return *this;
88 }
90
92
96 inline const FlowAliasConcurrencyConfiguration& GetConcurrencyConfiguration() const { return m_concurrencyConfiguration; }
97 template <typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
99 m_concurrencyConfigurationHasBeenSet = true;
100 m_concurrencyConfiguration = std::forward<ConcurrencyConfigurationT>(value);
101 }
102 template <typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
104 SetConcurrencyConfiguration(std::forward<ConcurrencyConfigurationT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetFlowId() const { return m_flowId; }
114 template <typename FlowIdT = Aws::String>
115 void SetFlowId(FlowIdT&& value) {
116 m_flowIdHasBeenSet = true;
117 m_flowId = std::forward<FlowIdT>(value);
118 }
119 template <typename FlowIdT = Aws::String>
121 SetFlowId(std::forward<FlowIdT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetId() const { return m_id; }
131 template <typename IdT = Aws::String>
132 void SetId(IdT&& value) {
133 m_idHasBeenSet = true;
134 m_id = std::forward<IdT>(value);
135 }
136 template <typename IdT = Aws::String>
138 SetId(std::forward<IdT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetArn() const { return m_arn; }
148 template <typename ArnT = Aws::String>
149 void SetArn(ArnT&& value) {
150 m_arnHasBeenSet = true;
151 m_arn = std::forward<ArnT>(value);
152 }
153 template <typename ArnT = Aws::String>
155 SetArn(std::forward<ArnT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
165 template <typename CreatedAtT = Aws::Utils::DateTime>
166 void SetCreatedAt(CreatedAtT&& value) {
167 m_createdAtHasBeenSet = true;
168 m_createdAt = std::forward<CreatedAtT>(value);
169 }
170 template <typename CreatedAtT = Aws::Utils::DateTime>
172 SetCreatedAt(std::forward<CreatedAtT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
182 template <typename UpdatedAtT = Aws::Utils::DateTime>
183 void SetUpdatedAt(UpdatedAtT&& value) {
184 m_updatedAtHasBeenSet = true;
185 m_updatedAt = std::forward<UpdatedAtT>(value);
186 }
187 template <typename UpdatedAtT = Aws::Utils::DateTime>
189 SetUpdatedAt(std::forward<UpdatedAtT>(value));
190 return *this;
191 }
193
195
196 inline const Aws::String& GetRequestId() const { return m_requestId; }
197 template <typename RequestIdT = Aws::String>
198 void SetRequestId(RequestIdT&& value) {
199 m_requestIdHasBeenSet = true;
200 m_requestId = std::forward<RequestIdT>(value);
201 }
202 template <typename RequestIdT = Aws::String>
204 SetRequestId(std::forward<RequestIdT>(value));
205 return *this;
206 }
208 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
209
210 private:
211 Aws::String m_name;
212
213 Aws::String m_description;
214
216
217 FlowAliasConcurrencyConfiguration m_concurrencyConfiguration;
218
219 Aws::String m_flowId;
220
221 Aws::String m_id;
222
223 Aws::String m_arn;
224
225 Aws::Utils::DateTime m_createdAt{};
226
227 Aws::Utils::DateTime m_updatedAt{};
228
229 Aws::String m_requestId;
230 Aws::Http::HttpResponseCode m_HttpResponseCode;
231 bool m_nameHasBeenSet = false;
232 bool m_descriptionHasBeenSet = false;
233 bool m_routingConfigurationHasBeenSet = false;
234 bool m_concurrencyConfigurationHasBeenSet = false;
235 bool m_flowIdHasBeenSet = false;
236 bool m_idHasBeenSet = false;
237 bool m_arnHasBeenSet = false;
238 bool m_createdAtHasBeenSet = false;
239 bool m_updatedAtHasBeenSet = false;
240 bool m_requestIdHasBeenSet = false;
241};
242
243} // namespace Model
244} // namespace BedrockAgent
245} // namespace Aws
GetFlowAliasResult & WithUpdatedAt(UpdatedAtT &&value)
GetFlowAliasResult & WithId(IdT &&value)
void SetConcurrencyConfiguration(ConcurrencyConfigurationT &&value)
GetFlowAliasResult & WithArn(ArnT &&value)
GetFlowAliasResult & WithRoutingConfiguration(RoutingConfigurationT &&value)
GetFlowAliasResult & WithConcurrencyConfiguration(ConcurrencyConfigurationT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const FlowAliasConcurrencyConfiguration & GetConcurrencyConfiguration() const
GetFlowAliasResult & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetFlowAliasResult & WithFlowId(FlowIdT &&value)
AWS_BEDROCKAGENT_API GetFlowAliasResult()=default
AWS_BEDROCKAGENT_API GetFlowAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFlowAliasResult & WithDescription(DescriptionT &&value)
GetFlowAliasResult & WithCreatedAt(CreatedAtT &&value)
AWS_BEDROCKAGENT_API GetFlowAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFlowAliasResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetFlowAliasResult & AddRoutingConfiguration(RoutingConfigurationT &&value)
void SetRoutingConfiguration(RoutingConfigurationT &&value)
const Aws::Vector< FlowAliasRoutingConfigurationListItem > & GetRoutingConfiguration() 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