AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
SnowflakeTableReference.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/SnowflakeTableSchema.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CleanRooms {
21namespace Model {
22
29 public:
30 AWS_CLEANROOMS_API SnowflakeTableReference() = default;
33 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
40 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
41 template <typename SecretArnT = Aws::String>
42 void SetSecretArn(SecretArnT&& value) {
43 m_secretArnHasBeenSet = true;
44 m_secretArn = std::forward<SecretArnT>(value);
45 }
46 template <typename SecretArnT = Aws::String>
48 SetSecretArn(std::forward<SecretArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetAccountIdentifier() const { return m_accountIdentifier; }
58 inline bool AccountIdentifierHasBeenSet() const { return m_accountIdentifierHasBeenSet; }
59 template <typename AccountIdentifierT = Aws::String>
60 void SetAccountIdentifier(AccountIdentifierT&& value) {
61 m_accountIdentifierHasBeenSet = true;
62 m_accountIdentifier = std::forward<AccountIdentifierT>(value);
63 }
64 template <typename AccountIdentifierT = Aws::String>
65 SnowflakeTableReference& WithAccountIdentifier(AccountIdentifierT&& value) {
66 SetAccountIdentifier(std::forward<AccountIdentifierT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
76 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
77 template <typename DatabaseNameT = Aws::String>
78 void SetDatabaseName(DatabaseNameT&& value) {
79 m_databaseNameHasBeenSet = true;
80 m_databaseName = std::forward<DatabaseNameT>(value);
81 }
82 template <typename DatabaseNameT = Aws::String>
83 SnowflakeTableReference& WithDatabaseName(DatabaseNameT&& value) {
84 SetDatabaseName(std::forward<DatabaseNameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetTableName() const { return m_tableName; }
94 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
95 template <typename TableNameT = Aws::String>
96 void SetTableName(TableNameT&& value) {
97 m_tableNameHasBeenSet = true;
98 m_tableName = std::forward<TableNameT>(value);
99 }
100 template <typename TableNameT = Aws::String>
102 SetTableName(std::forward<TableNameT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
112 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
113 template <typename SchemaNameT = Aws::String>
114 void SetSchemaName(SchemaNameT&& value) {
115 m_schemaNameHasBeenSet = true;
116 m_schemaName = std::forward<SchemaNameT>(value);
117 }
118 template <typename SchemaNameT = Aws::String>
120 SetSchemaName(std::forward<SchemaNameT>(value));
121 return *this;
122 }
124
126
129 inline const SnowflakeTableSchema& GetTableSchema() const { return m_tableSchema; }
130 inline bool TableSchemaHasBeenSet() const { return m_tableSchemaHasBeenSet; }
131 template <typename TableSchemaT = SnowflakeTableSchema>
132 void SetTableSchema(TableSchemaT&& value) {
133 m_tableSchemaHasBeenSet = true;
134 m_tableSchema = std::forward<TableSchemaT>(value);
135 }
136 template <typename TableSchemaT = SnowflakeTableSchema>
138 SetTableSchema(std::forward<TableSchemaT>(value));
139 return *this;
140 }
142 private:
143 Aws::String m_secretArn;
144
145 Aws::String m_accountIdentifier;
146
147 Aws::String m_databaseName;
148
149 Aws::String m_tableName;
150
151 Aws::String m_schemaName;
152
153 SnowflakeTableSchema m_tableSchema;
154 bool m_secretArnHasBeenSet = false;
155 bool m_accountIdentifierHasBeenSet = false;
156 bool m_databaseNameHasBeenSet = false;
157 bool m_tableNameHasBeenSet = false;
158 bool m_schemaNameHasBeenSet = false;
159 bool m_tableSchemaHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace CleanRooms
164} // namespace Aws
SnowflakeTableReference & WithDatabaseName(DatabaseNameT &&value)
const SnowflakeTableSchema & GetTableSchema() const
SnowflakeTableReference & WithTableSchema(TableSchemaT &&value)
AWS_CLEANROOMS_API SnowflakeTableReference()=default
AWS_CLEANROOMS_API SnowflakeTableReference(Aws::Utils::Json::JsonView jsonValue)
SnowflakeTableReference & WithTableName(TableNameT &&value)
SnowflakeTableReference & WithSecretArn(SecretArnT &&value)
SnowflakeTableReference & WithAccountIdentifier(AccountIdentifierT &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMS_API SnowflakeTableReference & operator=(Aws::Utils::Json::JsonView jsonValue)
SnowflakeTableReference & WithSchemaName(SchemaNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue