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/http/HttpResponse.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace BedrockAgent {
40 template <
typename NameT = Aws::String>
42 m_nameHasBeenSet =
true;
43 m_name = std::forward<NameT>(value);
45 template <
typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
57 template <
typename DescriptionT = Aws::String>
59 m_descriptionHasBeenSet =
true;
60 m_description = std::forward<DescriptionT>(value);
62 template <
typename DescriptionT = Aws::String>
77 template <
typename ExecutionRoleArnT = Aws::String>
79 m_executionRoleArnHasBeenSet =
true;
80 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
82 template <
typename ExecutionRoleArnT = Aws::String>
95 template <
typename CustomerEncryptionKeyArnT = Aws::String>
97 m_customerEncryptionKeyArnHasBeenSet =
true;
98 m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value);
100 template <
typename CustomerEncryptionKeyArnT = Aws::String>
112 template <
typename IdT = Aws::String>
114 m_idHasBeenSet =
true;
115 m_id = std::forward<IdT>(value);
117 template <
typename IdT = Aws::String>
119 SetId(std::forward<IdT>(value));
129 template <
typename ArnT = Aws::String>
131 m_arnHasBeenSet =
true;
132 m_arn = std::forward<ArnT>(value);
134 template <
typename ArnT = Aws::String>
136 SetArn(std::forward<ArnT>(value));
161 m_statusHasBeenSet =
true;
175 template <
typename CreatedAtT = Aws::Utils::DateTime>
177 m_createdAtHasBeenSet =
true;
178 m_createdAt = std::forward<CreatedAtT>(value);
180 template <
typename CreatedAtT = Aws::Utils::DateTime>
192 template <
typename UpdatedAtT = Aws::Utils::DateTime>
194 m_updatedAtHasBeenSet =
true;
195 m_updatedAt = std::forward<UpdatedAtT>(value);
197 template <
typename UpdatedAtT = Aws::Utils::DateTime>
209 template <
typename VersionT = Aws::String>
211 m_versionHasBeenSet =
true;
212 m_version = std::forward<VersionT>(value);
214 template <
typename VersionT = Aws::String>
227 template <
typename DefinitionT = FlowDefinition>
229 m_definitionHasBeenSet =
true;
230 m_definition = std::forward<DefinitionT>(value);
232 template <
typename DefinitionT = FlowDefinition>
245 template <
typename Val
idationsT = Aws::Vector<FlowVal
idation>>
247 m_validationsHasBeenSet =
true;
248 m_validations = std::forward<ValidationsT>(value);
250 template <
typename Val
idationsT = Aws::Vector<FlowVal
idation>>
255 template <
typename Val
idationsT = FlowVal
idation>
257 m_validationsHasBeenSet =
true;
258 m_validations.emplace_back(std::forward<ValidationsT>(value));
266 template <
typename RequestIdT = Aws::String>
268 m_requestIdHasBeenSet =
true;
269 m_requestId = std::forward<RequestIdT>(value);
271 template <
typename RequestIdT = Aws::String>
300 FlowDefinition m_definition;
306 bool m_nameHasBeenSet =
false;
307 bool m_descriptionHasBeenSet =
false;
308 bool m_executionRoleArnHasBeenSet =
false;
309 bool m_customerEncryptionKeyArnHasBeenSet =
false;
310 bool m_idHasBeenSet =
false;
311 bool m_arnHasBeenSet =
false;
312 bool m_statusHasBeenSet =
false;
313 bool m_createdAtHasBeenSet =
false;
314 bool m_updatedAtHasBeenSet =
false;
315 bool m_versionHasBeenSet =
false;
316 bool m_definitionHasBeenSet =
false;
317 bool m_validationsHasBeenSet =
false;
318 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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