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/bedrock-agent/model/FlowValidation.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace BedrockAgent {
39 template <
typename NameT = Aws::String>
41 m_nameHasBeenSet =
true;
42 m_name = std::forward<NameT>(value);
44 template <
typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
56 template <
typename DescriptionT = Aws::String>
58 m_descriptionHasBeenSet =
true;
59 m_description = std::forward<DescriptionT>(value);
61 template <
typename DescriptionT = Aws::String>
76 template <
typename ExecutionRoleArnT = Aws::String>
78 m_executionRoleArnHasBeenSet =
true;
79 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
81 template <
typename ExecutionRoleArnT = Aws::String>
94 template <
typename CustomerEncryptionKeyArnT = Aws::String>
96 m_customerEncryptionKeyArnHasBeenSet =
true;
97 m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value);
99 template <
typename CustomerEncryptionKeyArnT = Aws::String>
111 template <
typename IdT = Aws::String>
113 m_idHasBeenSet =
true;
114 m_id = std::forward<IdT>(value);
116 template <
typename IdT = Aws::String>
118 SetId(std::forward<IdT>(value));
128 template <
typename ArnT = Aws::String>
130 m_arnHasBeenSet =
true;
131 m_arn = std::forward<ArnT>(value);
133 template <
typename ArnT = Aws::String>
135 SetArn(std::forward<ArnT>(value));
160 m_statusHasBeenSet =
true;
174 template <
typename CreatedAtT = Aws::Utils::DateTime>
176 m_createdAtHasBeenSet =
true;
177 m_createdAt = std::forward<CreatedAtT>(value);
179 template <
typename CreatedAtT = Aws::Utils::DateTime>
191 template <
typename UpdatedAtT = Aws::Utils::DateTime>
193 m_updatedAtHasBeenSet =
true;
194 m_updatedAt = std::forward<UpdatedAtT>(value);
196 template <
typename UpdatedAtT = Aws::Utils::DateTime>
208 template <
typename VersionT = Aws::String>
210 m_versionHasBeenSet =
true;
211 m_version = std::forward<VersionT>(value);
213 template <
typename VersionT = Aws::String>
226 template <
typename DefinitionT = FlowDefinition>
228 m_definitionHasBeenSet =
true;
229 m_definition = std::forward<DefinitionT>(value);
231 template <
typename DefinitionT = FlowDefinition>
244 template <
typename Val
idationsT = Aws::Vector<FlowVal
idation>>
246 m_validationsHasBeenSet =
true;
247 m_validations = std::forward<ValidationsT>(value);
249 template <
typename Val
idationsT = Aws::Vector<FlowVal
idation>>
254 template <
typename Val
idationsT = FlowVal
idation>
256 m_validationsHasBeenSet =
true;
257 m_validations.emplace_back(std::forward<ValidationsT>(value));
265 template <
typename RequestIdT = Aws::String>
267 m_requestIdHasBeenSet =
true;
268 m_requestId = std::forward<RequestIdT>(value);
270 template <
typename RequestIdT = Aws::String>
297 FlowDefinition m_definition;
302 bool m_nameHasBeenSet =
false;
303 bool m_descriptionHasBeenSet =
false;
304 bool m_executionRoleArnHasBeenSet =
false;
305 bool m_customerEncryptionKeyArnHasBeenSet =
false;
306 bool m_idHasBeenSet =
false;
307 bool m_arnHasBeenSet =
false;
308 bool m_statusHasBeenSet =
false;
309 bool m_createdAtHasBeenSet =
false;
310 bool m_updatedAtHasBeenSet =
false;
311 bool m_versionHasBeenSet =
false;
312 bool m_definitionHasBeenSet =
false;
313 bool m_validationsHasBeenSet =
false;
314 bool m_requestIdHasBeenSet =
false;
void SetStatus(FlowStatus value)
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 SetVersion(VersionT &&value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
GetFlowResult & WithDefinition(DefinitionT &&value)
FlowStatus GetStatus() const
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
void SetArn(ArnT &&value)
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)
void SetName(NameT &&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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue