AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateFlowAliasResult.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{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace BedrockAgent
28{
29namespace Model
30{
32 {
33 public:
34 AWS_BEDROCKAGENT_API UpdateFlowAliasResult() = default;
37
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template<typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
46 template<typename ArnT = Aws::String>
47 UpdateFlowAliasResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
49
51
55 inline const FlowAliasConcurrencyConfiguration& GetConcurrencyConfiguration() const { return m_concurrencyConfiguration; }
56 template<typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
57 void SetConcurrencyConfiguration(ConcurrencyConfigurationT&& value) { m_concurrencyConfigurationHasBeenSet = true; m_concurrencyConfiguration = std::forward<ConcurrencyConfigurationT>(value); }
58 template<typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
59 UpdateFlowAliasResult& WithConcurrencyConfiguration(ConcurrencyConfigurationT&& value) { SetConcurrencyConfiguration(std::forward<ConcurrencyConfigurationT>(value)); return *this;}
61
63
66 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
67 template<typename CreatedAtT = Aws::Utils::DateTime>
68 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
69 template<typename CreatedAtT = Aws::Utils::DateTime>
70 UpdateFlowAliasResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 template<typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
80 template<typename DescriptionT = Aws::String>
81 UpdateFlowAliasResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
83
85
88 inline const Aws::String& GetFlowId() const { return m_flowId; }
89 template<typename FlowIdT = Aws::String>
90 void SetFlowId(FlowIdT&& value) { m_flowIdHasBeenSet = true; m_flowId = std::forward<FlowIdT>(value); }
91 template<typename FlowIdT = Aws::String>
92 UpdateFlowAliasResult& WithFlowId(FlowIdT&& value) { SetFlowId(std::forward<FlowIdT>(value)); return *this;}
94
96
99 inline const Aws::String& GetId() const { return m_id; }
100 template<typename IdT = Aws::String>
101 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
102 template<typename IdT = Aws::String>
103 UpdateFlowAliasResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
105
107
110 inline const Aws::String& GetName() const { return m_name; }
111 template<typename NameT = Aws::String>
112 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
113 template<typename NameT = Aws::String>
114 UpdateFlowAliasResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
116
118
121 inline const Aws::Vector<FlowAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const { return m_routingConfiguration; }
122 template<typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
123 void SetRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::forward<RoutingConfigurationT>(value); }
124 template<typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
125 UpdateFlowAliasResult& WithRoutingConfiguration(RoutingConfigurationT&& value) { SetRoutingConfiguration(std::forward<RoutingConfigurationT>(value)); return *this;}
126 template<typename RoutingConfigurationT = FlowAliasRoutingConfigurationListItem>
127 UpdateFlowAliasResult& AddRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value)); return *this; }
129
131
134 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
135 template<typename UpdatedAtT = Aws::Utils::DateTime>
136 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
137 template<typename UpdatedAtT = Aws::Utils::DateTime>
138 UpdateFlowAliasResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
140
142
143 inline const Aws::String& GetRequestId() const { return m_requestId; }
144 template<typename RequestIdT = Aws::String>
145 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
146 template<typename RequestIdT = Aws::String>
147 UpdateFlowAliasResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
149 private:
150
151 Aws::String m_arn;
152 bool m_arnHasBeenSet = false;
153
154 FlowAliasConcurrencyConfiguration m_concurrencyConfiguration;
155 bool m_concurrencyConfigurationHasBeenSet = false;
156
157 Aws::Utils::DateTime m_createdAt{};
158 bool m_createdAtHasBeenSet = false;
159
160 Aws::String m_description;
161 bool m_descriptionHasBeenSet = false;
162
163 Aws::String m_flowId;
164 bool m_flowIdHasBeenSet = false;
165
166 Aws::String m_id;
167 bool m_idHasBeenSet = false;
168
169 Aws::String m_name;
170 bool m_nameHasBeenSet = false;
171
173 bool m_routingConfigurationHasBeenSet = false;
174
175 Aws::Utils::DateTime m_updatedAt{};
176 bool m_updatedAtHasBeenSet = false;
177
178 Aws::String m_requestId;
179 bool m_requestIdHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace BedrockAgent
184} // namespace Aws
UpdateFlowAliasResult & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateFlowAliasResult & WithConcurrencyConfiguration(ConcurrencyConfigurationT &&value)
UpdateFlowAliasResult & WithName(NameT &&value)
UpdateFlowAliasResult & WithArn(ArnT &&value)
const Aws::Vector< FlowAliasRoutingConfigurationListItem > & GetRoutingConfiguration() const
AWS_BEDROCKAGENT_API UpdateFlowAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFlowAliasResult & WithRoutingConfiguration(RoutingConfigurationT &&value)
const FlowAliasConcurrencyConfiguration & GetConcurrencyConfiguration() const
void SetConcurrencyConfiguration(ConcurrencyConfigurationT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
UpdateFlowAliasResult & AddRoutingConfiguration(RoutingConfigurationT &&value)
UpdateFlowAliasResult & WithFlowId(FlowIdT &&value)
AWS_BEDROCKAGENT_API UpdateFlowAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKAGENT_API UpdateFlowAliasResult()=default
UpdateFlowAliasResult & WithRequestId(RequestIdT &&value)
void SetRoutingConfiguration(RoutingConfigurationT &&value)
UpdateFlowAliasResult & WithUpdatedAt(UpdatedAtT &&value)
UpdateFlowAliasResult & WithCreatedAt(CreatedAtT &&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