AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CreateFlowAliasResult.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/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace BedrockAgent {
26namespace Model {
28 public:
29 AWS_BEDROCKAGENT_API CreateFlowAliasResult() = default;
32
34
37 inline const Aws::String& GetName() const { return m_name; }
38 template <typename NameT = Aws::String>
39 void SetName(NameT&& value) {
40 m_nameHasBeenSet = true;
41 m_name = std::forward<NameT>(value);
42 }
43 template <typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 template <typename DescriptionT = Aws::String>
57 m_descriptionHasBeenSet = true;
58 m_description = std::forward<DescriptionT>(value);
59 }
60 template <typename DescriptionT = Aws::String>
62 SetDescription(std::forward<DescriptionT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::Vector<FlowAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const { return m_routingConfiguration; }
72 template <typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
74 m_routingConfigurationHasBeenSet = true;
75 m_routingConfiguration = std::forward<RoutingConfigurationT>(value);
76 }
77 template <typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
79 SetRoutingConfiguration(std::forward<RoutingConfigurationT>(value));
80 return *this;
81 }
82 template <typename RoutingConfigurationT = FlowAliasRoutingConfigurationListItem>
84 m_routingConfigurationHasBeenSet = true;
85 m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value));
86 return *this;
87 }
89
91
95 inline const FlowAliasConcurrencyConfiguration& GetConcurrencyConfiguration() const { return m_concurrencyConfiguration; }
96 template <typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
98 m_concurrencyConfigurationHasBeenSet = true;
99 m_concurrencyConfiguration = std::forward<ConcurrencyConfigurationT>(value);
100 }
101 template <typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
103 SetConcurrencyConfiguration(std::forward<ConcurrencyConfigurationT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetFlowId() const { return m_flowId; }
113 template <typename FlowIdT = Aws::String>
114 void SetFlowId(FlowIdT&& value) {
115 m_flowIdHasBeenSet = true;
116 m_flowId = std::forward<FlowIdT>(value);
117 }
118 template <typename FlowIdT = Aws::String>
120 SetFlowId(std::forward<FlowIdT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetId() const { return m_id; }
130 template <typename IdT = Aws::String>
131 void SetId(IdT&& value) {
132 m_idHasBeenSet = true;
133 m_id = std::forward<IdT>(value);
134 }
135 template <typename IdT = Aws::String>
137 SetId(std::forward<IdT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetArn() const { return m_arn; }
147 template <typename ArnT = Aws::String>
148 void SetArn(ArnT&& value) {
149 m_arnHasBeenSet = true;
150 m_arn = std::forward<ArnT>(value);
151 }
152 template <typename ArnT = Aws::String>
154 SetArn(std::forward<ArnT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
164 template <typename CreatedAtT = Aws::Utils::DateTime>
165 void SetCreatedAt(CreatedAtT&& value) {
166 m_createdAtHasBeenSet = true;
167 m_createdAt = std::forward<CreatedAtT>(value);
168 }
169 template <typename CreatedAtT = Aws::Utils::DateTime>
171 SetCreatedAt(std::forward<CreatedAtT>(value));
172 return *this;
173 }
175
177
180 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
181 template <typename UpdatedAtT = Aws::Utils::DateTime>
182 void SetUpdatedAt(UpdatedAtT&& value) {
183 m_updatedAtHasBeenSet = true;
184 m_updatedAt = std::forward<UpdatedAtT>(value);
185 }
186 template <typename UpdatedAtT = Aws::Utils::DateTime>
188 SetUpdatedAt(std::forward<UpdatedAtT>(value));
189 return *this;
190 }
192
194
195 inline const Aws::String& GetRequestId() const { return m_requestId; }
196 template <typename RequestIdT = Aws::String>
197 void SetRequestId(RequestIdT&& value) {
198 m_requestIdHasBeenSet = true;
199 m_requestId = std::forward<RequestIdT>(value);
200 }
201 template <typename RequestIdT = Aws::String>
203 SetRequestId(std::forward<RequestIdT>(value));
204 return *this;
205 }
207 private:
208 Aws::String m_name;
209
210 Aws::String m_description;
211
213
214 FlowAliasConcurrencyConfiguration m_concurrencyConfiguration;
215
216 Aws::String m_flowId;
217
218 Aws::String m_id;
219
220 Aws::String m_arn;
221
222 Aws::Utils::DateTime m_createdAt{};
223
224 Aws::Utils::DateTime m_updatedAt{};
225
226 Aws::String m_requestId;
227 bool m_nameHasBeenSet = false;
228 bool m_descriptionHasBeenSet = false;
229 bool m_routingConfigurationHasBeenSet = false;
230 bool m_concurrencyConfigurationHasBeenSet = false;
231 bool m_flowIdHasBeenSet = false;
232 bool m_idHasBeenSet = false;
233 bool m_arnHasBeenSet = false;
234 bool m_createdAtHasBeenSet = false;
235 bool m_updatedAtHasBeenSet = false;
236 bool m_requestIdHasBeenSet = false;
237};
238
239} // namespace Model
240} // namespace BedrockAgent
241} // namespace Aws
const Aws::Utils::DateTime & GetCreatedAt() const
CreateFlowAliasResult & WithFlowId(FlowIdT &&value)
void SetRoutingConfiguration(RoutingConfigurationT &&value)
AWS_BEDROCKAGENT_API CreateFlowAliasResult()=default
CreateFlowAliasResult & AddRoutingConfiguration(RoutingConfigurationT &&value)
CreateFlowAliasResult & WithDescription(DescriptionT &&value)
CreateFlowAliasResult & WithName(NameT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_BEDROCKAGENT_API CreateFlowAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFlowAliasResult & WithRoutingConfiguration(RoutingConfigurationT &&value)
AWS_BEDROCKAGENT_API CreateFlowAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFlowAliasResult & WithArn(ArnT &&value)
const Aws::Vector< FlowAliasRoutingConfigurationListItem > & GetRoutingConfiguration() const
CreateFlowAliasResult & WithCreatedAt(CreatedAtT &&value)
CreateFlowAliasResult & WithUpdatedAt(UpdatedAtT &&value)
const FlowAliasConcurrencyConfiguration & GetConcurrencyConfiguration() const
void SetConcurrencyConfiguration(ConcurrencyConfigurationT &&value)
CreateFlowAliasResult & WithConcurrencyConfiguration(ConcurrencyConfigurationT &&value)
CreateFlowAliasResult & WithRequestId(RequestIdT &&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