AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetFlowExecutionResult.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/bedrock-agent-runtime/model/FlowExecutionStatus.h>
12#include <aws/bedrock-agent-runtime/model/FlowExecutionError.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace BedrockAgentRuntime
28{
29namespace Model
30{
32 {
33 public:
34 AWS_BEDROCKAGENTRUNTIME_API GetFlowExecutionResult() = default;
37
38
40
44 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
45 template<typename EndedAtT = Aws::Utils::DateTime>
46 void SetEndedAt(EndedAtT&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::forward<EndedAtT>(value); }
47 template<typename EndedAtT = Aws::Utils::DateTime>
48 GetFlowExecutionResult& WithEndedAt(EndedAtT&& value) { SetEndedAt(std::forward<EndedAtT>(value)); return *this;}
50
52
57 inline const Aws::Vector<FlowExecutionError>& GetErrors() const { return m_errors; }
58 template<typename ErrorsT = Aws::Vector<FlowExecutionError>>
59 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors = std::forward<ErrorsT>(value); }
60 template<typename ErrorsT = Aws::Vector<FlowExecutionError>>
61 GetFlowExecutionResult& WithErrors(ErrorsT&& value) { SetErrors(std::forward<ErrorsT>(value)); return *this;}
62 template<typename ErrorsT = FlowExecutionError>
63 GetFlowExecutionResult& AddErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors.emplace_back(std::forward<ErrorsT>(value)); return *this; }
65
67
71 inline const Aws::String& GetExecutionArn() const { return m_executionArn; }
72 template<typename ExecutionArnT = Aws::String>
73 void SetExecutionArn(ExecutionArnT&& value) { m_executionArnHasBeenSet = true; m_executionArn = std::forward<ExecutionArnT>(value); }
74 template<typename ExecutionArnT = Aws::String>
75 GetFlowExecutionResult& WithExecutionArn(ExecutionArnT&& value) { SetExecutionArn(std::forward<ExecutionArnT>(value)); return *this;}
77
79
82 inline const Aws::String& GetFlowAliasIdentifier() const { return m_flowAliasIdentifier; }
83 template<typename FlowAliasIdentifierT = Aws::String>
84 void SetFlowAliasIdentifier(FlowAliasIdentifierT&& value) { m_flowAliasIdentifierHasBeenSet = true; m_flowAliasIdentifier = std::forward<FlowAliasIdentifierT>(value); }
85 template<typename FlowAliasIdentifierT = Aws::String>
86 GetFlowExecutionResult& WithFlowAliasIdentifier(FlowAliasIdentifierT&& value) { SetFlowAliasIdentifier(std::forward<FlowAliasIdentifierT>(value)); return *this;}
88
90
93 inline const Aws::String& GetFlowIdentifier() const { return m_flowIdentifier; }
94 template<typename FlowIdentifierT = Aws::String>
95 void SetFlowIdentifier(FlowIdentifierT&& value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier = std::forward<FlowIdentifierT>(value); }
96 template<typename FlowIdentifierT = Aws::String>
97 GetFlowExecutionResult& WithFlowIdentifier(FlowIdentifierT&& value) { SetFlowIdentifier(std::forward<FlowIdentifierT>(value)); return *this;}
99
101
104 inline const Aws::String& GetFlowVersion() const { return m_flowVersion; }
105 template<typename FlowVersionT = Aws::String>
106 void SetFlowVersion(FlowVersionT&& value) { m_flowVersionHasBeenSet = true; m_flowVersion = std::forward<FlowVersionT>(value); }
107 template<typename FlowVersionT = Aws::String>
108 GetFlowExecutionResult& WithFlowVersion(FlowVersionT&& value) { SetFlowVersion(std::forward<FlowVersionT>(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
116 template<typename StartedAtT = Aws::Utils::DateTime>
117 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::forward<StartedAtT>(value); }
118 template<typename StartedAtT = Aws::Utils::DateTime>
119 GetFlowExecutionResult& WithStartedAt(StartedAtT&& value) { SetStartedAt(std::forward<StartedAtT>(value)); return *this;}
121
123
127 inline FlowExecutionStatus GetStatus() const { return m_status; }
128 inline void SetStatus(FlowExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
129 inline GetFlowExecutionResult& WithStatus(FlowExecutionStatus value) { SetStatus(value); return *this;}
131
133
134 inline const Aws::String& GetRequestId() const { return m_requestId; }
135 template<typename RequestIdT = Aws::String>
136 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
137 template<typename RequestIdT = Aws::String>
138 GetFlowExecutionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
140 private:
141
142 Aws::Utils::DateTime m_endedAt{};
143 bool m_endedAtHasBeenSet = false;
144
146 bool m_errorsHasBeenSet = false;
147
148 Aws::String m_executionArn;
149 bool m_executionArnHasBeenSet = false;
150
151 Aws::String m_flowAliasIdentifier;
152 bool m_flowAliasIdentifierHasBeenSet = false;
153
154 Aws::String m_flowIdentifier;
155 bool m_flowIdentifierHasBeenSet = false;
156
157 Aws::String m_flowVersion;
158 bool m_flowVersionHasBeenSet = false;
159
160 Aws::Utils::DateTime m_startedAt{};
161 bool m_startedAtHasBeenSet = false;
162
164 bool m_statusHasBeenSet = false;
165
166 Aws::String m_requestId;
167 bool m_requestIdHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace BedrockAgentRuntime
172} // namespace Aws
GetFlowExecutionResult & WithExecutionArn(ExecutionArnT &&value)
GetFlowExecutionResult & WithFlowIdentifier(FlowIdentifierT &&value)
GetFlowExecutionResult & AddErrors(ErrorsT &&value)
GetFlowExecutionResult & WithStatus(FlowExecutionStatus value)
GetFlowExecutionResult & WithStartedAt(StartedAtT &&value)
GetFlowExecutionResult & WithFlowVersion(FlowVersionT &&value)
AWS_BEDROCKAGENTRUNTIME_API GetFlowExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKAGENTRUNTIME_API GetFlowExecutionResult()=default
GetFlowExecutionResult & WithFlowAliasIdentifier(FlowAliasIdentifierT &&value)
AWS_BEDROCKAGENTRUNTIME_API GetFlowExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFlowExecutionResult & WithRequestId(RequestIdT &&value)
GetFlowExecutionResult & WithEndedAt(EndedAtT &&value)
const Aws::Vector< FlowExecutionError > & GetErrors() const
GetFlowExecutionResult & WithErrors(ErrorsT &&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