AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
FlowExecutionSummary.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/FlowExecutionStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgentRuntime {
22namespace Model {
23
33 public:
34 AWS_BEDROCKAGENTRUNTIME_API FlowExecutionSummary() = default;
37 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
44 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
45 template <typename CreatedAtT = Aws::Utils::DateTime>
46 void SetCreatedAt(CreatedAtT&& value) {
47 m_createdAtHasBeenSet = true;
48 m_createdAt = std::forward<CreatedAtT>(value);
49 }
50 template <typename CreatedAtT = Aws::Utils::DateTime>
52 SetCreatedAt(std::forward<CreatedAtT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
63 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
64 template <typename EndedAtT = Aws::Utils::DateTime>
65 void SetEndedAt(EndedAtT&& value) {
66 m_endedAtHasBeenSet = true;
67 m_endedAt = std::forward<EndedAtT>(value);
68 }
69 template <typename EndedAtT = Aws::Utils::DateTime>
71 SetEndedAt(std::forward<EndedAtT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetExecutionArn() const { return m_executionArn; }
82 inline bool ExecutionArnHasBeenSet() const { return m_executionArnHasBeenSet; }
83 template <typename ExecutionArnT = Aws::String>
85 m_executionArnHasBeenSet = true;
86 m_executionArn = std::forward<ExecutionArnT>(value);
87 }
88 template <typename ExecutionArnT = Aws::String>
90 SetExecutionArn(std::forward<ExecutionArnT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetFlowAliasIdentifier() const { return m_flowAliasIdentifier; }
100 inline bool FlowAliasIdentifierHasBeenSet() const { return m_flowAliasIdentifierHasBeenSet; }
101 template <typename FlowAliasIdentifierT = Aws::String>
103 m_flowAliasIdentifierHasBeenSet = true;
104 m_flowAliasIdentifier = std::forward<FlowAliasIdentifierT>(value);
105 }
106 template <typename FlowAliasIdentifierT = Aws::String>
108 SetFlowAliasIdentifier(std::forward<FlowAliasIdentifierT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetFlowIdentifier() const { return m_flowIdentifier; }
118 inline bool FlowIdentifierHasBeenSet() const { return m_flowIdentifierHasBeenSet; }
119 template <typename FlowIdentifierT = Aws::String>
121 m_flowIdentifierHasBeenSet = true;
122 m_flowIdentifier = std::forward<FlowIdentifierT>(value);
123 }
124 template <typename FlowIdentifierT = Aws::String>
126 SetFlowIdentifier(std::forward<FlowIdentifierT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetFlowVersion() const { return m_flowVersion; }
136 inline bool FlowVersionHasBeenSet() const { return m_flowVersionHasBeenSet; }
137 template <typename FlowVersionT = Aws::String>
139 m_flowVersionHasBeenSet = true;
140 m_flowVersion = std::forward<FlowVersionT>(value);
141 }
142 template <typename FlowVersionT = Aws::String>
144 SetFlowVersion(std::forward<FlowVersionT>(value));
145 return *this;
146 }
148
150
154 inline FlowExecutionStatus GetStatus() const { return m_status; }
155 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
156 inline void SetStatus(FlowExecutionStatus value) {
157 m_statusHasBeenSet = true;
158 m_status = value;
159 }
161 SetStatus(value);
162 return *this;
163 }
165 private:
166 Aws::Utils::DateTime m_createdAt{};
167
168 Aws::Utils::DateTime m_endedAt{};
169
170 Aws::String m_executionArn;
171
172 Aws::String m_flowAliasIdentifier;
173
174 Aws::String m_flowIdentifier;
175
176 Aws::String m_flowVersion;
177
179 bool m_createdAtHasBeenSet = false;
180 bool m_endedAtHasBeenSet = false;
181 bool m_executionArnHasBeenSet = false;
182 bool m_flowAliasIdentifierHasBeenSet = false;
183 bool m_flowIdentifierHasBeenSet = false;
184 bool m_flowVersionHasBeenSet = false;
185 bool m_statusHasBeenSet = false;
186};
187
188} // namespace Model
189} // namespace BedrockAgentRuntime
190} // namespace Aws
FlowExecutionSummary & WithFlowAliasIdentifier(FlowAliasIdentifierT &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
FlowExecutionSummary & WithEndedAt(EndedAtT &&value)
FlowExecutionSummary & WithCreatedAt(CreatedAtT &&value)
FlowExecutionSummary & WithExecutionArn(ExecutionArnT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
FlowExecutionSummary & WithStatus(FlowExecutionStatus value)
AWS_BEDROCKAGENTRUNTIME_API FlowExecutionSummary()=default
FlowExecutionSummary & WithFlowVersion(FlowVersionT &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
FlowExecutionSummary & WithFlowIdentifier(FlowIdentifierT &&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