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>
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));
148 m_statusHasBeenSet =
true;
162 template <
typename CreatedAtT = Aws::Utils::DateTime>
164 m_createdAtHasBeenSet =
true;
165 m_createdAt = std::forward<CreatedAtT>(value);
167 template <
typename CreatedAtT = Aws::Utils::DateTime>
179 template <
typename UpdatedAtT = Aws::Utils::DateTime>
181 m_updatedAtHasBeenSet =
true;
182 m_updatedAt = std::forward<UpdatedAtT>(value);
184 template <
typename UpdatedAtT = Aws::Utils::DateTime>
197 template <
typename VersionT = Aws::String>
199 m_versionHasBeenSet =
true;
200 m_version = std::forward<VersionT>(value);
202 template <
typename VersionT = Aws::String>
214 template <
typename DefinitionT = FlowDefinition>
216 m_definitionHasBeenSet =
true;
217 m_definition = std::forward<DefinitionT>(value);
219 template <
typename DefinitionT = FlowDefinition>
229 template <
typename RequestIdT = Aws::String>
231 m_requestIdHasBeenSet =
true;
232 m_requestId = std::forward<RequestIdT>(value);
234 template <
typename RequestIdT = Aws::String>
263 FlowDefinition m_definition;
267 bool m_nameHasBeenSet =
false;
268 bool m_descriptionHasBeenSet =
false;
269 bool m_executionRoleArnHasBeenSet =
false;
270 bool m_customerEncryptionKeyArnHasBeenSet =
false;
271 bool m_idHasBeenSet =
false;
272 bool m_arnHasBeenSet =
false;
273 bool m_statusHasBeenSet =
false;
274 bool m_createdAtHasBeenSet =
false;
275 bool m_updatedAtHasBeenSet =
false;
276 bool m_versionHasBeenSet =
false;
277 bool m_definitionHasBeenSet =
false;
278 bool m_requestIdHasBeenSet =
false;
AWS_BEDROCKAGENT_API UpdateFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetId() const
void SetCreatedAt(CreatedAtT &&value)
UpdateFlowResult & WithCreatedAt(CreatedAtT &&value)
void SetArn(ArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateFlowResult & WithDescription(DescriptionT &&value)
const Aws::String & GetArn() const
UpdateFlowResult & WithId(IdT &&value)
const Aws::String & GetName() const
const Aws::String & GetExecutionRoleArn() const
UpdateFlowResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetCustomerEncryptionKeyArn() const
UpdateFlowResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCKAGENT_API UpdateFlowResult()=default
UpdateFlowResult & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
UpdateFlowResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
void SetDefinition(DefinitionT &&value)
UpdateFlowResult & WithName(NameT &&value)
void SetName(NameT &&value)
UpdateFlowResult & WithDefinition(DefinitionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateFlowResult & WithArn(ArnT &&value)
FlowStatus GetStatus() const
void SetStatus(FlowStatus value)
void SetRequestId(RequestIdT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetVersion() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
const FlowDefinition & GetDefinition() const
AWS_BEDROCKAGENT_API UpdateFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetDescription() const
void SetVersion(VersionT &&value)
UpdateFlowResult & WithVersion(VersionT &&value)
UpdateFlowResult & WithStatus(FlowStatus 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