AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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/core/utils/DateTime.h>
10#include <aws/bedrock-agent/model/FlowDefinition.h>
11#include <aws/bedrock-agent/model/FlowStatus.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& GetArn() const { return m_arn; }
45 template<typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
47 template<typename ArnT = Aws::String>
48 GetFlowResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
50
52
55 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
56 template<typename CreatedAtT = Aws::Utils::DateTime>
57 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
58 template<typename CreatedAtT = Aws::Utils::DateTime>
59 GetFlowResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
61
63
67 inline const Aws::String& GetCustomerEncryptionKeyArn() const { return m_customerEncryptionKeyArn; }
68 template<typename CustomerEncryptionKeyArnT = Aws::String>
69 void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { m_customerEncryptionKeyArnHasBeenSet = true; m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value); }
70 template<typename CustomerEncryptionKeyArnT = Aws::String>
71 GetFlowResult& WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { SetCustomerEncryptionKeyArn(std::forward<CustomerEncryptionKeyArnT>(value)); return *this;}
73
75
79 inline const FlowDefinition& GetDefinition() const { return m_definition; }
80 template<typename DefinitionT = FlowDefinition>
81 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
82 template<typename DefinitionT = FlowDefinition>
83 GetFlowResult& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
85
87
90 inline const Aws::String& GetDescription() const { return m_description; }
91 template<typename DescriptionT = Aws::String>
92 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
93 template<typename DescriptionT = Aws::String>
94 GetFlowResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
96
98
104 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
105 template<typename ExecutionRoleArnT = Aws::String>
106 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
107 template<typename ExecutionRoleArnT = Aws::String>
108 GetFlowResult& WithExecutionRoleArn(ExecutionRoleArnT&& value) { SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value)); return *this;}
110
112
115 inline const Aws::String& GetId() const { return m_id; }
116 template<typename IdT = Aws::String>
117 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
118 template<typename IdT = Aws::String>
119 GetFlowResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
121
123
126 inline const Aws::String& GetName() const { return m_name; }
127 template<typename NameT = Aws::String>
128 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
129 template<typename NameT = Aws::String>
130 GetFlowResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
132
134
151 inline FlowStatus GetStatus() const { return m_status; }
152 inline void SetStatus(FlowStatus value) { m_statusHasBeenSet = true; m_status = value; }
153 inline GetFlowResult& WithStatus(FlowStatus value) { SetStatus(value); return *this;}
155
157
160 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
161 template<typename UpdatedAtT = Aws::Utils::DateTime>
162 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
163 template<typename UpdatedAtT = Aws::Utils::DateTime>
164 GetFlowResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
166
168
172 inline const Aws::Vector<FlowValidation>& GetValidations() const { return m_validations; }
173 template<typename ValidationsT = Aws::Vector<FlowValidation>>
174 void SetValidations(ValidationsT&& value) { m_validationsHasBeenSet = true; m_validations = std::forward<ValidationsT>(value); }
175 template<typename ValidationsT = Aws::Vector<FlowValidation>>
176 GetFlowResult& WithValidations(ValidationsT&& value) { SetValidations(std::forward<ValidationsT>(value)); return *this;}
177 template<typename ValidationsT = FlowValidation>
178 GetFlowResult& AddValidations(ValidationsT&& value) { m_validationsHasBeenSet = true; m_validations.emplace_back(std::forward<ValidationsT>(value)); return *this; }
180
182
185 inline const Aws::String& GetVersion() const { return m_version; }
186 template<typename VersionT = Aws::String>
187 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
188 template<typename VersionT = Aws::String>
189 GetFlowResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(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_arn;
203 bool m_arnHasBeenSet = false;
204
205 Aws::Utils::DateTime m_createdAt{};
206 bool m_createdAtHasBeenSet = false;
207
208 Aws::String m_customerEncryptionKeyArn;
209 bool m_customerEncryptionKeyArnHasBeenSet = false;
210
211 FlowDefinition m_definition;
212 bool m_definitionHasBeenSet = false;
213
214 Aws::String m_description;
215 bool m_descriptionHasBeenSet = false;
216
217 Aws::String m_executionRoleArn;
218 bool m_executionRoleArnHasBeenSet = false;
219
220 Aws::String m_id;
221 bool m_idHasBeenSet = false;
222
223 Aws::String m_name;
224 bool m_nameHasBeenSet = false;
225
227 bool m_statusHasBeenSet = false;
228
229 Aws::Utils::DateTime m_updatedAt{};
230 bool m_updatedAtHasBeenSet = false;
231
232 Aws::Vector<FlowValidation> m_validations;
233 bool m_validationsHasBeenSet = false;
234
235 Aws::String m_version;
236 bool m_versionHasBeenSet = 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