AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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/bedrock-agent/model/FlowAliasConcurrencyConfiguration.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.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& GetArn() const { return m_arn; }
52 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
53 template<typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
55 template<typename ArnT = Aws::String>
56 FlowAliasSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
58
60
64 inline const FlowAliasConcurrencyConfiguration& GetConcurrencyConfiguration() const { return m_concurrencyConfiguration; }
65 inline bool ConcurrencyConfigurationHasBeenSet() const { return m_concurrencyConfigurationHasBeenSet; }
66 template<typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
67 void SetConcurrencyConfiguration(ConcurrencyConfigurationT&& value) { m_concurrencyConfigurationHasBeenSet = true; m_concurrencyConfiguration = std::forward<ConcurrencyConfigurationT>(value); }
68 template<typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
69 FlowAliasSummary& WithConcurrencyConfiguration(ConcurrencyConfigurationT&& value) { SetConcurrencyConfiguration(std::forward<ConcurrencyConfigurationT>(value)); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
77 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
78 template<typename CreatedAtT = Aws::Utils::DateTime>
79 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
80 template<typename CreatedAtT = Aws::Utils::DateTime>
81 FlowAliasSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
83
85
88 inline const Aws::String& GetDescription() const { return m_description; }
89 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 template<typename DescriptionT = Aws::String>
91 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
92 template<typename DescriptionT = Aws::String>
93 FlowAliasSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
95
97
100 inline const Aws::String& GetFlowId() const { return m_flowId; }
101 inline bool FlowIdHasBeenSet() const { return m_flowIdHasBeenSet; }
102 template<typename FlowIdT = Aws::String>
103 void SetFlowId(FlowIdT&& value) { m_flowIdHasBeenSet = true; m_flowId = std::forward<FlowIdT>(value); }
104 template<typename FlowIdT = Aws::String>
105 FlowAliasSummary& WithFlowId(FlowIdT&& value) { SetFlowId(std::forward<FlowIdT>(value)); return *this;}
107
109
112 inline const Aws::String& GetId() const { return m_id; }
113 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
114 template<typename IdT = Aws::String>
115 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
116 template<typename IdT = Aws::String>
117 FlowAliasSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
119
121
124 inline const Aws::String& GetName() const { return m_name; }
125 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
126 template<typename NameT = Aws::String>
127 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
128 template<typename NameT = Aws::String>
129 FlowAliasSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
131
133
137 inline const Aws::Vector<FlowAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const { return m_routingConfiguration; }
138 inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; }
139 template<typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
140 void SetRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::forward<RoutingConfigurationT>(value); }
141 template<typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
142 FlowAliasSummary& WithRoutingConfiguration(RoutingConfigurationT&& value) { SetRoutingConfiguration(std::forward<RoutingConfigurationT>(value)); return *this;}
143 template<typename RoutingConfigurationT = FlowAliasRoutingConfigurationListItem>
144 FlowAliasSummary& AddRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(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_arn;
161 bool m_arnHasBeenSet = false;
162
163 FlowAliasConcurrencyConfiguration m_concurrencyConfiguration;
164 bool m_concurrencyConfigurationHasBeenSet = false;
165
166 Aws::Utils::DateTime m_createdAt{};
167 bool m_createdAtHasBeenSet = false;
168
169 Aws::String m_description;
170 bool m_descriptionHasBeenSet = 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_name;
179 bool m_nameHasBeenSet = false;
180
182 bool m_routingConfigurationHasBeenSet = 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