AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
FlowSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/FlowPublishState.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API FlowSummary() = default;
33 AWS_QUICKSIGHT_API FlowSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API FlowSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
49 FlowSummary& WithArn(ArnT&& value) {
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetFlowId() const { return m_flowId; }
60 inline bool FlowIdHasBeenSet() const { return m_flowIdHasBeenSet; }
61 template <typename FlowIdT = Aws::String>
62 void SetFlowId(FlowIdT&& value) {
63 m_flowIdHasBeenSet = true;
64 m_flowId = std::forward<FlowIdT>(value);
65 }
66 template <typename FlowIdT = Aws::String>
67 FlowSummary& WithFlowId(FlowIdT&& value) {
68 SetFlowId(std::forward<FlowIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template <typename NameT = Aws::String>
80 void SetName(NameT&& value) {
81 m_nameHasBeenSet = true;
82 m_name = std::forward<NameT>(value);
83 }
84 template <typename NameT = Aws::String>
85 FlowSummary& WithName(NameT&& value) {
86 SetName(std::forward<NameT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetDescription() const { return m_description; }
96 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97 template <typename DescriptionT = Aws::String>
98 void SetDescription(DescriptionT&& value) {
99 m_descriptionHasBeenSet = true;
100 m_description = std::forward<DescriptionT>(value);
101 }
102 template <typename DescriptionT = Aws::String>
103 FlowSummary& WithDescription(DescriptionT&& value) {
104 SetDescription(std::forward<DescriptionT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
114 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
115 template <typename CreatedTimeT = Aws::Utils::DateTime>
116 void SetCreatedTime(CreatedTimeT&& value) {
117 m_createdTimeHasBeenSet = true;
118 m_createdTime = std::forward<CreatedTimeT>(value);
119 }
120 template <typename CreatedTimeT = Aws::Utils::DateTime>
121 FlowSummary& WithCreatedTime(CreatedTimeT&& value) {
122 SetCreatedTime(std::forward<CreatedTimeT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
132 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
133 template <typename CreatedByT = Aws::String>
134 void SetCreatedBy(CreatedByT&& value) {
135 m_createdByHasBeenSet = true;
136 m_createdBy = std::forward<CreatedByT>(value);
137 }
138 template <typename CreatedByT = Aws::String>
139 FlowSummary& WithCreatedBy(CreatedByT&& value) {
140 SetCreatedBy(std::forward<CreatedByT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
150 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
151 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
152 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
153 m_lastUpdatedTimeHasBeenSet = true;
154 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
155 }
156 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
157 FlowSummary& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
158 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::String& GetLastUpdatedBy() const { return m_lastUpdatedBy; }
168 inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; }
169 template <typename LastUpdatedByT = Aws::String>
170 void SetLastUpdatedBy(LastUpdatedByT&& value) {
171 m_lastUpdatedByHasBeenSet = true;
172 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
173 }
174 template <typename LastUpdatedByT = Aws::String>
175 FlowSummary& WithLastUpdatedBy(LastUpdatedByT&& value) {
176 SetLastUpdatedBy(std::forward<LastUpdatedByT>(value));
177 return *this;
178 }
180
182
186 inline FlowPublishState GetPublishState() const { return m_publishState; }
187 inline bool PublishStateHasBeenSet() const { return m_publishStateHasBeenSet; }
189 m_publishStateHasBeenSet = true;
190 m_publishState = value;
191 }
193 SetPublishState(value);
194 return *this;
195 }
197
199
202 inline int GetRunCount() const { return m_runCount; }
203 inline bool RunCountHasBeenSet() const { return m_runCountHasBeenSet; }
204 inline void SetRunCount(int value) {
205 m_runCountHasBeenSet = true;
206 m_runCount = value;
207 }
208 inline FlowSummary& WithRunCount(int value) {
209 SetRunCount(value);
210 return *this;
211 }
213
215
218 inline int GetUserCount() const { return m_userCount; }
219 inline bool UserCountHasBeenSet() const { return m_userCountHasBeenSet; }
220 inline void SetUserCount(int value) {
221 m_userCountHasBeenSet = true;
222 m_userCount = value;
223 }
224 inline FlowSummary& WithUserCount(int value) {
225 SetUserCount(value);
226 return *this;
227 }
229
231
234 inline const Aws::String& GetLastPublishedBy() const { return m_lastPublishedBy; }
235 inline bool LastPublishedByHasBeenSet() const { return m_lastPublishedByHasBeenSet; }
236 template <typename LastPublishedByT = Aws::String>
237 void SetLastPublishedBy(LastPublishedByT&& value) {
238 m_lastPublishedByHasBeenSet = true;
239 m_lastPublishedBy = std::forward<LastPublishedByT>(value);
240 }
241 template <typename LastPublishedByT = Aws::String>
242 FlowSummary& WithLastPublishedBy(LastPublishedByT&& value) {
243 SetLastPublishedBy(std::forward<LastPublishedByT>(value));
244 return *this;
245 }
247
249
252 inline const Aws::Utils::DateTime& GetLastPublishedAt() const { return m_lastPublishedAt; }
253 inline bool LastPublishedAtHasBeenSet() const { return m_lastPublishedAtHasBeenSet; }
254 template <typename LastPublishedAtT = Aws::Utils::DateTime>
255 void SetLastPublishedAt(LastPublishedAtT&& value) {
256 m_lastPublishedAtHasBeenSet = true;
257 m_lastPublishedAt = std::forward<LastPublishedAtT>(value);
258 }
259 template <typename LastPublishedAtT = Aws::Utils::DateTime>
260 FlowSummary& WithLastPublishedAt(LastPublishedAtT&& value) {
261 SetLastPublishedAt(std::forward<LastPublishedAtT>(value));
262 return *this;
263 }
265 private:
266 Aws::String m_arn;
267
268 Aws::String m_flowId;
269
270 Aws::String m_name;
271
272 Aws::String m_description;
273
274 Aws::Utils::DateTime m_createdTime{};
275
276 Aws::String m_createdBy;
277
278 Aws::Utils::DateTime m_lastUpdatedTime{};
279
280 Aws::String m_lastUpdatedBy;
281
283
284 int m_runCount{0};
285
286 int m_userCount{0};
287
288 Aws::String m_lastPublishedBy;
289
290 Aws::Utils::DateTime m_lastPublishedAt{};
291 bool m_arnHasBeenSet = false;
292 bool m_flowIdHasBeenSet = false;
293 bool m_nameHasBeenSet = false;
294 bool m_descriptionHasBeenSet = false;
295 bool m_createdTimeHasBeenSet = false;
296 bool m_createdByHasBeenSet = false;
297 bool m_lastUpdatedTimeHasBeenSet = false;
298 bool m_lastUpdatedByHasBeenSet = false;
299 bool m_publishStateHasBeenSet = false;
300 bool m_runCountHasBeenSet = false;
301 bool m_userCountHasBeenSet = false;
302 bool m_lastPublishedByHasBeenSet = false;
303 bool m_lastPublishedAtHasBeenSet = false;
304};
305
306} // namespace Model
307} // namespace QuickSight
308} // namespace Aws
AWS_QUICKSIGHT_API FlowSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
FlowSummary & WithPublishState(FlowPublishState value)
void SetDescription(DescriptionT &&value)
Definition FlowSummary.h:98
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
void SetLastPublishedAt(LastPublishedAtT &&value)
const Aws::Utils::DateTime & GetLastPublishedAt() const
FlowSummary & WithCreatedTime(CreatedTimeT &&value)
void SetPublishState(FlowPublishState value)
FlowSummary & WithLastUpdatedBy(LastUpdatedByT &&value)
void SetLastUpdatedBy(LastUpdatedByT &&value)
void SetFlowId(FlowIdT &&value)
Definition FlowSummary.h:62
const Aws::String & GetLastUpdatedBy() const
const Aws::String & GetArn() const
Definition FlowSummary.h:41
AWS_QUICKSIGHT_API FlowSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLastPublishedBy(LastPublishedByT &&value)
FlowSummary & WithLastPublishedBy(LastPublishedByT &&value)
FlowSummary & WithName(NameT &&value)
Definition FlowSummary.h:85
const Aws::Utils::DateTime & GetLastUpdatedTime() const
FlowSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::String & GetLastPublishedBy() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
FlowSummary & WithRunCount(int value)
void SetCreatedTime(CreatedTimeT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
FlowSummary & WithLastPublishedAt(LastPublishedAtT &&value)
FlowSummary & WithArn(ArnT &&value)
Definition FlowSummary.h:49
const Aws::String & GetCreatedBy() const
const Aws::String & GetName() const
Definition FlowSummary.h:77
FlowPublishState GetPublishState() const
AWS_QUICKSIGHT_API FlowSummary()=default
const Aws::String & GetDescription() const
Definition FlowSummary.h:95
void SetCreatedBy(CreatedByT &&value)
FlowSummary & WithFlowId(FlowIdT &&value)
Definition FlowSummary.h:67
FlowSummary & WithDescription(DescriptionT &&value)
FlowSummary & WithCreatedBy(CreatedByT &&value)
const Aws::String & GetFlowId() const
Definition FlowSummary.h:59
FlowSummary & WithUserCount(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue