AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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/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 CreateFlowVersionResult() = 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
91 inline const Aws::String& GetCustomerEncryptionKeyArn() const { return m_customerEncryptionKeyArn; }
92 template <typename CustomerEncryptionKeyArnT = Aws::String>
94 m_customerEncryptionKeyArnHasBeenSet = true;
95 m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value);
96 }
97 template <typename CustomerEncryptionKeyArnT = Aws::String>
99 SetCustomerEncryptionKeyArn(std::forward<CustomerEncryptionKeyArnT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetId() const { return m_id; }
109 template <typename IdT = Aws::String>
110 void SetId(IdT&& value) {
111 m_idHasBeenSet = true;
112 m_id = std::forward<IdT>(value);
113 }
114 template <typename IdT = Aws::String>
116 SetId(std::forward<IdT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::String& GetArn() const { return m_arn; }
126 template <typename ArnT = Aws::String>
127 void SetArn(ArnT&& value) {
128 m_arnHasBeenSet = true;
129 m_arn = std::forward<ArnT>(value);
130 }
131 template <typename ArnT = Aws::String>
133 SetArn(std::forward<ArnT>(value));
134 return *this;
135 }
137
139
142 inline FlowStatus GetStatus() const { return m_status; }
143 inline void SetStatus(FlowStatus value) {
144 m_statusHasBeenSet = true;
145 m_status = value;
146 }
148 SetStatus(value);
149 return *this;
150 }
152
154
157 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
158 template <typename CreatedAtT = Aws::Utils::DateTime>
159 void SetCreatedAt(CreatedAtT&& value) {
160 m_createdAtHasBeenSet = true;
161 m_createdAt = std::forward<CreatedAtT>(value);
162 }
163 template <typename CreatedAtT = Aws::Utils::DateTime>
165 SetCreatedAt(std::forward<CreatedAtT>(value));
166 return *this;
167 }
169
171
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
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)
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