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/core/http/HttpResponse.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace BedrockAgent {
38 template <
typename NameT = Aws::String>
40 m_nameHasBeenSet =
true;
41 m_name = std::forward<NameT>(value);
43 template <
typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
55 template <
typename DescriptionT = Aws::String>
57 m_descriptionHasBeenSet =
true;
58 m_description = std::forward<DescriptionT>(value);
60 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>
93 template <
typename CustomerEncryptionKeyArnT = Aws::String>
95 m_customerEncryptionKeyArnHasBeenSet =
true;
96 m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value);
98 template <
typename CustomerEncryptionKeyArnT = Aws::String>
110 template <
typename IdT = Aws::String>
112 m_idHasBeenSet =
true;
113 m_id = std::forward<IdT>(value);
115 template <
typename IdT = Aws::String>
117 SetId(std::forward<IdT>(value));
127 template <
typename ArnT = Aws::String>
129 m_arnHasBeenSet =
true;
130 m_arn = std::forward<ArnT>(value);
132 template <
typename ArnT = Aws::String>
134 SetArn(std::forward<ArnT>(value));
145 m_statusHasBeenSet =
true;
159 template <
typename CreatedAtT = Aws::Utils::DateTime>
161 m_createdAtHasBeenSet =
true;
162 m_createdAt = std::forward<CreatedAtT>(value);
164 template <
typename CreatedAtT = Aws::Utils::DateTime>
177 template <
typename VersionT = Aws::String>
179 m_versionHasBeenSet =
true;
180 m_version = std::forward<VersionT>(value);
182 template <
typename VersionT = Aws::String>
194 template <
typename DefinitionT = FlowDefinition>
196 m_definitionHasBeenSet =
true;
197 m_definition = std::forward<DefinitionT>(value);
199 template <
typename DefinitionT = FlowDefinition>
209 template <
typename RequestIdT = Aws::String>
211 m_requestIdHasBeenSet =
true;
212 m_requestId = std::forward<RequestIdT>(value);
214 template <
typename RequestIdT = Aws::String>
241 FlowDefinition m_definition;
245 bool m_nameHasBeenSet =
false;
246 bool m_descriptionHasBeenSet =
false;
247 bool m_executionRoleArnHasBeenSet =
false;
248 bool m_customerEncryptionKeyArnHasBeenSet =
false;
249 bool m_idHasBeenSet =
false;
250 bool m_arnHasBeenSet =
false;
251 bool m_statusHasBeenSet =
false;
252 bool m_createdAtHasBeenSet =
false;
253 bool m_versionHasBeenSet =
false;
254 bool m_definitionHasBeenSet =
false;
255 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetArn() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetCustomerEncryptionKeyArn() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_BEDROCKAGENT_API CreateFlowVersionResult()=default
AWS_BEDROCKAGENT_API CreateFlowVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFlowVersionResult & WithId(IdT &&value)
CreateFlowVersionResult & WithName(NameT &&value)
void SetVersion(VersionT &&value)
CreateFlowVersionResult & WithCreatedAt(CreatedAtT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const FlowDefinition & GetDefinition() const
CreateFlowVersionResult & WithRequestId(RequestIdT &&value)
CreateFlowVersionResult & WithVersion(VersionT &&value)
CreateFlowVersionResult & WithDefinition(DefinitionT &&value)
const Aws::String & GetExecutionRoleArn() const
void SetDescription(DescriptionT &&value)
void SetStatus(FlowStatus value)
const Aws::String & GetDescription() const
const Aws::String & GetRequestId() const
CreateFlowVersionResult & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
const Aws::String & GetName() const
FlowStatus GetStatus() const
CreateFlowVersionResult & WithDescription(DescriptionT &&value)
CreateFlowVersionResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
void SetArn(ArnT &&value)
CreateFlowVersionResult & WithArn(ArnT &&value)
const Aws::String & GetId() const
void SetRequestId(RequestIdT &&value)
void SetDefinition(DefinitionT &&value)
AWS_BEDROCKAGENT_API CreateFlowVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFlowVersionResult & WithStatus(FlowStatus value)
void SetName(NameT &&value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::String & GetVersion() const
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue