7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/FlowExecutionError.h>
9#include <aws/bedrock-agent-runtime/model/FlowExecutionStatus.h>
10#include <aws/core/http/HttpResponse.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 BedrockAgentRuntime {
40 template <
typename EndedAtT = Aws::Utils::DateTime>
42 m_endedAtHasBeenSet =
true;
43 m_endedAt = std::forward<EndedAtT>(value);
45 template <
typename EndedAtT = Aws::Utils::DateTime>
59 template <
typename ErrorsT = Aws::Vector<FlowExecutionError>>
61 m_errorsHasBeenSet =
true;
62 m_errors = std::forward<ErrorsT>(value);
64 template <
typename ErrorsT = Aws::Vector<FlowExecutionError>>
69 template <
typename ErrorsT = FlowExecutionError>
71 m_errorsHasBeenSet =
true;
72 m_errors.emplace_back(std::forward<ErrorsT>(value));
83 template <
typename ExecutionArnT = Aws::String>
85 m_executionArnHasBeenSet =
true;
86 m_executionArn = std::forward<ExecutionArnT>(value);
88 template <
typename ExecutionArnT = Aws::String>
100 template <
typename FlowAliasIdentifierT = Aws::String>
102 m_flowAliasIdentifierHasBeenSet =
true;
103 m_flowAliasIdentifier = std::forward<FlowAliasIdentifierT>(value);
105 template <
typename FlowAliasIdentifierT = Aws::String>
117 template <
typename FlowIdentifierT = Aws::String>
119 m_flowIdentifierHasBeenSet =
true;
120 m_flowIdentifier = std::forward<FlowIdentifierT>(value);
122 template <
typename FlowIdentifierT = Aws::String>
134 template <
typename FlowVersionT = Aws::String>
136 m_flowVersionHasBeenSet =
true;
137 m_flowVersion = std::forward<FlowVersionT>(value);
139 template <
typename FlowVersionT = Aws::String>
151 template <
typename StartedAtT = Aws::Utils::DateTime>
153 m_startedAtHasBeenSet =
true;
154 m_startedAt = std::forward<StartedAtT>(value);
156 template <
typename StartedAtT = Aws::Utils::DateTime>
170 m_statusHasBeenSet =
true;
182 template <
typename RequestIdT = Aws::String>
184 m_requestIdHasBeenSet =
true;
185 m_requestId = std::forward<RequestIdT>(value);
187 template <
typename RequestIdT = Aws::String>
214 bool m_endedAtHasBeenSet =
false;
215 bool m_errorsHasBeenSet =
false;
216 bool m_executionArnHasBeenSet =
false;
217 bool m_flowAliasIdentifierHasBeenSet =
false;
218 bool m_flowIdentifierHasBeenSet =
false;
219 bool m_flowVersionHasBeenSet =
false;
220 bool m_startedAtHasBeenSet =
false;
221 bool m_statusHasBeenSet =
false;
222 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetFlowAliasIdentifier() const
GetFlowExecutionResult & WithExecutionArn(ExecutionArnT &&value)
const Aws::String & GetRequestId() const
FlowExecutionStatus GetStatus() const
const Aws::String & GetFlowVersion() const
GetFlowExecutionResult & WithFlowIdentifier(FlowIdentifierT &&value)
GetFlowExecutionResult & AddErrors(ErrorsT &&value)
GetFlowExecutionResult & WithStatus(FlowExecutionStatus value)
void SetStatus(FlowExecutionStatus value)
GetFlowExecutionResult & WithStartedAt(StartedAtT &&value)
void SetFlowAliasIdentifier(FlowAliasIdentifierT &&value)
GetFlowExecutionResult & WithFlowVersion(FlowVersionT &&value)
const Aws::Utils::DateTime & GetEndedAt() const
void SetRequestId(RequestIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API GetFlowExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKAGENTRUNTIME_API GetFlowExecutionResult()=default
void SetExecutionArn(ExecutionArnT &&value)
void SetFlowIdentifier(FlowIdentifierT &&value)
void SetFlowVersion(FlowVersionT &&value)
GetFlowExecutionResult & WithFlowAliasIdentifier(FlowAliasIdentifierT &&value)
void SetEndedAt(EndedAtT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_BEDROCKAGENTRUNTIME_API GetFlowExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetExecutionArn() const
GetFlowExecutionResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetErrors(ErrorsT &&value)
GetFlowExecutionResult & WithEndedAt(EndedAtT &&value)
const Aws::String & GetFlowIdentifier() const
void SetStartedAt(StartedAtT &&value)
const Aws::Vector< FlowExecutionError > & GetErrors() const
GetFlowExecutionResult & WithErrors(ErrorsT &&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