AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetFlowVersionResult.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 GetFlowVersionResult() = 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
93 inline const Aws::String& GetCustomerEncryptionKeyArn() const { return m_customerEncryptionKeyArn; }
94 template <typename CustomerEncryptionKeyArnT = Aws::String>
96 m_customerEncryptionKeyArnHasBeenSet = true;
97 m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value);
98 }
99 template <typename CustomerEncryptionKeyArnT = Aws::String>
101 SetCustomerEncryptionKeyArn(std::forward<CustomerEncryptionKeyArnT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetId() const { return m_id; }
111 template <typename IdT = Aws::String>
112 void SetId(IdT&& value) {
113 m_idHasBeenSet = true;
114 m_id = std::forward<IdT>(value);
115 }
116 template <typename IdT = Aws::String>
118 SetId(std::forward<IdT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::String& GetArn() const { return m_arn; }
128 template <typename ArnT = Aws::String>
129 void SetArn(ArnT&& value) {
130 m_arnHasBeenSet = true;
131 m_arn = std::forward<ArnT>(value);
132 }
133 template <typename ArnT = Aws::String>
135 SetArn(std::forward<ArnT>(value));
136 return *this;
137 }
139
141
144 inline FlowStatus GetStatus() const { return m_status; }
145 inline void SetStatus(FlowStatus value) {
146 m_statusHasBeenSet = true;
147 m_status = value;
148 }
150 SetStatus(value);
151 return *this;
152 }
154
156
159 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
160 template <typename CreatedAtT = Aws::Utils::DateTime>
161 void SetCreatedAt(CreatedAtT&& value) {
162 m_createdAtHasBeenSet = true;
163 m_createdAt = std::forward<CreatedAtT>(value);
164 }
165 template <typename CreatedAtT = Aws::Utils::DateTime>
167 SetCreatedAt(std::forward<CreatedAtT>(value));
168 return *this;
169 }
171
173
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
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
GetFlowVersionResult & WithVersion(VersionT &&value)
GetFlowVersionResult & WithCreatedAt(CreatedAtT &&value)
AWS_BEDROCKAGENT_API GetFlowVersionResult()=default
GetFlowVersionResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetFlowVersionResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_BEDROCKAGENT_API GetFlowVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFlowVersionResult & WithDefinition(DefinitionT &&value)
GetFlowVersionResult & WithName(NameT &&value)
GetFlowVersionResult & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
AWS_BEDROCKAGENT_API GetFlowVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
GetFlowVersionResult & WithArn(ArnT &&value)
GetFlowVersionResult & WithStatus(FlowStatus value)
GetFlowVersionResult & WithDescription(DescriptionT &&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