AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
SpaceSummary.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
29 public:
30 AWS_QUICKSIGHT_API SpaceSummary() = default;
31 AWS_QUICKSIGHT_API SpaceSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API SpaceSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetSpaceId() const { return m_spaceId; }
40 inline bool SpaceIdHasBeenSet() const { return m_spaceIdHasBeenSet; }
41 template <typename SpaceIdT = Aws::String>
42 void SetSpaceId(SpaceIdT&& value) {
43 m_spaceIdHasBeenSet = true;
44 m_spaceId = std::forward<SpaceIdT>(value);
45 }
46 template <typename SpaceIdT = Aws::String>
47 SpaceSummary& WithSpaceId(SpaceIdT&& value) {
48 SetSpaceId(std::forward<SpaceIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetSpaceArn() const { return m_spaceArn; }
58 inline bool SpaceArnHasBeenSet() const { return m_spaceArnHasBeenSet; }
59 template <typename SpaceArnT = Aws::String>
60 void SetSpaceArn(SpaceArnT&& value) {
61 m_spaceArnHasBeenSet = true;
62 m_spaceArn = std::forward<SpaceArnT>(value);
63 }
64 template <typename SpaceArnT = Aws::String>
65 SpaceSummary& WithSpaceArn(SpaceArnT&& value) {
66 SetSpaceArn(std::forward<SpaceArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
83 SpaceSummary& WithName(NameT&& value) {
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template <typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) {
97 m_descriptionHasBeenSet = true;
98 m_description = std::forward<DescriptionT>(value);
99 }
100 template <typename DescriptionT = Aws::String>
101 SpaceSummary& WithDescription(DescriptionT&& value) {
102 SetDescription(std::forward<DescriptionT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
112 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
113 template <typename UpdatedAtT = Aws::Utils::DateTime>
114 void SetUpdatedAt(UpdatedAtT&& value) {
115 m_updatedAtHasBeenSet = true;
116 m_updatedAt = std::forward<UpdatedAtT>(value);
117 }
118 template <typename UpdatedAtT = Aws::Utils::DateTime>
119 SpaceSummary& WithUpdatedAt(UpdatedAtT&& value) {
120 SetUpdatedAt(std::forward<UpdatedAtT>(value));
121 return *this;
122 }
124
126
129 inline long long GetConsumedSourceSize() const { return m_consumedSourceSize; }
130 inline bool ConsumedSourceSizeHasBeenSet() const { return m_consumedSourceSizeHasBeenSet; }
131 inline void SetConsumedSourceSize(long long value) {
132 m_consumedSourceSizeHasBeenSet = true;
133 m_consumedSourceSize = value;
134 }
135 inline SpaceSummary& WithConsumedSourceSize(long long value) {
137 return *this;
138 }
140
142
145 inline int GetConsumedSourceDocCount() const { return m_consumedSourceDocCount; }
146 inline bool ConsumedSourceDocCountHasBeenSet() const { return m_consumedSourceDocCountHasBeenSet; }
147 inline void SetConsumedSourceDocCount(int value) {
148 m_consumedSourceDocCountHasBeenSet = true;
149 m_consumedSourceDocCount = value;
150 }
153 return *this;
154 }
156
158
161 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
162 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
163 template <typename CreatedAtT = Aws::Utils::DateTime>
164 void SetCreatedAt(CreatedAtT&& value) {
165 m_createdAtHasBeenSet = true;
166 m_createdAt = std::forward<CreatedAtT>(value);
167 }
168 template <typename CreatedAtT = Aws::Utils::DateTime>
169 SpaceSummary& WithCreatedAt(CreatedAtT&& value) {
170 SetCreatedAt(std::forward<CreatedAtT>(value));
171 return *this;
172 }
174
176
179 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
180 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
181 template <typename CreatedByT = Aws::String>
182 void SetCreatedBy(CreatedByT&& value) {
183 m_createdByHasBeenSet = true;
184 m_createdBy = std::forward<CreatedByT>(value);
185 }
186 template <typename CreatedByT = Aws::String>
187 SpaceSummary& WithCreatedBy(CreatedByT&& value) {
188 SetCreatedBy(std::forward<CreatedByT>(value));
189 return *this;
190 }
192
194
197 inline const Aws::String& GetCreatedByArn() const { return m_createdByArn; }
198 inline bool CreatedByArnHasBeenSet() const { return m_createdByArnHasBeenSet; }
199 template <typename CreatedByArnT = Aws::String>
200 void SetCreatedByArn(CreatedByArnT&& value) {
201 m_createdByArnHasBeenSet = true;
202 m_createdByArn = std::forward<CreatedByArnT>(value);
203 }
204 template <typename CreatedByArnT = Aws::String>
205 SpaceSummary& WithCreatedByArn(CreatedByArnT&& value) {
206 SetCreatedByArn(std::forward<CreatedByArnT>(value));
207 return *this;
208 }
210
212
215 inline int GetResourcesCount() const { return m_resourcesCount; }
216 inline bool ResourcesCountHasBeenSet() const { return m_resourcesCountHasBeenSet; }
217 inline void SetResourcesCount(int value) {
218 m_resourcesCountHasBeenSet = true;
219 m_resourcesCount = value;
220 }
221 inline SpaceSummary& WithResourcesCount(int value) {
222 SetResourcesCount(value);
223 return *this;
224 }
226 private:
227 Aws::String m_spaceId;
228
229 Aws::String m_spaceArn;
230
231 Aws::String m_name;
232
233 Aws::String m_description;
234
235 Aws::Utils::DateTime m_updatedAt{};
236
237 long long m_consumedSourceSize{0};
238
239 int m_consumedSourceDocCount{0};
240
241 Aws::Utils::DateTime m_createdAt{};
242
243 Aws::String m_createdBy;
244
245 Aws::String m_createdByArn;
246
247 int m_resourcesCount{0};
248 bool m_spaceIdHasBeenSet = false;
249 bool m_spaceArnHasBeenSet = false;
250 bool m_nameHasBeenSet = false;
251 bool m_descriptionHasBeenSet = false;
252 bool m_updatedAtHasBeenSet = false;
253 bool m_consumedSourceSizeHasBeenSet = false;
254 bool m_consumedSourceDocCountHasBeenSet = false;
255 bool m_createdAtHasBeenSet = false;
256 bool m_createdByHasBeenSet = false;
257 bool m_createdByArnHasBeenSet = false;
258 bool m_resourcesCountHasBeenSet = false;
259};
260
261} // namespace Model
262} // namespace QuickSight
263} // namespace Aws
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetCreatedBy() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetName() const
SpaceSummary & WithResourcesCount(int value)
SpaceSummary & WithCreatedBy(CreatedByT &&value)
SpaceSummary & WithConsumedSourceDocCount(int value)
void SetCreatedByArn(CreatedByArnT &&value)
const Aws::String & GetSpaceArn() const
SpaceSummary & WithConsumedSourceSize(long long value)
SpaceSummary & WithDescription(DescriptionT &&value)
void SetSpaceId(SpaceIdT &&value)
SpaceSummary & WithSpaceArn(SpaceArnT &&value)
const Aws::String & GetCreatedByArn() const
void SetDescription(DescriptionT &&value)
void SetCreatedBy(CreatedByT &&value)
SpaceSummary & WithName(NameT &&value)
const Aws::String & GetDescription() const
void SetConsumedSourceSize(long long value)
void SetSpaceArn(SpaceArnT &&value)
const Aws::String & GetSpaceId() const
SpaceSummary & WithCreatedAt(CreatedAtT &&value)
SpaceSummary & WithCreatedByArn(CreatedByArnT &&value)
AWS_QUICKSIGHT_API SpaceSummary()=default
AWS_QUICKSIGHT_API SpaceSummary(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedAt(UpdatedAtT &&value)
SpaceSummary & WithUpdatedAt(UpdatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
AWS_QUICKSIGHT_API SpaceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SpaceSummary & WithSpaceId(SpaceIdT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue