AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
FlowAliasSummary.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 {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgent {
24namespace Model {
25
35 public:
36 AWS_BEDROCKAGENT_API FlowAliasSummary() = default;
39 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template <typename NameT = Aws::String>
48 void SetName(NameT&& value) {
49 m_nameHasBeenSet = true;
50 m_name = std::forward<NameT>(value);
51 }
52 template <typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetDescription() const { return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 template <typename DescriptionT = Aws::String>
67 m_descriptionHasBeenSet = true;
68 m_description = std::forward<DescriptionT>(value);
69 }
70 template <typename DescriptionT = Aws::String>
72 SetDescription(std::forward<DescriptionT>(value));
73 return *this;
74 }
76
78
82 inline const Aws::Vector<FlowAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const { return m_routingConfiguration; }
83 inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; }
84 template <typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
86 m_routingConfigurationHasBeenSet = true;
87 m_routingConfiguration = std::forward<RoutingConfigurationT>(value);
88 }
89 template <typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
91 SetRoutingConfiguration(std::forward<RoutingConfigurationT>(value));
92 return *this;
93 }
94 template <typename RoutingConfigurationT = FlowAliasRoutingConfigurationListItem>
96 m_routingConfigurationHasBeenSet = true;
97 m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value));
98 return *this;
99 }
101
103
107 inline const FlowAliasConcurrencyConfiguration& GetConcurrencyConfiguration() const { return m_concurrencyConfiguration; }
108 inline bool ConcurrencyConfigurationHasBeenSet() const { return m_concurrencyConfigurationHasBeenSet; }
109 template <typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
111 m_concurrencyConfigurationHasBeenSet = true;
112 m_concurrencyConfiguration = std::forward<ConcurrencyConfigurationT>(value);
113 }
114 template <typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
116 SetConcurrencyConfiguration(std::forward<ConcurrencyConfigurationT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::String& GetFlowId() const { return m_flowId; }
126 inline bool FlowIdHasBeenSet() const { return m_flowIdHasBeenSet; }
127 template <typename FlowIdT = Aws::String>
128 void SetFlowId(FlowIdT&& value) {
129 m_flowIdHasBeenSet = true;
130 m_flowId = std::forward<FlowIdT>(value);
131 }
132 template <typename FlowIdT = Aws::String>
134 SetFlowId(std::forward<FlowIdT>(value));
135 return *this;
136 }
138
140
143 inline const Aws::String& GetId() const { return m_id; }
144 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
145 template <typename IdT = Aws::String>
146 void SetId(IdT&& value) {
147 m_idHasBeenSet = true;
148 m_id = std::forward<IdT>(value);
149 }
150 template <typename IdT = Aws::String>
152 SetId(std::forward<IdT>(value));
153 return *this;
154 }
156
158
161 inline const Aws::String& GetArn() const { return m_arn; }
162 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
163 template <typename ArnT = Aws::String>
164 void SetArn(ArnT&& value) {
165 m_arnHasBeenSet = true;
166 m_arn = std::forward<ArnT>(value);
167 }
168 template <typename ArnT = Aws::String>
170 SetArn(std::forward<ArnT>(value));
171 return *this;
172 }
174
176
179 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
180 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
181 template <typename CreatedAtT = Aws::Utils::DateTime>
182 void SetCreatedAt(CreatedAtT&& value) {
183 m_createdAtHasBeenSet = true;
184 m_createdAt = std::forward<CreatedAtT>(value);
185 }
186 template <typename CreatedAtT = Aws::Utils::DateTime>
188 SetCreatedAt(std::forward<CreatedAtT>(value));
189 return *this;
190 }
192
194
197 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
198 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
199 template <typename UpdatedAtT = Aws::Utils::DateTime>
200 void SetUpdatedAt(UpdatedAtT&& value) {
201 m_updatedAtHasBeenSet = true;
202 m_updatedAt = std::forward<UpdatedAtT>(value);
203 }
204 template <typename UpdatedAtT = Aws::Utils::DateTime>
206 SetUpdatedAt(std::forward<UpdatedAtT>(value));
207 return *this;
208 }
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 bool m_nameHasBeenSet = false;
229 bool m_descriptionHasBeenSet = false;
230 bool m_routingConfigurationHasBeenSet = false;
231 bool m_concurrencyConfigurationHasBeenSet = false;
232 bool m_flowIdHasBeenSet = false;
233 bool m_idHasBeenSet = false;
234 bool m_arnHasBeenSet = false;
235 bool m_createdAtHasBeenSet = false;
236 bool m_updatedAtHasBeenSet = false;
237};
238
239} // namespace Model
240} // namespace BedrockAgent
241} // namespace Aws
void SetRoutingConfiguration(RoutingConfigurationT &&value)
void SetConcurrencyConfiguration(ConcurrencyConfigurationT &&value)
const Aws::String & GetDescription() const
FlowAliasSummary & WithName(NameT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
FlowAliasSummary & WithRoutingConfiguration(RoutingConfigurationT &&value)
AWS_BEDROCKAGENT_API FlowAliasSummary()=default
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
FlowAliasSummary & WithUpdatedAt(UpdatedAtT &&value)
FlowAliasSummary & WithId(IdT &&value)
FlowAliasSummary & WithArn(ArnT &&value)
FlowAliasSummary & WithDescription(DescriptionT &&value)
AWS_BEDROCKAGENT_API FlowAliasSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
FlowAliasSummary & WithFlowId(FlowIdT &&value)
const FlowAliasConcurrencyConfiguration & GetConcurrencyConfiguration() const
FlowAliasSummary & WithConcurrencyConfiguration(ConcurrencyConfigurationT &&value)
const Aws::Vector< FlowAliasRoutingConfigurationListItem > & GetRoutingConfiguration() const
FlowAliasSummary & WithCreatedAt(CreatedAtT &&value)
AWS_BEDROCKAGENT_API FlowAliasSummary(Aws::Utils::Json::JsonView jsonValue)
FlowAliasSummary & AddRoutingConfiguration(RoutingConfigurationT &&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