AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
SpaceDetails.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/SpaceQuickSightResource.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
31 public:
32 AWS_QUICKSIGHT_API SpaceDetails() = default;
33 AWS_QUICKSIGHT_API SpaceDetails(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API SpaceDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
49 SpaceDetails& WithName(NameT&& value) {
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDescription() const { return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 template <typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) {
63 m_descriptionHasBeenSet = true;
64 m_description = std::forward<DescriptionT>(value);
65 }
66 template <typename DescriptionT = Aws::String>
67 SpaceDetails& WithDescription(DescriptionT&& value) {
68 SetDescription(std::forward<DescriptionT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Vector<SpaceQuickSightResource>& GetResources() const { return m_resources; }
78 inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; }
79 template <typename ResourcesT = Aws::Vector<SpaceQuickSightResource>>
80 void SetResources(ResourcesT&& value) {
81 m_resourcesHasBeenSet = true;
82 m_resources = std::forward<ResourcesT>(value);
83 }
84 template <typename ResourcesT = Aws::Vector<SpaceQuickSightResource>>
85 SpaceDetails& WithResources(ResourcesT&& value) {
86 SetResources(std::forward<ResourcesT>(value));
87 return *this;
88 }
89 template <typename ResourcesT = SpaceQuickSightResource>
90 SpaceDetails& AddResources(ResourcesT&& value) {
91 m_resourcesHasBeenSet = true;
92 m_resources.emplace_back(std::forward<ResourcesT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
102 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
103 template <typename CreatedAtT = Aws::Utils::DateTime>
104 void SetCreatedAt(CreatedAtT&& value) {
105 m_createdAtHasBeenSet = true;
106 m_createdAt = std::forward<CreatedAtT>(value);
107 }
108 template <typename CreatedAtT = Aws::Utils::DateTime>
109 SpaceDetails& WithCreatedAt(CreatedAtT&& value) {
110 SetCreatedAt(std::forward<CreatedAtT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
120 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
121 template <typename UpdatedAtT = Aws::Utils::DateTime>
122 void SetUpdatedAt(UpdatedAtT&& value) {
123 m_updatedAtHasBeenSet = true;
124 m_updatedAt = std::forward<UpdatedAtT>(value);
125 }
126 template <typename UpdatedAtT = Aws::Utils::DateTime>
127 SpaceDetails& WithUpdatedAt(UpdatedAtT&& value) {
128 SetUpdatedAt(std::forward<UpdatedAtT>(value));
129 return *this;
130 }
132
134
137 inline long long GetConsumedSourceSize() const { return m_consumedSourceSize; }
138 inline bool ConsumedSourceSizeHasBeenSet() const { return m_consumedSourceSizeHasBeenSet; }
139 inline void SetConsumedSourceSize(long long value) {
140 m_consumedSourceSizeHasBeenSet = true;
141 m_consumedSourceSize = value;
142 }
143 inline SpaceDetails& WithConsumedSourceSize(long long value) {
145 return *this;
146 }
148
150
153 inline int GetConsumedSourceDocCount() const { return m_consumedSourceDocCount; }
154 inline bool ConsumedSourceDocCountHasBeenSet() const { return m_consumedSourceDocCountHasBeenSet; }
155 inline void SetConsumedSourceDocCount(int value) {
156 m_consumedSourceDocCountHasBeenSet = true;
157 m_consumedSourceDocCount = value;
158 }
161 return *this;
162 }
164
166
169 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
170 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
171 template <typename CreatedByT = Aws::String>
172 void SetCreatedBy(CreatedByT&& value) {
173 m_createdByHasBeenSet = true;
174 m_createdBy = std::forward<CreatedByT>(value);
175 }
176 template <typename CreatedByT = Aws::String>
177 SpaceDetails& WithCreatedBy(CreatedByT&& value) {
178 SetCreatedBy(std::forward<CreatedByT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::String& GetCreatedByArn() const { return m_createdByArn; }
188 inline bool CreatedByArnHasBeenSet() const { return m_createdByArnHasBeenSet; }
189 template <typename CreatedByArnT = Aws::String>
190 void SetCreatedByArn(CreatedByArnT&& value) {
191 m_createdByArnHasBeenSet = true;
192 m_createdByArn = std::forward<CreatedByArnT>(value);
193 }
194 template <typename CreatedByArnT = Aws::String>
195 SpaceDetails& WithCreatedByArn(CreatedByArnT&& value) {
196 SetCreatedByArn(std::forward<CreatedByArnT>(value));
197 return *this;
198 }
200 private:
201 Aws::String m_name;
202
203 Aws::String m_description;
204
206
207 Aws::Utils::DateTime m_createdAt{};
208
209 Aws::Utils::DateTime m_updatedAt{};
210
211 long long m_consumedSourceSize{0};
212
213 int m_consumedSourceDocCount{0};
214
215 Aws::String m_createdBy;
216
217 Aws::String m_createdByArn;
218 bool m_nameHasBeenSet = false;
219 bool m_descriptionHasBeenSet = false;
220 bool m_resourcesHasBeenSet = false;
221 bool m_createdAtHasBeenSet = false;
222 bool m_updatedAtHasBeenSet = false;
223 bool m_consumedSourceSizeHasBeenSet = false;
224 bool m_consumedSourceDocCountHasBeenSet = false;
225 bool m_createdByHasBeenSet = false;
226 bool m_createdByArnHasBeenSet = false;
227};
228
229} // namespace Model
230} // namespace QuickSight
231} // namespace Aws
const Aws::String & GetDescription() const
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetUpdatedAt() const
SpaceDetails & WithDescription(DescriptionT &&value)
SpaceDetails & WithCreatedAt(CreatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
SpaceDetails & WithConsumedSourceDocCount(int value)
AWS_QUICKSIGHT_API SpaceDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResources(ResourcesT &&value)
void SetDescription(DescriptionT &&value)
SpaceDetails & WithResources(ResourcesT &&value)
void SetCreatedBy(CreatedByT &&value)
SpaceDetails & AddResources(ResourcesT &&value)
const Aws::String & GetCreatedBy() const
SpaceDetails & WithUpdatedAt(UpdatedAtT &&value)
void SetCreatedByArn(CreatedByArnT &&value)
AWS_QUICKSIGHT_API SpaceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConsumedSourceSize(long long value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetCreatedByArn() const
SpaceDetails & WithCreatedBy(CreatedByT &&value)
AWS_QUICKSIGHT_API SpaceDetails()=default
SpaceDetails & WithConsumedSourceSize(long long value)
const Aws::Vector< SpaceQuickSightResource > & GetResources() const
SpaceDetails & WithName(NameT &&value)
SpaceDetails & WithCreatedByArn(CreatedByArnT &&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