AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SchemaConfiguration.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Firehose
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_FIREHOSE_API SchemaConfiguration();
39 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
51 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
52 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
53 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
54 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
55 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
56 inline SchemaConfiguration& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
57 inline SchemaConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
58 inline SchemaConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
60
62
66 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
67 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
68 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
69 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
70 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
71 inline SchemaConfiguration& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
72 inline SchemaConfiguration& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
73 inline SchemaConfiguration& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
75
77
84 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
85 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
86 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
87 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
88 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
89 inline SchemaConfiguration& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
90 inline SchemaConfiguration& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
91 inline SchemaConfiguration& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
93
95
102 inline const Aws::String& GetTableName() const{ return m_tableName; }
103 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
104 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
105 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
106 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
107 inline SchemaConfiguration& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
108 inline SchemaConfiguration& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
109 inline SchemaConfiguration& WithTableName(const char* value) { SetTableName(value); return *this;}
111
113
117 inline const Aws::String& GetRegion() const{ return m_region; }
118 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
119 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
120 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
121 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
122 inline SchemaConfiguration& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
123 inline SchemaConfiguration& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
124 inline SchemaConfiguration& WithRegion(const char* value) { SetRegion(value); return *this;}
126
128
134 inline const Aws::String& GetVersionId() const{ return m_versionId; }
135 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
136 inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
137 inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
138 inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
139 inline SchemaConfiguration& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
140 inline SchemaConfiguration& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
141 inline SchemaConfiguration& WithVersionId(const char* value) { SetVersionId(value); return *this;}
143 private:
144
145 Aws::String m_roleARN;
146 bool m_roleARNHasBeenSet = false;
147
148 Aws::String m_catalogId;
149 bool m_catalogIdHasBeenSet = false;
150
151 Aws::String m_databaseName;
152 bool m_databaseNameHasBeenSet = false;
153
154 Aws::String m_tableName;
155 bool m_tableNameHasBeenSet = false;
156
157 Aws::String m_region;
158 bool m_regionHasBeenSet = false;
159
160 Aws::String m_versionId;
161 bool m_versionIdHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace Firehose
166} // namespace Aws
AWS_FIREHOSE_API SchemaConfiguration(Aws::Utils::Json::JsonView jsonValue)
SchemaConfiguration & WithRegion(Aws::String &&value)
void SetDatabaseName(const Aws::String &value)
void SetVersionId(const Aws::String &value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
SchemaConfiguration & WithVersionId(const char *value)
void SetTableName(const Aws::String &value)
SchemaConfiguration & WithDatabaseName(const Aws::String &value)
SchemaConfiguration & WithDatabaseName(const char *value)
SchemaConfiguration & WithCatalogId(const char *value)
AWS_FIREHOSE_API SchemaConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaConfiguration & WithVersionId(Aws::String &&value)
SchemaConfiguration & WithRoleARN(const Aws::String &value)
SchemaConfiguration & WithVersionId(const Aws::String &value)
void SetRoleARN(const Aws::String &value)
SchemaConfiguration & WithCatalogId(const Aws::String &value)
SchemaConfiguration & WithTableName(Aws::String &&value)
SchemaConfiguration & WithRoleARN(Aws::String &&value)
SchemaConfiguration & WithDatabaseName(Aws::String &&value)
void SetCatalogId(const Aws::String &value)
SchemaConfiguration & WithCatalogId(Aws::String &&value)
SchemaConfiguration & WithTableName(const char *value)
SchemaConfiguration & WithRegion(const char *value)
SchemaConfiguration & WithTableName(const Aws::String &value)
SchemaConfiguration & WithRoleARN(const char *value)
SchemaConfiguration & WithRegion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue