AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
UpdateKxDataviewResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/finspace/Finspace_EXPORTS.h>
12#include <aws/finspace/model/KxAzMode.h>
13#include <aws/finspace/model/KxDataviewActiveVersion.h>
14#include <aws/finspace/model/KxDataviewSegmentConfiguration.h>
15#include <aws/finspace/model/KxDataviewStatus.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace finspace {
29namespace Model {
31 public:
32 AWS_FINSPACE_API UpdateKxDataviewResult() = default;
35
37
41 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
42 template <typename EnvironmentIdT = Aws::String>
43 void SetEnvironmentId(EnvironmentIdT&& value) {
44 m_environmentIdHasBeenSet = true;
45 m_environmentId = std::forward<EnvironmentIdT>(value);
46 }
47 template <typename EnvironmentIdT = Aws::String>
48 UpdateKxDataviewResult& WithEnvironmentId(EnvironmentIdT&& value) {
49 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
59 template <typename DatabaseNameT = Aws::String>
60 void SetDatabaseName(DatabaseNameT&& value) {
61 m_databaseNameHasBeenSet = true;
62 m_databaseName = std::forward<DatabaseNameT>(value);
63 }
64 template <typename DatabaseNameT = Aws::String>
65 UpdateKxDataviewResult& WithDatabaseName(DatabaseNameT&& value) {
66 SetDatabaseName(std::forward<DatabaseNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDataviewName() const { return m_dataviewName; }
76 template <typename DataviewNameT = Aws::String>
77 void SetDataviewName(DataviewNameT&& value) {
78 m_dataviewNameHasBeenSet = true;
79 m_dataviewName = std::forward<DataviewNameT>(value);
80 }
81 template <typename DataviewNameT = Aws::String>
82 UpdateKxDataviewResult& WithDataviewName(DataviewNameT&& value) {
83 SetDataviewName(std::forward<DataviewNameT>(value));
84 return *this;
85 }
87
89
94 inline KxAzMode GetAzMode() const { return m_azMode; }
95 inline void SetAzMode(KxAzMode value) {
96 m_azModeHasBeenSet = true;
97 m_azMode = value;
98 }
100 SetAzMode(value);
101 return *this;
102 }
104
106
109 inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
110 template <typename AvailabilityZoneIdT = Aws::String>
111 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) {
112 m_availabilityZoneIdHasBeenSet = true;
113 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
114 }
115 template <typename AvailabilityZoneIdT = Aws::String>
116 UpdateKxDataviewResult& WithAvailabilityZoneId(AvailabilityZoneIdT&& value) {
117 SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value));
118 return *this;
119 }
121
123
126 inline const Aws::String& GetChangesetId() const { return m_changesetId; }
127 template <typename ChangesetIdT = Aws::String>
128 void SetChangesetId(ChangesetIdT&& value) {
129 m_changesetIdHasBeenSet = true;
130 m_changesetId = std::forward<ChangesetIdT>(value);
131 }
132 template <typename ChangesetIdT = Aws::String>
134 SetChangesetId(std::forward<ChangesetIdT>(value));
135 return *this;
136 }
138
140
147 inline const Aws::Vector<KxDataviewSegmentConfiguration>& GetSegmentConfigurations() const { return m_segmentConfigurations; }
148 template <typename SegmentConfigurationsT = Aws::Vector<KxDataviewSegmentConfiguration>>
149 void SetSegmentConfigurations(SegmentConfigurationsT&& value) {
150 m_segmentConfigurationsHasBeenSet = true;
151 m_segmentConfigurations = std::forward<SegmentConfigurationsT>(value);
152 }
153 template <typename SegmentConfigurationsT = Aws::Vector<KxDataviewSegmentConfiguration>>
154 UpdateKxDataviewResult& WithSegmentConfigurations(SegmentConfigurationsT&& value) {
155 SetSegmentConfigurations(std::forward<SegmentConfigurationsT>(value));
156 return *this;
157 }
158 template <typename SegmentConfigurationsT = KxDataviewSegmentConfiguration>
159 UpdateKxDataviewResult& AddSegmentConfigurations(SegmentConfigurationsT&& value) {
160 m_segmentConfigurationsHasBeenSet = true;
161 m_segmentConfigurations.emplace_back(std::forward<SegmentConfigurationsT>(value));
162 return *this;
163 }
165
167
171 inline const Aws::Vector<KxDataviewActiveVersion>& GetActiveVersions() const { return m_activeVersions; }
172 template <typename ActiveVersionsT = Aws::Vector<KxDataviewActiveVersion>>
173 void SetActiveVersions(ActiveVersionsT&& value) {
174 m_activeVersionsHasBeenSet = true;
175 m_activeVersions = std::forward<ActiveVersionsT>(value);
176 }
177 template <typename ActiveVersionsT = Aws::Vector<KxDataviewActiveVersion>>
178 UpdateKxDataviewResult& WithActiveVersions(ActiveVersionsT&& value) {
179 SetActiveVersions(std::forward<ActiveVersionsT>(value));
180 return *this;
181 }
182 template <typename ActiveVersionsT = KxDataviewActiveVersion>
183 UpdateKxDataviewResult& AddActiveVersions(ActiveVersionsT&& value) {
184 m_activeVersionsHasBeenSet = true;
185 m_activeVersions.emplace_back(std::forward<ActiveVersionsT>(value));
186 return *this;
187 }
189
191
197 inline KxDataviewStatus GetStatus() const { return m_status; }
198 inline void SetStatus(KxDataviewStatus value) {
199 m_statusHasBeenSet = true;
200 m_status = value;
201 }
203 SetStatus(value);
204 return *this;
205 }
207
209
214 inline bool GetAutoUpdate() const { return m_autoUpdate; }
215 inline void SetAutoUpdate(bool value) {
216 m_autoUpdateHasBeenSet = true;
217 m_autoUpdate = value;
218 }
220 SetAutoUpdate(value);
221 return *this;
222 }
224
226
230 inline bool GetReadWrite() const { return m_readWrite; }
231 inline void SetReadWrite(bool value) {
232 m_readWriteHasBeenSet = true;
233 m_readWrite = value;
234 }
236 SetReadWrite(value);
237 return *this;
238 }
240
242
245 inline const Aws::String& GetDescription() const { return m_description; }
246 template <typename DescriptionT = Aws::String>
247 void SetDescription(DescriptionT&& value) {
248 m_descriptionHasBeenSet = true;
249 m_description = std::forward<DescriptionT>(value);
250 }
251 template <typename DescriptionT = Aws::String>
253 SetDescription(std::forward<DescriptionT>(value));
254 return *this;
255 }
257
259
264 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
265 template <typename CreatedTimestampT = Aws::Utils::DateTime>
266 void SetCreatedTimestamp(CreatedTimestampT&& value) {
267 m_createdTimestampHasBeenSet = true;
268 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
269 }
270 template <typename CreatedTimestampT = Aws::Utils::DateTime>
271 UpdateKxDataviewResult& WithCreatedTimestamp(CreatedTimestampT&& value) {
272 SetCreatedTimestamp(std::forward<CreatedTimestampT>(value));
273 return *this;
274 }
276
278
283 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
284 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
285 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) {
286 m_lastModifiedTimestampHasBeenSet = true;
287 m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value);
288 }
289 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
290 UpdateKxDataviewResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) {
291 SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value));
292 return *this;
293 }
295
297
298 inline const Aws::String& GetRequestId() const { return m_requestId; }
299 template <typename RequestIdT = Aws::String>
300 void SetRequestId(RequestIdT&& value) {
301 m_requestIdHasBeenSet = true;
302 m_requestId = std::forward<RequestIdT>(value);
303 }
304 template <typename RequestIdT = Aws::String>
306 SetRequestId(std::forward<RequestIdT>(value));
307 return *this;
308 }
310 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
311
312 private:
313 Aws::String m_environmentId;
314
315 Aws::String m_databaseName;
316
317 Aws::String m_dataviewName;
318
319 KxAzMode m_azMode{KxAzMode::NOT_SET};
320
321 Aws::String m_availabilityZoneId;
322
323 Aws::String m_changesetId;
324
325 Aws::Vector<KxDataviewSegmentConfiguration> m_segmentConfigurations;
326
328
330
331 bool m_autoUpdate{false};
332
333 bool m_readWrite{false};
334
335 Aws::String m_description;
336
337 Aws::Utils::DateTime m_createdTimestamp{};
338
339 Aws::Utils::DateTime m_lastModifiedTimestamp{};
340
341 Aws::String m_requestId;
342 Aws::Http::HttpResponseCode m_HttpResponseCode;
343 bool m_environmentIdHasBeenSet = false;
344 bool m_databaseNameHasBeenSet = false;
345 bool m_dataviewNameHasBeenSet = false;
346 bool m_azModeHasBeenSet = false;
347 bool m_availabilityZoneIdHasBeenSet = false;
348 bool m_changesetIdHasBeenSet = false;
349 bool m_segmentConfigurationsHasBeenSet = false;
350 bool m_activeVersionsHasBeenSet = false;
351 bool m_statusHasBeenSet = false;
352 bool m_autoUpdateHasBeenSet = false;
353 bool m_readWriteHasBeenSet = false;
354 bool m_descriptionHasBeenSet = false;
355 bool m_createdTimestampHasBeenSet = false;
356 bool m_lastModifiedTimestampHasBeenSet = false;
357 bool m_requestIdHasBeenSet = false;
358};
359
360} // namespace Model
361} // namespace finspace
362} // namespace Aws
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
UpdateKxDataviewResult & WithCreatedTimestamp(CreatedTimestampT &&value)
UpdateKxDataviewResult & WithSegmentConfigurations(SegmentConfigurationsT &&value)
UpdateKxDataviewResult & WithAutoUpdate(bool value)
UpdateKxDataviewResult & WithDataviewName(DataviewNameT &&value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
void SetSegmentConfigurations(SegmentConfigurationsT &&value)
void SetCreatedTimestamp(CreatedTimestampT &&value)
AWS_FINSPACE_API UpdateKxDataviewResult()=default
UpdateKxDataviewResult & WithAzMode(KxAzMode value)
UpdateKxDataviewResult & WithChangesetId(ChangesetIdT &&value)
UpdateKxDataviewResult & WithEnvironmentId(EnvironmentIdT &&value)
UpdateKxDataviewResult & WithDatabaseName(DatabaseNameT &&value)
UpdateKxDataviewResult & WithReadWrite(bool value)
UpdateKxDataviewResult & WithDescription(DescriptionT &&value)
UpdateKxDataviewResult & WithRequestId(RequestIdT &&value)
UpdateKxDataviewResult & WithStatus(KxDataviewStatus value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< KxDataviewActiveVersion > & GetActiveVersions() const
AWS_FINSPACE_API UpdateKxDataviewResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateKxDataviewResult & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
UpdateKxDataviewResult & AddActiveVersions(ActiveVersionsT &&value)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
const Aws::Vector< KxDataviewSegmentConfiguration > & GetSegmentConfigurations() const
UpdateKxDataviewResult & WithActiveVersions(ActiveVersionsT &&value)
UpdateKxDataviewResult & AddSegmentConfigurations(SegmentConfigurationsT &&value)
UpdateKxDataviewResult & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
AWS_FINSPACE_API UpdateKxDataviewResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue