AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KxDataviewListEntry.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/model/KxAzMode.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/finspace/model/KxDataviewStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/finspace/model/KxDataviewSegmentConfiguration.h>
14#include <aws/finspace/model/KxDataviewActiveVersion.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace finspace
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_FINSPACE_API KxDataviewListEntry();
43 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
51 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
52 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
53 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
54 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
55 inline KxDataviewListEntry& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
56 inline KxDataviewListEntry& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
57 inline KxDataviewListEntry& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
59
61
64 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
65 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
66 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
67 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
68 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
69 inline KxDataviewListEntry& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
70 inline KxDataviewListEntry& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
71 inline KxDataviewListEntry& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
73
75
78 inline const Aws::String& GetDataviewName() const{ return m_dataviewName; }
79 inline bool DataviewNameHasBeenSet() const { return m_dataviewNameHasBeenSet; }
80 inline void SetDataviewName(const Aws::String& value) { m_dataviewNameHasBeenSet = true; m_dataviewName = value; }
81 inline void SetDataviewName(Aws::String&& value) { m_dataviewNameHasBeenSet = true; m_dataviewName = std::move(value); }
82 inline void SetDataviewName(const char* value) { m_dataviewNameHasBeenSet = true; m_dataviewName.assign(value); }
83 inline KxDataviewListEntry& WithDataviewName(const Aws::String& value) { SetDataviewName(value); return *this;}
84 inline KxDataviewListEntry& WithDataviewName(Aws::String&& value) { SetDataviewName(std::move(value)); return *this;}
85 inline KxDataviewListEntry& WithDataviewName(const char* value) { SetDataviewName(value); return *this;}
87
89
94 inline const KxAzMode& GetAzMode() const{ return m_azMode; }
95 inline bool AzModeHasBeenSet() const { return m_azModeHasBeenSet; }
96 inline void SetAzMode(const KxAzMode& value) { m_azModeHasBeenSet = true; m_azMode = value; }
97 inline void SetAzMode(KxAzMode&& value) { m_azModeHasBeenSet = true; m_azMode = std::move(value); }
98 inline KxDataviewListEntry& WithAzMode(const KxAzMode& value) { SetAzMode(value); return *this;}
99 inline KxDataviewListEntry& WithAzMode(KxAzMode&& value) { SetAzMode(std::move(value)); return *this;}
101
103
106 inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
107 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
108 inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; }
109 inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); }
110 inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); }
112 inline KxDataviewListEntry& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
113 inline KxDataviewListEntry& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
115
117
120 inline const Aws::String& GetChangesetId() const{ return m_changesetId; }
121 inline bool ChangesetIdHasBeenSet() const { return m_changesetIdHasBeenSet; }
122 inline void SetChangesetId(const Aws::String& value) { m_changesetIdHasBeenSet = true; m_changesetId = value; }
123 inline void SetChangesetId(Aws::String&& value) { m_changesetIdHasBeenSet = true; m_changesetId = std::move(value); }
124 inline void SetChangesetId(const char* value) { m_changesetIdHasBeenSet = true; m_changesetId.assign(value); }
125 inline KxDataviewListEntry& WithChangesetId(const Aws::String& value) { SetChangesetId(value); return *this;}
126 inline KxDataviewListEntry& WithChangesetId(Aws::String&& value) { SetChangesetId(std::move(value)); return *this;}
127 inline KxDataviewListEntry& WithChangesetId(const char* value) { SetChangesetId(value); return *this;}
129
131
138 inline const Aws::Vector<KxDataviewSegmentConfiguration>& GetSegmentConfigurations() const{ return m_segmentConfigurations; }
139 inline bool SegmentConfigurationsHasBeenSet() const { return m_segmentConfigurationsHasBeenSet; }
140 inline void SetSegmentConfigurations(const Aws::Vector<KxDataviewSegmentConfiguration>& value) { m_segmentConfigurationsHasBeenSet = true; m_segmentConfigurations = value; }
141 inline void SetSegmentConfigurations(Aws::Vector<KxDataviewSegmentConfiguration>&& value) { m_segmentConfigurationsHasBeenSet = true; m_segmentConfigurations = std::move(value); }
144 inline KxDataviewListEntry& AddSegmentConfigurations(const KxDataviewSegmentConfiguration& value) { m_segmentConfigurationsHasBeenSet = true; m_segmentConfigurations.push_back(value); return *this; }
145 inline KxDataviewListEntry& AddSegmentConfigurations(KxDataviewSegmentConfiguration&& value) { m_segmentConfigurationsHasBeenSet = true; m_segmentConfigurations.push_back(std::move(value)); return *this; }
147
149
152 inline const Aws::Vector<KxDataviewActiveVersion>& GetActiveVersions() const{ return m_activeVersions; }
153 inline bool ActiveVersionsHasBeenSet() const { return m_activeVersionsHasBeenSet; }
154 inline void SetActiveVersions(const Aws::Vector<KxDataviewActiveVersion>& value) { m_activeVersionsHasBeenSet = true; m_activeVersions = value; }
155 inline void SetActiveVersions(Aws::Vector<KxDataviewActiveVersion>&& value) { m_activeVersionsHasBeenSet = true; m_activeVersions = std::move(value); }
158 inline KxDataviewListEntry& AddActiveVersions(const KxDataviewActiveVersion& value) { m_activeVersionsHasBeenSet = true; m_activeVersions.push_back(value); return *this; }
159 inline KxDataviewListEntry& AddActiveVersions(KxDataviewActiveVersion&& value) { m_activeVersionsHasBeenSet = true; m_activeVersions.push_back(std::move(value)); return *this; }
161
163
166 inline const KxDataviewStatus& GetStatus() const{ return m_status; }
167 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
168 inline void SetStatus(const KxDataviewStatus& value) { m_statusHasBeenSet = true; m_status = value; }
169 inline void SetStatus(KxDataviewStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
170 inline KxDataviewListEntry& WithStatus(const KxDataviewStatus& value) { SetStatus(value); return *this;}
171 inline KxDataviewListEntry& WithStatus(KxDataviewStatus&& value) { SetStatus(std::move(value)); return *this;}
173
175
178 inline const Aws::String& GetDescription() const{ return m_description; }
179 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
180 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
181 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
182 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
183 inline KxDataviewListEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
184 inline KxDataviewListEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
185 inline KxDataviewListEntry& WithDescription(const char* value) { SetDescription(value); return *this;}
187
189
194 inline bool GetAutoUpdate() const{ return m_autoUpdate; }
195 inline bool AutoUpdateHasBeenSet() const { return m_autoUpdateHasBeenSet; }
196 inline void SetAutoUpdate(bool value) { m_autoUpdateHasBeenSet = true; m_autoUpdate = value; }
197 inline KxDataviewListEntry& WithAutoUpdate(bool value) { SetAutoUpdate(value); return *this;}
199
201
205 inline bool GetReadWrite() const{ return m_readWrite; }
206 inline bool ReadWriteHasBeenSet() const { return m_readWriteHasBeenSet; }
207 inline void SetReadWrite(bool value) { m_readWriteHasBeenSet = true; m_readWrite = value; }
208 inline KxDataviewListEntry& WithReadWrite(bool value) { SetReadWrite(value); return *this;}
210
212
217 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
218 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
219 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
220 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
222 inline KxDataviewListEntry& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
224
226
231 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const{ return m_lastModifiedTimestamp; }
232 inline bool LastModifiedTimestampHasBeenSet() const { return m_lastModifiedTimestampHasBeenSet; }
233 inline void SetLastModifiedTimestamp(const Aws::Utils::DateTime& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = value; }
234 inline void SetLastModifiedTimestamp(Aws::Utils::DateTime&& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = std::move(value); }
238
240
243 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
244 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
245 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
246 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
247 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
248 inline KxDataviewListEntry& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
249 inline KxDataviewListEntry& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
250 inline KxDataviewListEntry& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
252 private:
253
254 Aws::String m_environmentId;
255 bool m_environmentIdHasBeenSet = false;
256
257 Aws::String m_databaseName;
258 bool m_databaseNameHasBeenSet = false;
259
260 Aws::String m_dataviewName;
261 bool m_dataviewNameHasBeenSet = false;
262
263 KxAzMode m_azMode;
264 bool m_azModeHasBeenSet = false;
265
266 Aws::String m_availabilityZoneId;
267 bool m_availabilityZoneIdHasBeenSet = false;
268
269 Aws::String m_changesetId;
270 bool m_changesetIdHasBeenSet = false;
271
272 Aws::Vector<KxDataviewSegmentConfiguration> m_segmentConfigurations;
273 bool m_segmentConfigurationsHasBeenSet = false;
274
276 bool m_activeVersionsHasBeenSet = false;
277
278 KxDataviewStatus m_status;
279 bool m_statusHasBeenSet = false;
280
281 Aws::String m_description;
282 bool m_descriptionHasBeenSet = false;
283
284 bool m_autoUpdate;
285 bool m_autoUpdateHasBeenSet = false;
286
287 bool m_readWrite;
288 bool m_readWriteHasBeenSet = false;
289
290 Aws::Utils::DateTime m_createdTimestamp;
291 bool m_createdTimestampHasBeenSet = false;
292
293 Aws::Utils::DateTime m_lastModifiedTimestamp;
294 bool m_lastModifiedTimestampHasBeenSet = false;
295
296 Aws::String m_statusReason;
297 bool m_statusReasonHasBeenSet = false;
298 };
299
300} // namespace Model
301} // namespace finspace
302} // namespace Aws
bool ReadWriteHasBeenSet() const
const KxDataviewStatus & GetStatus() const
bool StatusReasonHasBeenSet() const
KxDataviewListEntry & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetEnvironmentId(const char *value)
const Aws::String & GetEnvironmentId() const
KxDataviewListEntry & WithChangesetId(const char *value)
KxDataviewListEntry & WithAvailabilityZoneId(const char *value)
void SetChangesetId(const char *value)
const Aws::String & GetChangesetId() const
KxDataviewListEntry & AddSegmentConfigurations(KxDataviewSegmentConfiguration &&value)
AWS_FINSPACE_API KxDataviewListEntry()
void SetStatusReason(Aws::String &&value)
void SetActiveVersions(Aws::Vector< KxDataviewActiveVersion > &&value)
bool AzModeHasBeenSet() const
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
const KxAzMode & GetAzMode() const
void SetDatabaseName(Aws::String &&value)
KxDataviewListEntry & WithStatusReason(const char *value)
bool GetReadWrite() const
const Aws::String & GetDatabaseName() const
KxDataviewListEntry & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetChangesetId(const Aws::String &value)
KxDataviewListEntry & WithStatusReason(Aws::String &&value)
bool EnvironmentIdHasBeenSet() const
KxDataviewListEntry & WithActiveVersions(Aws::Vector< KxDataviewActiveVersion > &&value)
void SetAutoUpdate(bool value)
bool AutoUpdateHasBeenSet() const
void SetDatabaseName(const char *value)
bool GetAutoUpdate() const
KxDataviewListEntry & WithEnvironmentId(const char *value)
void SetSegmentConfigurations(const Aws::Vector< KxDataviewSegmentConfiguration > &value)
void SetChangesetId(Aws::String &&value)
const Aws::Vector< KxDataviewActiveVersion > & GetActiveVersions() const
bool StatusHasBeenSet() const
void SetStatus(KxDataviewStatus &&value)
void SetAzMode(KxAzMode &&value)
void SetAvailabilityZoneId(const Aws::String &value)
KxDataviewListEntry & WithActiveVersions(const Aws::Vector< KxDataviewActiveVersion > &value)
bool SegmentConfigurationsHasBeenSet() const
KxDataviewListEntry & WithAzMode(const KxAzMode &value)
bool ChangesetIdHasBeenSet() const
bool LastModifiedTimestampHasBeenSet() const
const Aws::Vector< KxDataviewSegmentConfiguration > & GetSegmentConfigurations() const
bool ActiveVersionsHasBeenSet() const
KxDataviewListEntry & WithAvailabilityZoneId(const Aws::String &value)
AWS_FINSPACE_API KxDataviewListEntry(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedTimestamp(const Aws::Utils::DateTime &value)
KxDataviewListEntry & WithAvailabilityZoneId(Aws::String &&value)
KxDataviewListEntry & WithSegmentConfigurations(Aws::Vector< KxDataviewSegmentConfiguration > &&value)
void SetSegmentConfigurations(Aws::Vector< KxDataviewSegmentConfiguration > &&value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetStatusReason(const char *value)
bool AvailabilityZoneIdHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
AWS_FINSPACE_API KxDataviewListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
KxDataviewListEntry & WithDescription(Aws::String &&value)
KxDataviewListEntry & WithAzMode(KxAzMode &&value)
KxDataviewListEntry & WithAutoUpdate(bool value)
void SetDataviewName(const Aws::String &value)
void SetReadWrite(bool value)
void SetLastModifiedTimestamp(Aws::Utils::DateTime &&value)
KxDataviewListEntry & WithLastModifiedTimestamp(const Aws::Utils::DateTime &value)
bool DescriptionHasBeenSet() const
KxDataviewListEntry & WithDataviewName(Aws::String &&value)
KxDataviewListEntry & WithDatabaseName(const char *value)
void SetEnvironmentId(Aws::String &&value)
bool DatabaseNameHasBeenSet() const
KxDataviewListEntry & WithDatabaseName(Aws::String &&value)
KxDataviewListEntry & WithDataviewName(const Aws::String &value)
void SetDescription(const char *value)
KxDataviewListEntry & WithStatus(KxDataviewStatus &&value)
KxDataviewListEntry & WithDescription(const char *value)
void SetAvailabilityZoneId(Aws::String &&value)
void SetDataviewName(Aws::String &&value)
KxDataviewListEntry & AddSegmentConfigurations(const KxDataviewSegmentConfiguration &value)
KxDataviewListEntry & WithDescription(const Aws::String &value)
KxDataviewListEntry & WithStatusReason(const Aws::String &value)
const Aws::String & GetStatusReason() const
KxDataviewListEntry & WithChangesetId(Aws::String &&value)
KxDataviewListEntry & WithReadWrite(bool value)
KxDataviewListEntry & WithSegmentConfigurations(const Aws::Vector< KxDataviewSegmentConfiguration > &value)
void SetDescription(const Aws::String &value)
KxDataviewListEntry & AddActiveVersions(const KxDataviewActiveVersion &value)
const Aws::String & GetAvailabilityZoneId() const
KxDataviewListEntry & WithEnvironmentId(const Aws::String &value)
KxDataviewListEntry & WithChangesetId(const Aws::String &value)
KxDataviewListEntry & AddActiveVersions(KxDataviewActiveVersion &&value)
void SetEnvironmentId(const Aws::String &value)
void SetDataviewName(const char *value)
bool DataviewNameHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetDescription(Aws::String &&value)
KxDataviewListEntry & WithDatabaseName(const Aws::String &value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetDatabaseName(const Aws::String &value)
void SetStatus(const KxDataviewStatus &value)
KxDataviewListEntry & WithEnvironmentId(Aws::String &&value)
const Aws::String & GetDescription() const
KxDataviewListEntry & WithDataviewName(const char *value)
void SetAvailabilityZoneId(const char *value)
const Aws::String & GetDataviewName() const
KxDataviewListEntry & WithLastModifiedTimestamp(Aws::Utils::DateTime &&value)
bool CreatedTimestampHasBeenSet() const
void SetStatusReason(const Aws::String &value)
void SetAzMode(const KxAzMode &value)
void SetActiveVersions(const Aws::Vector< KxDataviewActiveVersion > &value)
KxDataviewListEntry & WithStatus(const KxDataviewStatus &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