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>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
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>
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>
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>
80 template<
typename DefinitionT = FlowDefinition>
81 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet =
true; m_definition = std::forward<DefinitionT>(value); }
82 template<
typename DefinitionT = FlowDefinition>
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>
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>
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>
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>
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>
173 template<
typename Val
idationsT = Aws::Vector<FlowVal
idation>>
174 void SetValidations(ValidationsT&& value) { m_validationsHasBeenSet =
true; m_validations = std::forward<ValidationsT>(value); }
175 template<
typename Val
idationsT = Aws::Vector<FlowVal
idation>>
177 template<
typename Val
idationsT = FlowVal
idation>
178 GetFlowResult&
AddValidations(ValidationsT&& value) { m_validationsHasBeenSet =
true; m_validations.emplace_back(std::forward<ValidationsT>(value));
return *
this; }
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>
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>
203 bool m_arnHasBeenSet =
false;
206 bool m_createdAtHasBeenSet =
false;
209 bool m_customerEncryptionKeyArnHasBeenSet =
false;
211 FlowDefinition m_definition;
212 bool m_definitionHasBeenSet =
false;
215 bool m_descriptionHasBeenSet =
false;
218 bool m_executionRoleArnHasBeenSet =
false;
221 bool m_idHasBeenSet =
false;
224 bool m_nameHasBeenSet =
false;
227 bool m_statusHasBeenSet =
false;
230 bool m_updatedAtHasBeenSet =
false;
233 bool m_validationsHasBeenSet =
false;
236 bool m_versionHasBeenSet =
false;
239 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue