AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateKxDataviewResult.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/core/utils/DateTime.h>
12#include <aws/finspace/model/KxDataviewStatus.h>
13#include <aws/finspace/model/KxDataviewSegmentConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace finspace
29{
30namespace Model
31{
33 {
34 public:
35 AWS_FINSPACE_API CreateKxDataviewResult() = default;
38
39
41
44 inline const Aws::String& GetDataviewName() const { return m_dataviewName; }
45 template<typename DataviewNameT = Aws::String>
46 void SetDataviewName(DataviewNameT&& value) { m_dataviewNameHasBeenSet = true; m_dataviewName = std::forward<DataviewNameT>(value); }
47 template<typename DataviewNameT = Aws::String>
48 CreateKxDataviewResult& WithDataviewName(DataviewNameT&& value) { SetDataviewName(std::forward<DataviewNameT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
56 template<typename DatabaseNameT = Aws::String>
57 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
58 template<typename DatabaseNameT = Aws::String>
59 CreateKxDataviewResult& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
61
63
67 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
68 template<typename EnvironmentIdT = Aws::String>
69 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
70 template<typename EnvironmentIdT = Aws::String>
71 CreateKxDataviewResult& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
73
75
80 inline KxAzMode GetAzMode() const { return m_azMode; }
81 inline void SetAzMode(KxAzMode value) { m_azModeHasBeenSet = true; m_azMode = value; }
82 inline CreateKxDataviewResult& WithAzMode(KxAzMode value) { SetAzMode(value); return *this;}
84
86
89 inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
90 template<typename AvailabilityZoneIdT = Aws::String>
91 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
92 template<typename AvailabilityZoneIdT = Aws::String>
93 CreateKxDataviewResult& WithAvailabilityZoneId(AvailabilityZoneIdT&& value) { SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value)); return *this;}
95
97
100 inline const Aws::String& GetChangesetId() const { return m_changesetId; }
101 template<typename ChangesetIdT = Aws::String>
102 void SetChangesetId(ChangesetIdT&& value) { m_changesetIdHasBeenSet = true; m_changesetId = std::forward<ChangesetIdT>(value); }
103 template<typename ChangesetIdT = Aws::String>
104 CreateKxDataviewResult& WithChangesetId(ChangesetIdT&& value) { SetChangesetId(std::forward<ChangesetIdT>(value)); return *this;}
106
108
115 inline const Aws::Vector<KxDataviewSegmentConfiguration>& GetSegmentConfigurations() const { return m_segmentConfigurations; }
116 template<typename SegmentConfigurationsT = Aws::Vector<KxDataviewSegmentConfiguration>>
117 void SetSegmentConfigurations(SegmentConfigurationsT&& value) { m_segmentConfigurationsHasBeenSet = true; m_segmentConfigurations = std::forward<SegmentConfigurationsT>(value); }
118 template<typename SegmentConfigurationsT = Aws::Vector<KxDataviewSegmentConfiguration>>
119 CreateKxDataviewResult& WithSegmentConfigurations(SegmentConfigurationsT&& value) { SetSegmentConfigurations(std::forward<SegmentConfigurationsT>(value)); return *this;}
120 template<typename SegmentConfigurationsT = KxDataviewSegmentConfiguration>
121 CreateKxDataviewResult& AddSegmentConfigurations(SegmentConfigurationsT&& value) { m_segmentConfigurationsHasBeenSet = true; m_segmentConfigurations.emplace_back(std::forward<SegmentConfigurationsT>(value)); return *this; }
123
125
128 inline const Aws::String& GetDescription() const { return m_description; }
129 template<typename DescriptionT = Aws::String>
130 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
131 template<typename DescriptionT = Aws::String>
132 CreateKxDataviewResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
134
136
141 inline bool GetAutoUpdate() const { return m_autoUpdate; }
142 inline void SetAutoUpdate(bool value) { m_autoUpdateHasBeenSet = true; m_autoUpdate = value; }
143 inline CreateKxDataviewResult& WithAutoUpdate(bool value) { SetAutoUpdate(value); return *this;}
145
147
151 inline bool GetReadWrite() const { return m_readWrite; }
152 inline void SetReadWrite(bool value) { m_readWriteHasBeenSet = true; m_readWrite = value; }
153 inline CreateKxDataviewResult& WithReadWrite(bool value) { SetReadWrite(value); return *this;}
155
157
162 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
163 template<typename CreatedTimestampT = Aws::Utils::DateTime>
164 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
165 template<typename CreatedTimestampT = Aws::Utils::DateTime>
166 CreateKxDataviewResult& WithCreatedTimestamp(CreatedTimestampT&& value) { SetCreatedTimestamp(std::forward<CreatedTimestampT>(value)); return *this;}
168
170
175 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
176 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
177 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value); }
178 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
179 CreateKxDataviewResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) { SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value)); return *this;}
181
183
189 inline KxDataviewStatus GetStatus() const { return m_status; }
190 inline void SetStatus(KxDataviewStatus value) { m_statusHasBeenSet = true; m_status = value; }
191 inline CreateKxDataviewResult& WithStatus(KxDataviewStatus value) { SetStatus(value); return *this;}
193
195
196 inline const Aws::String& GetRequestId() const { return m_requestId; }
197 template<typename RequestIdT = Aws::String>
198 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
199 template<typename RequestIdT = Aws::String>
200 CreateKxDataviewResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
202 private:
203
204 Aws::String m_dataviewName;
205 bool m_dataviewNameHasBeenSet = false;
206
207 Aws::String m_databaseName;
208 bool m_databaseNameHasBeenSet = false;
209
210 Aws::String m_environmentId;
211 bool m_environmentIdHasBeenSet = false;
212
213 KxAzMode m_azMode{KxAzMode::NOT_SET};
214 bool m_azModeHasBeenSet = false;
215
216 Aws::String m_availabilityZoneId;
217 bool m_availabilityZoneIdHasBeenSet = false;
218
219 Aws::String m_changesetId;
220 bool m_changesetIdHasBeenSet = false;
221
222 Aws::Vector<KxDataviewSegmentConfiguration> m_segmentConfigurations;
223 bool m_segmentConfigurationsHasBeenSet = false;
224
225 Aws::String m_description;
226 bool m_descriptionHasBeenSet = false;
227
228 bool m_autoUpdate{false};
229 bool m_autoUpdateHasBeenSet = false;
230
231 bool m_readWrite{false};
232 bool m_readWriteHasBeenSet = false;
233
234 Aws::Utils::DateTime m_createdTimestamp{};
235 bool m_createdTimestampHasBeenSet = false;
236
237 Aws::Utils::DateTime m_lastModifiedTimestamp{};
238 bool m_lastModifiedTimestampHasBeenSet = false;
239
241 bool m_statusHasBeenSet = false;
242
243 Aws::String m_requestId;
244 bool m_requestIdHasBeenSet = false;
245 };
246
247} // namespace Model
248} // namespace finspace
249} // namespace Aws
CreateKxDataviewResult & WithReadWrite(bool value)
void SetCreatedTimestamp(CreatedTimestampT &&value)
CreateKxDataviewResult & WithAzMode(KxAzMode value)
CreateKxDataviewResult & AddSegmentConfigurations(SegmentConfigurationsT &&value)
CreateKxDataviewResult & WithEnvironmentId(EnvironmentIdT &&value)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
void SetSegmentConfigurations(SegmentConfigurationsT &&value)
CreateKxDataviewResult & WithSegmentConfigurations(SegmentConfigurationsT &&value)
CreateKxDataviewResult & WithChangesetId(ChangesetIdT &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
CreateKxDataviewResult & WithDataviewName(DataviewNameT &&value)
AWS_FINSPACE_API CreateKxDataviewResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateKxDataviewResult & WithRequestId(RequestIdT &&value)
CreateKxDataviewResult & WithCreatedTimestamp(CreatedTimestampT &&value)
const Aws::Vector< KxDataviewSegmentConfiguration > & GetSegmentConfigurations() const
CreateKxDataviewResult & WithDatabaseName(DatabaseNameT &&value)
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
CreateKxDataviewResult & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
AWS_FINSPACE_API CreateKxDataviewResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_FINSPACE_API CreateKxDataviewResult()=default
CreateKxDataviewResult & WithDescription(DescriptionT &&value)
CreateKxDataviewResult & WithStatus(KxDataviewStatus value)
CreateKxDataviewResult & WithAutoUpdate(bool value)
CreateKxDataviewResult & WithLastModifiedTimestamp(LastModifiedTimestampT &&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