AWS SDK for C++

AWS SDK for C++ Version 1.11.751

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/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgent {
25namespace Model {
27 public:
28 AWS_BEDROCKAGENT_API GetFlowVersionResult() = default;
31
33
36 inline const Aws::String& GetName() const { return m_name; }
37 template <typename NameT = Aws::String>
38 void SetName(NameT&& value) {
39 m_nameHasBeenSet = true;
40 m_name = std::forward<NameT>(value);
41 }
42 template <typename NameT = Aws::String>
44 SetName(std::forward<NameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDescription() const { return m_description; }
54 template <typename DescriptionT = Aws::String>
56 m_descriptionHasBeenSet = true;
57 m_description = std::forward<DescriptionT>(value);
58 }
59 template <typename DescriptionT = Aws::String>
61 SetDescription(std::forward<DescriptionT>(value));
62 return *this;
63 }
65
67
74 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
75 template <typename ExecutionRoleArnT = Aws::String>
77 m_executionRoleArnHasBeenSet = true;
78 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
79 }
80 template <typename ExecutionRoleArnT = Aws::String>
82 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
83 return *this;
84 }
86
88
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
175 inline const Aws::String& GetVersion() const { return m_version; }
176 template <typename VersionT = Aws::String>
177 void SetVersion(VersionT&& value) {
178 m_versionHasBeenSet = true;
179 m_version = std::forward<VersionT>(value);
180 }
181 template <typename VersionT = Aws::String>
183 SetVersion(std::forward<VersionT>(value));
184 return *this;
185 }
187
189
192 inline const FlowDefinition& GetDefinition() const { return m_definition; }
193 template <typename DefinitionT = FlowDefinition>
195 m_definitionHasBeenSet = true;
196 m_definition = std::forward<DefinitionT>(value);
197 }
198 template <typename DefinitionT = FlowDefinition>
200 SetDefinition(std::forward<DefinitionT>(value));
201 return *this;
202 }
204
206
207 inline const Aws::String& GetRequestId() const { return m_requestId; }
208 template <typename RequestIdT = Aws::String>
209 void SetRequestId(RequestIdT&& value) {
210 m_requestIdHasBeenSet = true;
211 m_requestId = std::forward<RequestIdT>(value);
212 }
213 template <typename RequestIdT = Aws::String>
215 SetRequestId(std::forward<RequestIdT>(value));
216 return *this;
217 }
219 private:
220 Aws::String m_name;
221
222 Aws::String m_description;
223
224 Aws::String m_executionRoleArn;
225
226 Aws::String m_customerEncryptionKeyArn;
227
228 Aws::String m_id;
229
230 Aws::String m_arn;
231
233
234 Aws::Utils::DateTime m_createdAt{};
235
236 Aws::String m_version;
237
238 FlowDefinition m_definition;
239
240 Aws::String m_requestId;
241 bool m_nameHasBeenSet = false;
242 bool m_descriptionHasBeenSet = false;
243 bool m_executionRoleArnHasBeenSet = false;
244 bool m_customerEncryptionKeyArnHasBeenSet = false;
245 bool m_idHasBeenSet = false;
246 bool m_arnHasBeenSet = false;
247 bool m_statusHasBeenSet = false;
248 bool m_createdAtHasBeenSet = false;
249 bool m_versionHasBeenSet = false;
250 bool m_definitionHasBeenSet = false;
251 bool m_requestIdHasBeenSet = false;
252};
253
254} // namespace Model
255} // namespace BedrockAgent
256} // 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_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