AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
FlowSummary.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FlowStatus.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 BedrockAgent {
22namespace Model {
23
30 public:
31 AWS_BEDROCKAGENT_API FlowSummary() = default;
32 AWS_BEDROCKAGENT_API FlowSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BEDROCKAGENT_API FlowSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 FlowSummary& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template <typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) {
62 m_descriptionHasBeenSet = true;
63 m_description = std::forward<DescriptionT>(value);
64 }
65 template <typename DescriptionT = Aws::String>
66 FlowSummary& WithDescription(DescriptionT&& value) {
67 SetDescription(std::forward<DescriptionT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetId() const { return m_id; }
77 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
78 template <typename IdT = Aws::String>
79 void SetId(IdT&& value) {
80 m_idHasBeenSet = true;
81 m_id = std::forward<IdT>(value);
82 }
83 template <typename IdT = Aws::String>
84 FlowSummary& WithId(IdT&& value) {
85 SetId(std::forward<IdT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetArn() const { return m_arn; }
95 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
96 template <typename ArnT = Aws::String>
97 void SetArn(ArnT&& value) {
98 m_arnHasBeenSet = true;
99 m_arn = std::forward<ArnT>(value);
100 }
101 template <typename ArnT = Aws::String>
102 FlowSummary& WithArn(ArnT&& value) {
103 SetArn(std::forward<ArnT>(value));
104 return *this;
105 }
107
109
126 inline FlowStatus GetStatus() const { return m_status; }
127 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
128 inline void SetStatus(FlowStatus value) {
129 m_statusHasBeenSet = true;
130 m_status = value;
131 }
133 SetStatus(value);
134 return *this;
135 }
137
139
142 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
143 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
144 template <typename CreatedAtT = Aws::Utils::DateTime>
145 void SetCreatedAt(CreatedAtT&& value) {
146 m_createdAtHasBeenSet = true;
147 m_createdAt = std::forward<CreatedAtT>(value);
148 }
149 template <typename CreatedAtT = Aws::Utils::DateTime>
150 FlowSummary& WithCreatedAt(CreatedAtT&& value) {
151 SetCreatedAt(std::forward<CreatedAtT>(value));
152 return *this;
153 }
155
157
160 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
161 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
162 template <typename UpdatedAtT = Aws::Utils::DateTime>
163 void SetUpdatedAt(UpdatedAtT&& value) {
164 m_updatedAtHasBeenSet = true;
165 m_updatedAt = std::forward<UpdatedAtT>(value);
166 }
167 template <typename UpdatedAtT = Aws::Utils::DateTime>
168 FlowSummary& WithUpdatedAt(UpdatedAtT&& value) {
169 SetUpdatedAt(std::forward<UpdatedAtT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::String& GetVersion() const { return m_version; }
179 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
180 template <typename VersionT = Aws::String>
181 void SetVersion(VersionT&& value) {
182 m_versionHasBeenSet = true;
183 m_version = std::forward<VersionT>(value);
184 }
185 template <typename VersionT = Aws::String>
186 FlowSummary& WithVersion(VersionT&& value) {
187 SetVersion(std::forward<VersionT>(value));
188 return *this;
189 }
191 private:
192 Aws::String m_name;
193 bool m_nameHasBeenSet = false;
194
195 Aws::String m_description;
196 bool m_descriptionHasBeenSet = false;
197
198 Aws::String m_id;
199 bool m_idHasBeenSet = false;
200
201 Aws::String m_arn;
202 bool m_arnHasBeenSet = false;
203
205 bool m_statusHasBeenSet = false;
206
207 Aws::Utils::DateTime m_createdAt{};
208 bool m_createdAtHasBeenSet = false;
209
210 Aws::Utils::DateTime m_updatedAt{};
211 bool m_updatedAtHasBeenSet = false;
212
213 Aws::String m_version;
214 bool m_versionHasBeenSet = false;
215};
216
217} // namespace Model
218} // namespace BedrockAgent
219} // namespace Aws
void SetUpdatedAt(UpdatedAtT &&value)
FlowSummary & WithDescription(DescriptionT &&value)
Definition FlowSummary.h:66
const Aws::String & GetName() const
Definition FlowSummary.h:40
const Aws::Utils::DateTime & GetUpdatedAt() const
FlowSummary & WithVersion(VersionT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
FlowSummary & WithStatus(FlowStatus value)
FlowSummary & WithArn(ArnT &&value)
const Aws::String & GetDescription() const
Definition FlowSummary.h:58
FlowSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_BEDROCKAGENT_API FlowSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
Definition FlowSummary.h:94
void SetDescription(DescriptionT &&value)
Definition FlowSummary.h:61
void SetVersion(VersionT &&value)
FlowSummary & WithId(IdT &&value)
Definition FlowSummary.h:84
FlowSummary & WithName(NameT &&value)
Definition FlowSummary.h:48
void SetCreatedAt(CreatedAtT &&value)
FlowSummary & WithCreatedAt(CreatedAtT &&value)
AWS_BEDROCKAGENT_API FlowSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API FlowSummary()=default
const Aws::String & GetVersion() const
const Aws::String & GetId() const
Definition FlowSummary.h:76
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue