AWS SDK for C++

AWS SDK for C++ Version 1.11.633

Loading...
Searching...
No Matches
FlowAliasSummary.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/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock-agent/model/FlowAliasConcurrencyConfiguration.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/bedrock-agent/model/FlowAliasRoutingConfigurationListItem.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace BedrockAgent
26{
27namespace Model
28{
29
39 {
40 public:
41 AWS_BEDROCKAGENT_API FlowAliasSummary() = default;
42 AWS_BEDROCKAGENT_API FlowAliasSummary(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENT_API FlowAliasSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 FlowAliasSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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>
66 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
67 template<typename DescriptionT = Aws::String>
68 FlowAliasSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
70
72
76 inline const Aws::Vector<FlowAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const { return m_routingConfiguration; }
77 inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; }
78 template<typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
79 void SetRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::forward<RoutingConfigurationT>(value); }
80 template<typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
81 FlowAliasSummary& WithRoutingConfiguration(RoutingConfigurationT&& value) { SetRoutingConfiguration(std::forward<RoutingConfigurationT>(value)); return *this;}
82 template<typename RoutingConfigurationT = FlowAliasRoutingConfigurationListItem>
83 FlowAliasSummary& AddRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value)); return *this; }
85
87
91 inline const FlowAliasConcurrencyConfiguration& GetConcurrencyConfiguration() const { return m_concurrencyConfiguration; }
92 inline bool ConcurrencyConfigurationHasBeenSet() const { return m_concurrencyConfigurationHasBeenSet; }
93 template<typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
94 void SetConcurrencyConfiguration(ConcurrencyConfigurationT&& value) { m_concurrencyConfigurationHasBeenSet = true; m_concurrencyConfiguration = std::forward<ConcurrencyConfigurationT>(value); }
95 template<typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
96 FlowAliasSummary& WithConcurrencyConfiguration(ConcurrencyConfigurationT&& value) { SetConcurrencyConfiguration(std::forward<ConcurrencyConfigurationT>(value)); return *this;}
98
100
103 inline const Aws::String& GetFlowId() const { return m_flowId; }
104 inline bool FlowIdHasBeenSet() const { return m_flowIdHasBeenSet; }
105 template<typename FlowIdT = Aws::String>
106 void SetFlowId(FlowIdT&& value) { m_flowIdHasBeenSet = true; m_flowId = std::forward<FlowIdT>(value); }
107 template<typename FlowIdT = Aws::String>
108 FlowAliasSummary& WithFlowId(FlowIdT&& value) { SetFlowId(std::forward<FlowIdT>(value)); return *this;}
110
112
115 inline const Aws::String& GetId() const { return m_id; }
116 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
117 template<typename IdT = Aws::String>
118 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
119 template<typename IdT = Aws::String>
120 FlowAliasSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
122
124
127 inline const Aws::String& GetArn() const { return m_arn; }
128 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
129 template<typename ArnT = Aws::String>
130 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
131 template<typename ArnT = Aws::String>
132 FlowAliasSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
140 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
141 template<typename CreatedAtT = Aws::Utils::DateTime>
142 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
143 template<typename CreatedAtT = Aws::Utils::DateTime>
144 FlowAliasSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
146
148
151 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
152 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
153 template<typename UpdatedAtT = Aws::Utils::DateTime>
154 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
155 template<typename UpdatedAtT = Aws::Utils::DateTime>
156 FlowAliasSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
158 private:
159
160 Aws::String m_name;
161 bool m_nameHasBeenSet = false;
162
163 Aws::String m_description;
164 bool m_descriptionHasBeenSet = false;
165
167 bool m_routingConfigurationHasBeenSet = false;
168
169 FlowAliasConcurrencyConfiguration m_concurrencyConfiguration;
170 bool m_concurrencyConfigurationHasBeenSet = false;
171
172 Aws::String m_flowId;
173 bool m_flowIdHasBeenSet = false;
174
175 Aws::String m_id;
176 bool m_idHasBeenSet = false;
177
178 Aws::String m_arn;
179 bool m_arnHasBeenSet = false;
180
181 Aws::Utils::DateTime m_createdAt{};
182 bool m_createdAtHasBeenSet = false;
183
184 Aws::Utils::DateTime m_updatedAt{};
185 bool m_updatedAtHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace BedrockAgent
190} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue