AWS SDK for C++  1.9.154
AWS SDK for C++
SchemaConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Firehose
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
50  inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
51 
60  inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
61 
70  inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
71 
80  inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
81 
90  inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
91 
100  inline SchemaConfiguration& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
101 
110  inline SchemaConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
111 
120  inline SchemaConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
121 
122 
127  inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
128 
133  inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
134 
139  inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
140 
145  inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
146 
151  inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
152 
157  inline SchemaConfiguration& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
158 
163  inline SchemaConfiguration& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
164 
169  inline SchemaConfiguration& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
170 
171 
179  inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
180 
188  inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
189 
197  inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
198 
206  inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
207 
215  inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
216 
224  inline SchemaConfiguration& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
225 
233  inline SchemaConfiguration& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
234 
242  inline SchemaConfiguration& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
243 
244 
252  inline const Aws::String& GetTableName() const{ return m_tableName; }
253 
261  inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
262 
270  inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
271 
279  inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
280 
288  inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
289 
297  inline SchemaConfiguration& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
298 
306  inline SchemaConfiguration& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
307 
315  inline SchemaConfiguration& WithTableName(const char* value) { SetTableName(value); return *this;}
316 
317 
321  inline const Aws::String& GetRegion() const{ return m_region; }
322 
326  inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
327 
331  inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
332 
336  inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
337 
341  inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
342 
346  inline SchemaConfiguration& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
347 
351  inline SchemaConfiguration& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
352 
356  inline SchemaConfiguration& WithRegion(const char* value) { SetRegion(value); return *this;}
357 
358 
365  inline const Aws::String& GetVersionId() const{ return m_versionId; }
366 
373  inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
374 
381  inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
382 
389  inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
390 
397  inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
398 
405  inline SchemaConfiguration& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
406 
413  inline SchemaConfiguration& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
414 
421  inline SchemaConfiguration& WithVersionId(const char* value) { SetVersionId(value); return *this;}
422 
423  private:
424 
425  Aws::String m_roleARN;
426  bool m_roleARNHasBeenSet;
427 
428  Aws::String m_catalogId;
429  bool m_catalogIdHasBeenSet;
430 
431  Aws::String m_databaseName;
432  bool m_databaseNameHasBeenSet;
433 
434  Aws::String m_tableName;
435  bool m_tableNameHasBeenSet;
436 
437  Aws::String m_region;
438  bool m_regionHasBeenSet;
439 
440  Aws::String m_versionId;
441  bool m_versionIdHasBeenSet;
442  };
443 
444 } // namespace Model
445 } // namespace Firehose
446 } // namespace Aws
Aws::Firehose::Model::SchemaConfiguration::WithRoleARN
SchemaConfiguration & WithRoleARN(const Aws::String &value)
Definition: SchemaConfiguration.h:100
Aws::Firehose::Model::SchemaConfiguration::TableNameHasBeenSet
bool TableNameHasBeenSet() const
Definition: SchemaConfiguration.h:261
Aws::Firehose::Model::SchemaConfiguration::SetRoleARN
void SetRoleARN(Aws::String &&value)
Definition: SchemaConfiguration.h:80
Aws::Firehose::Model::SchemaConfiguration::WithVersionId
SchemaConfiguration & WithVersionId(Aws::String &&value)
Definition: SchemaConfiguration.h:413
Aws::Firehose::Model::SchemaConfiguration::WithTableName
SchemaConfiguration & WithTableName(const char *value)
Definition: SchemaConfiguration.h:315
Aws::Firehose::Model::SchemaConfiguration::SchemaConfiguration
SchemaConfiguration()
Aws::Firehose::Model::SchemaConfiguration::GetRoleARN
const Aws::String & GetRoleARN() const
Definition: SchemaConfiguration.h:50
Aws::Firehose::Model::SchemaConfiguration::SetRoleARN
void SetRoleARN(const Aws::String &value)
Definition: SchemaConfiguration.h:70
Aws::Firehose::Model::SchemaConfiguration::WithRegion
SchemaConfiguration & WithRegion(Aws::String &&value)
Definition: SchemaConfiguration.h:351
Aws::Firehose::Model::SchemaConfiguration::WithRoleARN
SchemaConfiguration & WithRoleARN(Aws::String &&value)
Definition: SchemaConfiguration.h:110
Aws::Firehose::Model::SchemaConfiguration::SetRegion
void SetRegion(Aws::String &&value)
Definition: SchemaConfiguration.h:336
Aws::Firehose::Model::SchemaConfiguration::RegionHasBeenSet
bool RegionHasBeenSet() const
Definition: SchemaConfiguration.h:326
Aws::Firehose::Model::SchemaConfiguration::SetTableName
void SetTableName(const Aws::String &value)
Definition: SchemaConfiguration.h:270
Aws::Firehose::Model::SchemaConfiguration::SetDatabaseName
void SetDatabaseName(const Aws::String &value)
Definition: SchemaConfiguration.h:197
Aws::Firehose::Model::SchemaConfiguration::operator=
SchemaConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::SchemaConfiguration::SetVersionId
void SetVersionId(Aws::String &&value)
Definition: SchemaConfiguration.h:389
Aws::Firehose::Model::SchemaConfiguration::SetRoleARN
void SetRoleARN(const char *value)
Definition: SchemaConfiguration.h:90
Aws::Firehose::Model::SchemaConfiguration::GetTableName
const Aws::String & GetTableName() const
Definition: SchemaConfiguration.h:252
Aws::Firehose::Model::SchemaConfiguration::WithRegion
SchemaConfiguration & WithRegion(const char *value)
Definition: SchemaConfiguration.h:356
Aws::Firehose::Model::SchemaConfiguration::SetRegion
void SetRegion(const Aws::String &value)
Definition: SchemaConfiguration.h:331
Aws::Firehose::Model::SchemaConfiguration::WithCatalogId
SchemaConfiguration & WithCatalogId(const Aws::String &value)
Definition: SchemaConfiguration.h:157
Aws::Firehose::Model::SchemaConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Firehose::Model::SchemaConfiguration::WithDatabaseName
SchemaConfiguration & WithDatabaseName(const Aws::String &value)
Definition: SchemaConfiguration.h:224
Aws::Firehose::Model::SchemaConfiguration::VersionIdHasBeenSet
bool VersionIdHasBeenSet() const
Definition: SchemaConfiguration.h:373
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::SchemaConfiguration::SetRegion
void SetRegion(const char *value)
Definition: SchemaConfiguration.h:341
Aws::Firehose::Model::SchemaConfiguration::GetDatabaseName
const Aws::String & GetDatabaseName() const
Definition: SchemaConfiguration.h:179
Aws::Firehose::Model::SchemaConfiguration::SetDatabaseName
void SetDatabaseName(Aws::String &&value)
Definition: SchemaConfiguration.h:206
Aws::Firehose::Model::SchemaConfiguration
Definition: SchemaConfiguration.h:34
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Firehose::Model::SchemaConfiguration::WithCatalogId
SchemaConfiguration & WithCatalogId(const char *value)
Definition: SchemaConfiguration.h:169
AWSString.h
Aws::Firehose::Model::SchemaConfiguration::WithRegion
SchemaConfiguration & WithRegion(const Aws::String &value)
Definition: SchemaConfiguration.h:346
Aws::Firehose::Model::SchemaConfiguration::WithTableName
SchemaConfiguration & WithTableName(const Aws::String &value)
Definition: SchemaConfiguration.h:297
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Firehose::Model::SchemaConfiguration::GetRegion
const Aws::String & GetRegion() const
Definition: SchemaConfiguration.h:321
Aws::Firehose::Model::SchemaConfiguration::DatabaseNameHasBeenSet
bool DatabaseNameHasBeenSet() const
Definition: SchemaConfiguration.h:188
Firehose_EXPORTS.h
Aws::Firehose::Model::SchemaConfiguration::WithDatabaseName
SchemaConfiguration & WithDatabaseName(const char *value)
Definition: SchemaConfiguration.h:242
Aws::Firehose::Model::SchemaConfiguration::WithRoleARN
SchemaConfiguration & WithRoleARN(const char *value)
Definition: SchemaConfiguration.h:120
Aws::Firehose::Model::SchemaConfiguration::RoleARNHasBeenSet
bool RoleARNHasBeenSet() const
Definition: SchemaConfiguration.h:60
Aws::Firehose::Model::SchemaConfiguration::GetVersionId
const Aws::String & GetVersionId() const
Definition: SchemaConfiguration.h:365
Aws::Firehose::Model::SchemaConfiguration::WithDatabaseName
SchemaConfiguration & WithDatabaseName(Aws::String &&value)
Definition: SchemaConfiguration.h:233
Aws::Firehose::Model::SchemaConfiguration::SetCatalogId
void SetCatalogId(Aws::String &&value)
Definition: SchemaConfiguration.h:145
Aws::Firehose::Model::SchemaConfiguration::WithCatalogId
SchemaConfiguration & WithCatalogId(Aws::String &&value)
Definition: SchemaConfiguration.h:163
Aws::Firehose::Model::SchemaConfiguration::WithVersionId
SchemaConfiguration & WithVersionId(const Aws::String &value)
Definition: SchemaConfiguration.h:405
Aws::Firehose::Model::SchemaConfiguration::SetTableName
void SetTableName(const char *value)
Definition: SchemaConfiguration.h:288
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::Firehose::Model::SchemaConfiguration::SetVersionId
void SetVersionId(const Aws::String &value)
Definition: SchemaConfiguration.h:381
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::SchemaConfiguration::SetVersionId
void SetVersionId(const char *value)
Definition: SchemaConfiguration.h:397
Aws::Firehose::Model::SchemaConfiguration::SetCatalogId
void SetCatalogId(const char *value)
Definition: SchemaConfiguration.h:151
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::SchemaConfiguration::SetCatalogId
void SetCatalogId(const Aws::String &value)
Definition: SchemaConfiguration.h:139
Aws::Firehose::Model::SchemaConfiguration::SchemaConfiguration
SchemaConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::SchemaConfiguration::SetTableName
void SetTableName(Aws::String &&value)
Definition: SchemaConfiguration.h:279
Aws::Firehose::Model::SchemaConfiguration::SetDatabaseName
void SetDatabaseName(const char *value)
Definition: SchemaConfiguration.h:215
Aws::Firehose::Model::SchemaConfiguration::GetCatalogId
const Aws::String & GetCatalogId() const
Definition: SchemaConfiguration.h:127
Aws::Firehose::Model::SchemaConfiguration::WithTableName
SchemaConfiguration & WithTableName(Aws::String &&value)
Definition: SchemaConfiguration.h:306
Aws::Firehose::Model::SchemaConfiguration::WithVersionId
SchemaConfiguration & WithVersionId(const char *value)
Definition: SchemaConfiguration.h:421
Aws::Firehose::Model::SchemaConfiguration::CatalogIdHasBeenSet
bool CatalogIdHasBeenSet() const
Definition: SchemaConfiguration.h:133