AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename RoleARNT = Aws::String>
54 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
55 template<typename RoleARNT = Aws::String>
56 SchemaConfiguration& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
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) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
68 template<typename CatalogIdT = Aws::String>
69 SchemaConfiguration& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
71
73
80 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
81 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
82 template<typename DatabaseNameT = Aws::String>
83 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
84 template<typename DatabaseNameT = Aws::String>
85 SchemaConfiguration& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
87
89
96 inline const Aws::String& GetTableName() const { return m_tableName; }
97 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
98 template<typename TableNameT = Aws::String>
99 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
100 template<typename TableNameT = Aws::String>
101 SchemaConfiguration& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
103
105
109 inline const Aws::String& GetRegion() const { return m_region; }
110 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
111 template<typename RegionT = Aws::String>
112 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
113 template<typename RegionT = Aws::String>
114 SchemaConfiguration& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
116
118
124 inline const Aws::String& GetVersionId() const { return m_versionId; }
125 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
126 template<typename VersionIdT = Aws::String>
127 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet = true; m_versionId = std::forward<VersionIdT>(value); }
128 template<typename VersionIdT = Aws::String>
129 SchemaConfiguration& WithVersionId(VersionIdT&& value) { SetVersionId(std::forward<VersionIdT>(value)); return *this;}
131 private:
132
133 Aws::String m_roleARN;
134 bool m_roleARNHasBeenSet = false;
135
136 Aws::String m_catalogId;
137 bool m_catalogIdHasBeenSet = false;
138
139 Aws::String m_databaseName;
140 bool m_databaseNameHasBeenSet = false;
141
142 Aws::String m_tableName;
143 bool m_tableNameHasBeenSet = false;
144
145 Aws::String m_region;
146 bool m_regionHasBeenSet = false;
147
148 Aws::String m_versionId;
149 bool m_versionIdHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace Firehose
154} // 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