AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SchemaConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/firehose/Firehose_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Firehose {
20namespace Model {
21
30 public:
31 AWS_FIREHOSE_API SchemaConfiguration() = default;
34 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
45 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
46 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
47 template <typename RoleARNT = Aws::String>
48 void SetRoleARN(RoleARNT&& value) {
49 m_roleARNHasBeenSet = true;
50 m_roleARN = std::forward<RoleARNT>(value);
51 }
52 template <typename RoleARNT = Aws::String>
53 SchemaConfiguration& WithRoleARN(RoleARNT&& value) {
54 SetRoleARN(std::forward<RoleARNT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
65 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
66 template <typename CatalogIdT = Aws::String>
67 void SetCatalogId(CatalogIdT&& value) {
68 m_catalogIdHasBeenSet = true;
69 m_catalogId = std::forward<CatalogIdT>(value);
70 }
71 template <typename CatalogIdT = Aws::String>
72 SchemaConfiguration& WithCatalogId(CatalogIdT&& value) {
73 SetCatalogId(std::forward<CatalogIdT>(value));
74 return *this;
75 }
77
79
86 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
87 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
88 template <typename DatabaseNameT = Aws::String>
89 void SetDatabaseName(DatabaseNameT&& value) {
90 m_databaseNameHasBeenSet = true;
91 m_databaseName = std::forward<DatabaseNameT>(value);
92 }
93 template <typename DatabaseNameT = Aws::String>
94 SchemaConfiguration& WithDatabaseName(DatabaseNameT&& value) {
95 SetDatabaseName(std::forward<DatabaseNameT>(value));
96 return *this;
97 }
99
101
108 inline const Aws::String& GetTableName() const { return m_tableName; }
109 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
110 template <typename TableNameT = Aws::String>
111 void SetTableName(TableNameT&& value) {
112 m_tableNameHasBeenSet = true;
113 m_tableName = std::forward<TableNameT>(value);
114 }
115 template <typename TableNameT = Aws::String>
116 SchemaConfiguration& WithTableName(TableNameT&& value) {
117 SetTableName(std::forward<TableNameT>(value));
118 return *this;
119 }
121
123
127 inline const Aws::String& GetRegion() const { return m_region; }
128 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
129 template <typename RegionT = Aws::String>
130 void SetRegion(RegionT&& value) {
131 m_regionHasBeenSet = true;
132 m_region = std::forward<RegionT>(value);
133 }
134 template <typename RegionT = Aws::String>
135 SchemaConfiguration& WithRegion(RegionT&& value) {
136 SetRegion(std::forward<RegionT>(value));
137 return *this;
138 }
140
142
148 inline const Aws::String& GetVersionId() const { return m_versionId; }
149 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
150 template <typename VersionIdT = Aws::String>
151 void SetVersionId(VersionIdT&& value) {
152 m_versionIdHasBeenSet = true;
153 m_versionId = std::forward<VersionIdT>(value);
154 }
155 template <typename VersionIdT = Aws::String>
156 SchemaConfiguration& WithVersionId(VersionIdT&& value) {
157 SetVersionId(std::forward<VersionIdT>(value));
158 return *this;
159 }
161 private:
162 Aws::String m_roleARN;
163
164 Aws::String m_catalogId;
165
166 Aws::String m_databaseName;
167
168 Aws::String m_tableName;
169
170 Aws::String m_region;
171
172 Aws::String m_versionId;
173 bool m_roleARNHasBeenSet = false;
174 bool m_catalogIdHasBeenSet = false;
175 bool m_databaseNameHasBeenSet = false;
176 bool m_tableNameHasBeenSet = false;
177 bool m_regionHasBeenSet = false;
178 bool m_versionIdHasBeenSet = false;
179};
180
181} // namespace Model
182} // namespace Firehose
183} // namespace Aws
AWS_FIREHOSE_API SchemaConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
SchemaConfiguration & WithDatabaseName(DatabaseNameT &&value)
SchemaConfiguration & WithVersionId(VersionIdT &&value)
SchemaConfiguration & WithRoleARN(RoleARNT &&value)
AWS_FIREHOSE_API SchemaConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API SchemaConfiguration()=default
SchemaConfiguration & WithCatalogId(CatalogIdT &&value)
SchemaConfiguration & WithRegion(RegionT &&value)
SchemaConfiguration & WithTableName(TableNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue