AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateKxDataviewRequest.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/finspace/FinspaceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/finspace/model/KxAzMode.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/finspace/model/KxDataviewSegmentConfiguration.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace finspace
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_FINSPACE_API CreateKxDataviewRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateKxDataview"; }
36
37 AWS_FINSPACE_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
46 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
47 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
48 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
49 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
50 inline CreateKxDataviewRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
51 inline CreateKxDataviewRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
52 inline CreateKxDataviewRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
54
56
59 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
60 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
61 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
62 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
63 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
64 inline CreateKxDataviewRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
65 inline CreateKxDataviewRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
66 inline CreateKxDataviewRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
68
70
73 inline const Aws::String& GetDataviewName() const{ return m_dataviewName; }
74 inline bool DataviewNameHasBeenSet() const { return m_dataviewNameHasBeenSet; }
75 inline void SetDataviewName(const Aws::String& value) { m_dataviewNameHasBeenSet = true; m_dataviewName = value; }
76 inline void SetDataviewName(Aws::String&& value) { m_dataviewNameHasBeenSet = true; m_dataviewName = std::move(value); }
77 inline void SetDataviewName(const char* value) { m_dataviewNameHasBeenSet = true; m_dataviewName.assign(value); }
78 inline CreateKxDataviewRequest& WithDataviewName(const Aws::String& value) { SetDataviewName(value); return *this;}
79 inline CreateKxDataviewRequest& WithDataviewName(Aws::String&& value) { SetDataviewName(std::move(value)); return *this;}
80 inline CreateKxDataviewRequest& WithDataviewName(const char* value) { SetDataviewName(value); return *this;}
82
84
89 inline const KxAzMode& GetAzMode() const{ return m_azMode; }
90 inline bool AzModeHasBeenSet() const { return m_azModeHasBeenSet; }
91 inline void SetAzMode(const KxAzMode& value) { m_azModeHasBeenSet = true; m_azMode = value; }
92 inline void SetAzMode(KxAzMode&& value) { m_azModeHasBeenSet = true; m_azMode = std::move(value); }
93 inline CreateKxDataviewRequest& WithAzMode(const KxAzMode& value) { SetAzMode(value); return *this;}
94 inline CreateKxDataviewRequest& WithAzMode(KxAzMode&& value) { SetAzMode(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
102 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
103 inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; }
104 inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); }
105 inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); }
107 inline CreateKxDataviewRequest& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
108 inline CreateKxDataviewRequest& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
110
112
116 inline const Aws::String& GetChangesetId() const{ return m_changesetId; }
117 inline bool ChangesetIdHasBeenSet() const { return m_changesetIdHasBeenSet; }
118 inline void SetChangesetId(const Aws::String& value) { m_changesetIdHasBeenSet = true; m_changesetId = value; }
119 inline void SetChangesetId(Aws::String&& value) { m_changesetIdHasBeenSet = true; m_changesetId = std::move(value); }
120 inline void SetChangesetId(const char* value) { m_changesetIdHasBeenSet = true; m_changesetId.assign(value); }
121 inline CreateKxDataviewRequest& WithChangesetId(const Aws::String& value) { SetChangesetId(value); return *this;}
122 inline CreateKxDataviewRequest& WithChangesetId(Aws::String&& value) { SetChangesetId(std::move(value)); return *this;}
123 inline CreateKxDataviewRequest& WithChangesetId(const char* value) { SetChangesetId(value); return *this;}
125
127
134 inline const Aws::Vector<KxDataviewSegmentConfiguration>& GetSegmentConfigurations() const{ return m_segmentConfigurations; }
135 inline bool SegmentConfigurationsHasBeenSet() const { return m_segmentConfigurationsHasBeenSet; }
136 inline void SetSegmentConfigurations(const Aws::Vector<KxDataviewSegmentConfiguration>& value) { m_segmentConfigurationsHasBeenSet = true; m_segmentConfigurations = value; }
137 inline void SetSegmentConfigurations(Aws::Vector<KxDataviewSegmentConfiguration>&& value) { m_segmentConfigurationsHasBeenSet = true; m_segmentConfigurations = std::move(value); }
140 inline CreateKxDataviewRequest& AddSegmentConfigurations(const KxDataviewSegmentConfiguration& value) { m_segmentConfigurationsHasBeenSet = true; m_segmentConfigurations.push_back(value); return *this; }
141 inline CreateKxDataviewRequest& AddSegmentConfigurations(KxDataviewSegmentConfiguration&& value) { m_segmentConfigurationsHasBeenSet = true; m_segmentConfigurations.push_back(std::move(value)); return *this; }
143
145
150 inline bool GetAutoUpdate() const{ return m_autoUpdate; }
151 inline bool AutoUpdateHasBeenSet() const { return m_autoUpdateHasBeenSet; }
152 inline void SetAutoUpdate(bool value) { m_autoUpdateHasBeenSet = true; m_autoUpdate = value; }
153 inline CreateKxDataviewRequest& WithAutoUpdate(bool value) { SetAutoUpdate(value); return *this;}
155
157
171 inline bool GetReadWrite() const{ return m_readWrite; }
172 inline bool ReadWriteHasBeenSet() const { return m_readWriteHasBeenSet; }
173 inline void SetReadWrite(bool value) { m_readWriteHasBeenSet = true; m_readWrite = value; }
174 inline CreateKxDataviewRequest& WithReadWrite(bool value) { SetReadWrite(value); return *this;}
176
178
181 inline const Aws::String& GetDescription() const{ return m_description; }
182 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
183 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
184 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
185 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
186 inline CreateKxDataviewRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
187 inline CreateKxDataviewRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
188 inline CreateKxDataviewRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
190
192
196 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
197 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
198 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
199 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
200 inline CreateKxDataviewRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
201 inline CreateKxDataviewRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
202 inline CreateKxDataviewRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
203 inline CreateKxDataviewRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
204 inline CreateKxDataviewRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
205 inline CreateKxDataviewRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
206 inline CreateKxDataviewRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
207 inline CreateKxDataviewRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
208 inline CreateKxDataviewRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
210
212
215 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
216 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
217 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
218 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
219 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
220 inline CreateKxDataviewRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
221 inline CreateKxDataviewRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
222 inline CreateKxDataviewRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
224 private:
225
226 Aws::String m_environmentId;
227 bool m_environmentIdHasBeenSet = false;
228
229 Aws::String m_databaseName;
230 bool m_databaseNameHasBeenSet = false;
231
232 Aws::String m_dataviewName;
233 bool m_dataviewNameHasBeenSet = false;
234
235 KxAzMode m_azMode;
236 bool m_azModeHasBeenSet = false;
237
238 Aws::String m_availabilityZoneId;
239 bool m_availabilityZoneIdHasBeenSet = false;
240
241 Aws::String m_changesetId;
242 bool m_changesetIdHasBeenSet = false;
243
244 Aws::Vector<KxDataviewSegmentConfiguration> m_segmentConfigurations;
245 bool m_segmentConfigurationsHasBeenSet = false;
246
247 bool m_autoUpdate;
248 bool m_autoUpdateHasBeenSet = false;
249
250 bool m_readWrite;
251 bool m_readWriteHasBeenSet = false;
252
253 Aws::String m_description;
254 bool m_descriptionHasBeenSet = false;
255
257 bool m_tagsHasBeenSet = false;
258
259 Aws::String m_clientToken;
260 bool m_clientTokenHasBeenSet = false;
261 };
262
263} // namespace Model
264} // namespace finspace
265} // namespace Aws
CreateKxDataviewRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateKxDataviewRequest & WithChangesetId(const Aws::String &value)
AWS_FINSPACE_API Aws::String SerializePayload() const override
CreateKxDataviewRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateKxDataviewRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetSegmentConfigurations(Aws::Vector< KxDataviewSegmentConfiguration > &&value)
CreateKxDataviewRequest & WithClientToken(Aws::String &&value)
CreateKxDataviewRequest & WithDescription(const char *value)
CreateKxDataviewRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateKxDataviewRequest & WithDescription(const Aws::String &value)
CreateKxDataviewRequest & AddSegmentConfigurations(const KxDataviewSegmentConfiguration &value)
CreateKxDataviewRequest & WithAutoUpdate(bool value)
virtual const char * GetServiceRequestName() const override
CreateKxDataviewRequest & WithEnvironmentId(const char *value)
CreateKxDataviewRequest & WithChangesetId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateKxDataviewRequest & WithSegmentConfigurations(const Aws::Vector< KxDataviewSegmentConfiguration > &value)
CreateKxDataviewRequest & AddTags(Aws::String &&key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateKxDataviewRequest & WithClientToken(const char *value)
CreateKxDataviewRequest & WithDataviewName(Aws::String &&value)
CreateKxDataviewRequest & AddTags(const char *key, const char *value)
CreateKxDataviewRequest & WithAvailabilityZoneId(const Aws::String &value)
CreateKxDataviewRequest & WithEnvironmentId(Aws::String &&value)
CreateKxDataviewRequest & WithEnvironmentId(const Aws::String &value)
const Aws::Vector< KxDataviewSegmentConfiguration > & GetSegmentConfigurations() const
CreateKxDataviewRequest & WithDatabaseName(const char *value)
CreateKxDataviewRequest & WithAzMode(const KxAzMode &value)
CreateKxDataviewRequest & WithChangesetId(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateKxDataviewRequest & WithDatabaseName(Aws::String &&value)
CreateKxDataviewRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetSegmentConfigurations(const Aws::Vector< KxDataviewSegmentConfiguration > &value)
CreateKxDataviewRequest & WithAzMode(KxAzMode &&value)
CreateKxDataviewRequest & WithAvailabilityZoneId(Aws::String &&value)
CreateKxDataviewRequest & WithDataviewName(const Aws::String &value)
CreateKxDataviewRequest & AddTags(const char *key, Aws::String &&value)
CreateKxDataviewRequest & WithReadWrite(bool value)
CreateKxDataviewRequest & WithAvailabilityZoneId(const char *value)
CreateKxDataviewRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateKxDataviewRequest & WithDatabaseName(const Aws::String &value)
CreateKxDataviewRequest & WithClientToken(const Aws::String &value)
CreateKxDataviewRequest & AddSegmentConfigurations(KxDataviewSegmentConfiguration &&value)
CreateKxDataviewRequest & WithSegmentConfigurations(Aws::Vector< KxDataviewSegmentConfiguration > &&value)
CreateKxDataviewRequest & WithDescription(Aws::String &&value)
CreateKxDataviewRequest & WithDataviewName(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector