AWS SDK for C++  1.9.106
AWS SDK for C++
SnowflakeParameters.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace QuickSight
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetHost() const{ return m_host; }
44 
48  inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
49 
53  inline void SetHost(const Aws::String& value) { m_hostHasBeenSet = true; m_host = value; }
54 
58  inline void SetHost(Aws::String&& value) { m_hostHasBeenSet = true; m_host = std::move(value); }
59 
63  inline void SetHost(const char* value) { m_hostHasBeenSet = true; m_host.assign(value); }
64 
68  inline SnowflakeParameters& WithHost(const Aws::String& value) { SetHost(value); return *this;}
69 
73  inline SnowflakeParameters& WithHost(Aws::String&& value) { SetHost(std::move(value)); return *this;}
74 
78  inline SnowflakeParameters& WithHost(const char* value) { SetHost(value); return *this;}
79 
80 
84  inline const Aws::String& GetDatabase() const{ return m_database; }
85 
89  inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
90 
94  inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
95 
99  inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
100 
104  inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
105 
109  inline SnowflakeParameters& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
110 
114  inline SnowflakeParameters& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
115 
119  inline SnowflakeParameters& WithDatabase(const char* value) { SetDatabase(value); return *this;}
120 
121 
125  inline const Aws::String& GetWarehouse() const{ return m_warehouse; }
126 
130  inline bool WarehouseHasBeenSet() const { return m_warehouseHasBeenSet; }
131 
135  inline void SetWarehouse(const Aws::String& value) { m_warehouseHasBeenSet = true; m_warehouse = value; }
136 
140  inline void SetWarehouse(Aws::String&& value) { m_warehouseHasBeenSet = true; m_warehouse = std::move(value); }
141 
145  inline void SetWarehouse(const char* value) { m_warehouseHasBeenSet = true; m_warehouse.assign(value); }
146 
150  inline SnowflakeParameters& WithWarehouse(const Aws::String& value) { SetWarehouse(value); return *this;}
151 
155  inline SnowflakeParameters& WithWarehouse(Aws::String&& value) { SetWarehouse(std::move(value)); return *this;}
156 
160  inline SnowflakeParameters& WithWarehouse(const char* value) { SetWarehouse(value); return *this;}
161 
162  private:
163 
164  Aws::String m_host;
165  bool m_hostHasBeenSet;
166 
167  Aws::String m_database;
168  bool m_databaseHasBeenSet;
169 
170  Aws::String m_warehouse;
171  bool m_warehouseHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace QuickSight
176 } // namespace Aws
Aws::QuickSight::Model::SnowflakeParameters::WithWarehouse
SnowflakeParameters & WithWarehouse(const Aws::String &value)
Definition: SnowflakeParameters.h:150
QuickSight_EXPORTS.h
Aws::QuickSight::Model::SnowflakeParameters::WithWarehouse
SnowflakeParameters & WithWarehouse(const char *value)
Definition: SnowflakeParameters.h:160
Aws::QuickSight::Model::SnowflakeParameters::GetWarehouse
const Aws::String & GetWarehouse() const
Definition: SnowflakeParameters.h:125
Aws::QuickSight::Model::SnowflakeParameters::WithDatabase
SnowflakeParameters & WithDatabase(const char *value)
Definition: SnowflakeParameters.h:119
Aws::QuickSight::Model::SnowflakeParameters::WithDatabase
SnowflakeParameters & WithDatabase(Aws::String &&value)
Definition: SnowflakeParameters.h:114
Aws::QuickSight::Model::SnowflakeParameters::SetHost
void SetHost(const Aws::String &value)
Definition: SnowflakeParameters.h:53
Aws::QuickSight::Model::SnowflakeParameters::operator=
SnowflakeParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::SnowflakeParameters::WithHost
SnowflakeParameters & WithHost(const char *value)
Definition: SnowflakeParameters.h:78
Aws::QuickSight::Model::SnowflakeParameters::WithHost
SnowflakeParameters & WithHost(Aws::String &&value)
Definition: SnowflakeParameters.h:73
Aws::QuickSight::Model::SnowflakeParameters::HostHasBeenSet
bool HostHasBeenSet() const
Definition: SnowflakeParameters.h:48
Aws::QuickSight::Model::SnowflakeParameters::DatabaseHasBeenSet
bool DatabaseHasBeenSet() const
Definition: SnowflakeParameters.h:89
Aws::QuickSight::Model::SnowflakeParameters::WithWarehouse
SnowflakeParameters & WithWarehouse(Aws::String &&value)
Definition: SnowflakeParameters.h:155
Aws::QuickSight::Model::SnowflakeParameters::SetDatabase
void SetDatabase(const Aws::String &value)
Definition: SnowflakeParameters.h:94
Aws::QuickSight::Model::SnowflakeParameters::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::SnowflakeParameters::SetHost
void SetHost(const char *value)
Definition: SnowflakeParameters.h:63
Aws::QuickSight::Model::SnowflakeParameters::WithHost
SnowflakeParameters & WithHost(const Aws::String &value)
Definition: SnowflakeParameters.h:68
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::QuickSight::Model::SnowflakeParameters::GetHost
const Aws::String & GetHost() const
Definition: SnowflakeParameters.h:43
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::SnowflakeParameters::SetDatabase
void SetDatabase(Aws::String &&value)
Definition: SnowflakeParameters.h:99
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::SnowflakeParameters::SetWarehouse
void SetWarehouse(const Aws::String &value)
Definition: SnowflakeParameters.h:135
Aws::QuickSight::Model::SnowflakeParameters::SnowflakeParameters
SnowflakeParameters()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::SnowflakeParameters::SnowflakeParameters
SnowflakeParameters(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::SnowflakeParameters::GetDatabase
const Aws::String & GetDatabase() const
Definition: SnowflakeParameters.h:84
Aws::QuickSight::Model::SnowflakeParameters::SetWarehouse
void SetWarehouse(const char *value)
Definition: SnowflakeParameters.h:145
Aws::QuickSight::Model::SnowflakeParameters::SetHost
void SetHost(Aws::String &&value)
Definition: SnowflakeParameters.h:58
Aws::QuickSight::Model::SnowflakeParameters
Definition: SnowflakeParameters.h:32
Aws::QuickSight::Model::SnowflakeParameters::SetDatabase
void SetDatabase(const char *value)
Definition: SnowflakeParameters.h:104
Aws::QuickSight::Model::SnowflakeParameters::SetWarehouse
void SetWarehouse(Aws::String &&value)
Definition: SnowflakeParameters.h:140
Aws::QuickSight::Model::SnowflakeParameters::WithDatabase
SnowflakeParameters & WithDatabase(const Aws::String &value)
Definition: SnowflakeParameters.h:109
Aws::QuickSight::Model::SnowflakeParameters::WarehouseHasBeenSet
bool WarehouseHasBeenSet() const
Definition: SnowflakeParameters.h:130