AWS SDK for C++

AWS SDK for C++ Version 1.11.633

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/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{
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& GetName() const { return m_name; }
44 template<typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
46 template<typename NameT = Aws::String>
47 UpdateFlowAliasResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 template<typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
57 template<typename DescriptionT = Aws::String>
58 UpdateFlowAliasResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
60
62
65 inline const Aws::Vector<FlowAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const { return m_routingConfiguration; }
66 template<typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
67 void SetRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::forward<RoutingConfigurationT>(value); }
68 template<typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
69 UpdateFlowAliasResult& WithRoutingConfiguration(RoutingConfigurationT&& value) { SetRoutingConfiguration(std::forward<RoutingConfigurationT>(value)); return *this;}
70 template<typename RoutingConfigurationT = FlowAliasRoutingConfigurationListItem>
71 UpdateFlowAliasResult& AddRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value)); return *this; }
73
75
79 inline const FlowAliasConcurrencyConfiguration& GetConcurrencyConfiguration() const { return m_concurrencyConfiguration; }
80 template<typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
81 void SetConcurrencyConfiguration(ConcurrencyConfigurationT&& value) { m_concurrencyConfigurationHasBeenSet = true; m_concurrencyConfiguration = std::forward<ConcurrencyConfigurationT>(value); }
82 template<typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
83 UpdateFlowAliasResult& WithConcurrencyConfiguration(ConcurrencyConfigurationT&& value) { SetConcurrencyConfiguration(std::forward<ConcurrencyConfigurationT>(value)); return *this;}
85
87
90 inline const Aws::String& GetFlowId() const { return m_flowId; }
91 template<typename FlowIdT = Aws::String>
92 void SetFlowId(FlowIdT&& value) { m_flowIdHasBeenSet = true; m_flowId = std::forward<FlowIdT>(value); }
93 template<typename FlowIdT = Aws::String>
94 UpdateFlowAliasResult& WithFlowId(FlowIdT&& value) { SetFlowId(std::forward<FlowIdT>(value)); return *this;}
96
98
101 inline const Aws::String& GetId() const { return m_id; }
102 template<typename IdT = Aws::String>
103 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
104 template<typename IdT = Aws::String>
105 UpdateFlowAliasResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
107
109
112 inline const Aws::String& GetArn() const { return m_arn; }
113 template<typename ArnT = Aws::String>
114 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
115 template<typename ArnT = Aws::String>
116 UpdateFlowAliasResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
118
120
123 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
124 template<typename CreatedAtT = Aws::Utils::DateTime>
125 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
126 template<typename CreatedAtT = Aws::Utils::DateTime>
127 UpdateFlowAliasResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(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_name;
152 bool m_nameHasBeenSet = false;
153
154 Aws::String m_description;
155 bool m_descriptionHasBeenSet = false;
156
158 bool m_routingConfigurationHasBeenSet = false;
159
160 FlowAliasConcurrencyConfiguration m_concurrencyConfiguration;
161 bool m_concurrencyConfigurationHasBeenSet = 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_arn;
170 bool m_arnHasBeenSet = false;
171
172 Aws::Utils::DateTime m_createdAt{};
173 bool m_createdAtHasBeenSet = 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