AWS SDK for C++

AWS SDK for C++ Version 1.11.635

Loading...
Searching...
No Matches
GetFlowResult.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/bedrock-agent/model/FlowStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/bedrock-agent/model/FlowDefinition.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/bedrock-agent/model/FlowValidation.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace BedrockAgent
29{
30namespace Model
31{
33 {
34 public:
35 AWS_BEDROCKAGENT_API GetFlowResult() = default;
38
39
41
44 inline const Aws::String& GetName() const { return m_name; }
45 template<typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
47 template<typename NameT = Aws::String>
48 GetFlowResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 template<typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
58 template<typename DescriptionT = Aws::String>
59 GetFlowResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
61
63
69 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
70 template<typename ExecutionRoleArnT = Aws::String>
71 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
72 template<typename ExecutionRoleArnT = Aws::String>
73 GetFlowResult& WithExecutionRoleArn(ExecutionRoleArnT&& value) { SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value)); return *this;}
75
77
81 inline const Aws::String& GetCustomerEncryptionKeyArn() const { return m_customerEncryptionKeyArn; }
82 template<typename CustomerEncryptionKeyArnT = Aws::String>
83 void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { m_customerEncryptionKeyArnHasBeenSet = true; m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value); }
84 template<typename CustomerEncryptionKeyArnT = Aws::String>
85 GetFlowResult& WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { SetCustomerEncryptionKeyArn(std::forward<CustomerEncryptionKeyArnT>(value)); return *this;}
87
89
92 inline const Aws::String& GetId() const { return m_id; }
93 template<typename IdT = Aws::String>
94 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
95 template<typename IdT = Aws::String>
96 GetFlowResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
98
100
103 inline const Aws::String& GetArn() const { return m_arn; }
104 template<typename ArnT = Aws::String>
105 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
106 template<typename ArnT = Aws::String>
107 GetFlowResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
109
111
128 inline FlowStatus GetStatus() const { return m_status; }
129 inline void SetStatus(FlowStatus value) { m_statusHasBeenSet = true; m_status = value; }
130 inline GetFlowResult& WithStatus(FlowStatus value) { SetStatus(value); return *this;}
132
134
137 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
138 template<typename CreatedAtT = Aws::Utils::DateTime>
139 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
140 template<typename CreatedAtT = Aws::Utils::DateTime>
141 GetFlowResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
143
145
148 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
149 template<typename UpdatedAtT = Aws::Utils::DateTime>
150 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
151 template<typename UpdatedAtT = Aws::Utils::DateTime>
152 GetFlowResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
154
156
159 inline const Aws::String& GetVersion() const { return m_version; }
160 template<typename VersionT = Aws::String>
161 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
162 template<typename VersionT = Aws::String>
163 GetFlowResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
165
167
171 inline const FlowDefinition& GetDefinition() const { return m_definition; }
172 template<typename DefinitionT = FlowDefinition>
173 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
174 template<typename DefinitionT = FlowDefinition>
175 GetFlowResult& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
177
179
183 inline const Aws::Vector<FlowValidation>& GetValidations() const { return m_validations; }
184 template<typename ValidationsT = Aws::Vector<FlowValidation>>
185 void SetValidations(ValidationsT&& value) { m_validationsHasBeenSet = true; m_validations = std::forward<ValidationsT>(value); }
186 template<typename ValidationsT = Aws::Vector<FlowValidation>>
187 GetFlowResult& WithValidations(ValidationsT&& value) { SetValidations(std::forward<ValidationsT>(value)); return *this;}
188 template<typename ValidationsT = FlowValidation>
189 GetFlowResult& AddValidations(ValidationsT&& value) { m_validationsHasBeenSet = true; m_validations.emplace_back(std::forward<ValidationsT>(value)); return *this; }
191
193
194 inline const Aws::String& GetRequestId() const { return m_requestId; }
195 template<typename RequestIdT = Aws::String>
196 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
197 template<typename RequestIdT = Aws::String>
198 GetFlowResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
200 private:
201
202 Aws::String m_name;
203 bool m_nameHasBeenSet = false;
204
205 Aws::String m_description;
206 bool m_descriptionHasBeenSet = false;
207
208 Aws::String m_executionRoleArn;
209 bool m_executionRoleArnHasBeenSet = false;
210
211 Aws::String m_customerEncryptionKeyArn;
212 bool m_customerEncryptionKeyArnHasBeenSet = false;
213
214 Aws::String m_id;
215 bool m_idHasBeenSet = false;
216
217 Aws::String m_arn;
218 bool m_arnHasBeenSet = false;
219
221 bool m_statusHasBeenSet = false;
222
223 Aws::Utils::DateTime m_createdAt{};
224 bool m_createdAtHasBeenSet = false;
225
226 Aws::Utils::DateTime m_updatedAt{};
227 bool m_updatedAtHasBeenSet = false;
228
229 Aws::String m_version;
230 bool m_versionHasBeenSet = false;
231
232 FlowDefinition m_definition;
233 bool m_definitionHasBeenSet = false;
234
235 Aws::Vector<FlowValidation> m_validations;
236 bool m_validationsHasBeenSet = false;
237
238 Aws::String m_requestId;
239 bool m_requestIdHasBeenSet = false;
240 };
241
242} // namespace Model
243} // namespace BedrockAgent
244} // namespace Aws
const Aws::String & GetRequestId() const
const Aws::String & GetArn() const
GetFlowResult & WithVersion(VersionT &&value)
void SetDefinition(DefinitionT &&value)
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
const Aws::Vector< FlowValidation > & GetValidations() const
GetFlowResult & WithCreatedAt(CreatedAtT &&value)
const FlowDefinition & GetDefinition() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
GetFlowResult & WithDefinition(DefinitionT &&value)
const Aws::String & GetName() const
void SetValidations(ValidationsT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetFlowResult & WithDescription(DescriptionT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetCustomerEncryptionKeyArn() const
GetFlowResult & WithRequestId(RequestIdT &&value)
GetFlowResult & AddValidations(ValidationsT &&value)
GetFlowResult & WithStatus(FlowStatus value)
const Aws::String & GetDescription() const
AWS_BEDROCKAGENT_API GetFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
GetFlowResult & WithUpdatedAt(UpdatedAtT &&value)
GetFlowResult & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
GetFlowResult & WithName(NameT &&value)
AWS_BEDROCKAGENT_API GetFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetExecutionRoleArn() const
void SetDescription(DescriptionT &&value)
GetFlowResult & WithValidations(ValidationsT &&value)
const Aws::String & GetVersion() const
GetFlowResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::String & GetId() const
void SetRequestId(RequestIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
AWS_BEDROCKAGENT_API GetFlowResult()=default
GetFlowResult & WithId(IdT &&value)
GetFlowResult & WithArn(ArnT &&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