AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SnowflakeTableReference.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cleanrooms/model/SnowflakeTableSchema.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CleanRooms
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CLEANROOMS_API SnowflakeTableReference() = default;
38 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
46 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
47 template<typename SecretArnT = Aws::String>
48 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::forward<SecretArnT>(value); }
49 template<typename SecretArnT = Aws::String>
50 SnowflakeTableReference& WithSecretArn(SecretArnT&& value) { SetSecretArn(std::forward<SecretArnT>(value)); return *this;}
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) { m_accountIdentifierHasBeenSet = true; m_accountIdentifier = std::forward<AccountIdentifierT>(value); }
61 template<typename AccountIdentifierT = Aws::String>
62 SnowflakeTableReference& WithAccountIdentifier(AccountIdentifierT&& value) { SetAccountIdentifier(std::forward<AccountIdentifierT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
70 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
71 template<typename DatabaseNameT = Aws::String>
72 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
73 template<typename DatabaseNameT = Aws::String>
74 SnowflakeTableReference& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
76
78
81 inline const Aws::String& GetTableName() const { return m_tableName; }
82 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
83 template<typename TableNameT = Aws::String>
84 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
85 template<typename TableNameT = Aws::String>
86 SnowflakeTableReference& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
88
90
93 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
94 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
95 template<typename SchemaNameT = Aws::String>
96 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
97 template<typename SchemaNameT = Aws::String>
98 SnowflakeTableReference& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
100
102
105 inline const SnowflakeTableSchema& GetTableSchema() const { return m_tableSchema; }
106 inline bool TableSchemaHasBeenSet() const { return m_tableSchemaHasBeenSet; }
107 template<typename TableSchemaT = SnowflakeTableSchema>
108 void SetTableSchema(TableSchemaT&& value) { m_tableSchemaHasBeenSet = true; m_tableSchema = std::forward<TableSchemaT>(value); }
109 template<typename TableSchemaT = SnowflakeTableSchema>
110 SnowflakeTableReference& WithTableSchema(TableSchemaT&& value) { SetTableSchema(std::forward<TableSchemaT>(value)); return *this;}
112 private:
113
114 Aws::String m_secretArn;
115 bool m_secretArnHasBeenSet = false;
116
117 Aws::String m_accountIdentifier;
118 bool m_accountIdentifierHasBeenSet = false;
119
120 Aws::String m_databaseName;
121 bool m_databaseNameHasBeenSet = false;
122
123 Aws::String m_tableName;
124 bool m_tableNameHasBeenSet = false;
125
126 Aws::String m_schemaName;
127 bool m_schemaNameHasBeenSet = false;
128
129 SnowflakeTableSchema m_tableSchema;
130 bool m_tableSchemaHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace CleanRooms
135} // 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