AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateFlowVersionResult.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FlowDefinition.h>
9#include <aws/bedrock-agent/model/FlowStatus.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace BedrockAgent {
26namespace Model {
28 public:
29 AWS_BEDROCKAGENT_API CreateFlowVersionResult() = default;
32
34
37 inline const Aws::String& GetName() const { return m_name; }
38 template <typename NameT = Aws::String>
39 void SetName(NameT&& value) {
40 m_nameHasBeenSet = true;
41 m_name = std::forward<NameT>(value);
42 }
43 template <typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 template <typename DescriptionT = Aws::String>
57 m_descriptionHasBeenSet = true;
58 m_description = std::forward<DescriptionT>(value);
59 }
60 template <typename DescriptionT = Aws::String>
62 SetDescription(std::forward<DescriptionT>(value));
63 return *this;
64 }
66
68
75 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
76 template <typename ExecutionRoleArnT = Aws::String>
78 m_executionRoleArnHasBeenSet = true;
79 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
80 }
81 template <typename ExecutionRoleArnT = Aws::String>
83 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetCustomerEncryptionKeyArn() const { return m_customerEncryptionKeyArn; }
93 template <typename CustomerEncryptionKeyArnT = Aws::String>
95 m_customerEncryptionKeyArnHasBeenSet = true;
96 m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value);
97 }
98 template <typename CustomerEncryptionKeyArnT = Aws::String>
100 SetCustomerEncryptionKeyArn(std::forward<CustomerEncryptionKeyArnT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetId() const { return m_id; }
110 template <typename IdT = Aws::String>
111 void SetId(IdT&& value) {
112 m_idHasBeenSet = true;
113 m_id = std::forward<IdT>(value);
114 }
115 template <typename IdT = Aws::String>
117 SetId(std::forward<IdT>(value));
118 return *this;
119 }
121
123
126 inline const Aws::String& GetArn() const { return m_arn; }
127 template <typename ArnT = Aws::String>
128 void SetArn(ArnT&& value) {
129 m_arnHasBeenSet = true;
130 m_arn = std::forward<ArnT>(value);
131 }
132 template <typename ArnT = Aws::String>
134 SetArn(std::forward<ArnT>(value));
135 return *this;
136 }
138
140
143 inline FlowStatus GetStatus() const { return m_status; }
144 inline void SetStatus(FlowStatus value) {
145 m_statusHasBeenSet = true;
146 m_status = value;
147 }
149 SetStatus(value);
150 return *this;
151 }
153
155
158 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
159 template <typename CreatedAtT = Aws::Utils::DateTime>
160 void SetCreatedAt(CreatedAtT&& value) {
161 m_createdAtHasBeenSet = true;
162 m_createdAt = std::forward<CreatedAtT>(value);
163 }
164 template <typename CreatedAtT = Aws::Utils::DateTime>
166 SetCreatedAt(std::forward<CreatedAtT>(value));
167 return *this;
168 }
170
172
176 inline const Aws::String& GetVersion() const { return m_version; }
177 template <typename VersionT = Aws::String>
178 void SetVersion(VersionT&& value) {
179 m_versionHasBeenSet = true;
180 m_version = std::forward<VersionT>(value);
181 }
182 template <typename VersionT = Aws::String>
184 SetVersion(std::forward<VersionT>(value));
185 return *this;
186 }
188
190
193 inline const FlowDefinition& GetDefinition() const { return m_definition; }
194 template <typename DefinitionT = FlowDefinition>
196 m_definitionHasBeenSet = true;
197 m_definition = std::forward<DefinitionT>(value);
198 }
199 template <typename DefinitionT = FlowDefinition>
201 SetDefinition(std::forward<DefinitionT>(value));
202 return *this;
203 }
205
207
208 inline const Aws::String& GetRequestId() const { return m_requestId; }
209 template <typename RequestIdT = Aws::String>
210 void SetRequestId(RequestIdT&& value) {
211 m_requestIdHasBeenSet = true;
212 m_requestId = std::forward<RequestIdT>(value);
213 }
214 template <typename RequestIdT = Aws::String>
216 SetRequestId(std::forward<RequestIdT>(value));
217 return *this;
218 }
220 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
221
222 private:
223 Aws::String m_name;
224
225 Aws::String m_description;
226
227 Aws::String m_executionRoleArn;
228
229 Aws::String m_customerEncryptionKeyArn;
230
231 Aws::String m_id;
232
233 Aws::String m_arn;
234
236
237 Aws::Utils::DateTime m_createdAt{};
238
239 Aws::String m_version;
240
241 FlowDefinition m_definition;
242
243 Aws::String m_requestId;
244 Aws::Http::HttpResponseCode m_HttpResponseCode;
245 bool m_nameHasBeenSet = false;
246 bool m_descriptionHasBeenSet = false;
247 bool m_executionRoleArnHasBeenSet = false;
248 bool m_customerEncryptionKeyArnHasBeenSet = false;
249 bool m_idHasBeenSet = false;
250 bool m_arnHasBeenSet = false;
251 bool m_statusHasBeenSet = false;
252 bool m_createdAtHasBeenSet = false;
253 bool m_versionHasBeenSet = false;
254 bool m_definitionHasBeenSet = false;
255 bool m_requestIdHasBeenSet = false;
256};
257
258} // namespace Model
259} // namespace BedrockAgent
260} // namespace Aws
AWS_BEDROCKAGENT_API CreateFlowVersionResult()=default
AWS_BEDROCKAGENT_API CreateFlowVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFlowVersionResult & WithName(NameT &&value)
CreateFlowVersionResult & WithCreatedAt(CreatedAtT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateFlowVersionResult & WithRequestId(RequestIdT &&value)
CreateFlowVersionResult & WithVersion(VersionT &&value)
CreateFlowVersionResult & WithDefinition(DefinitionT &&value)
CreateFlowVersionResult & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
CreateFlowVersionResult & WithDescription(DescriptionT &&value)
CreateFlowVersionResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
CreateFlowVersionResult & WithArn(ArnT &&value)
AWS_BEDROCKAGENT_API CreateFlowVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFlowVersionResult & WithStatus(FlowStatus value)
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue