AWS SDK for C++  1.9.105
AWS SDK for C++
RedshiftParameters.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 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetHost() const{ return m_host; }
47 
51  inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
52 
56  inline void SetHost(const Aws::String& value) { m_hostHasBeenSet = true; m_host = value; }
57 
61  inline void SetHost(Aws::String&& value) { m_hostHasBeenSet = true; m_host = std::move(value); }
62 
66  inline void SetHost(const char* value) { m_hostHasBeenSet = true; m_host.assign(value); }
67 
71  inline RedshiftParameters& WithHost(const Aws::String& value) { SetHost(value); return *this;}
72 
76  inline RedshiftParameters& WithHost(Aws::String&& value) { SetHost(std::move(value)); return *this;}
77 
81  inline RedshiftParameters& WithHost(const char* value) { SetHost(value); return *this;}
82 
83 
87  inline int GetPort() const{ return m_port; }
88 
92  inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
93 
97  inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
98 
102  inline RedshiftParameters& WithPort(int value) { SetPort(value); return *this;}
103 
104 
108  inline const Aws::String& GetDatabase() const{ return m_database; }
109 
113  inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
114 
118  inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
119 
123  inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
124 
128  inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
129 
133  inline RedshiftParameters& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
134 
138  inline RedshiftParameters& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
139 
143  inline RedshiftParameters& WithDatabase(const char* value) { SetDatabase(value); return *this;}
144 
145 
150  inline const Aws::String& GetClusterId() const{ return m_clusterId; }
151 
156  inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
157 
162  inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
163 
168  inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
169 
174  inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
175 
180  inline RedshiftParameters& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
181 
186  inline RedshiftParameters& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
187 
192  inline RedshiftParameters& WithClusterId(const char* value) { SetClusterId(value); return *this;}
193 
194  private:
195 
196  Aws::String m_host;
197  bool m_hostHasBeenSet;
198 
199  int m_port;
200  bool m_portHasBeenSet;
201 
202  Aws::String m_database;
203  bool m_databaseHasBeenSet;
204 
205  Aws::String m_clusterId;
206  bool m_clusterIdHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace QuickSight
211 } // namespace Aws
Aws::QuickSight::Model::RedshiftParameters::DatabaseHasBeenSet
bool DatabaseHasBeenSet() const
Definition: RedshiftParameters.h:113
Aws::QuickSight::Model::RedshiftParameters::SetClusterId
void SetClusterId(Aws::String &&value)
Definition: RedshiftParameters.h:168
QuickSight_EXPORTS.h
Aws::QuickSight::Model::RedshiftParameters::WithDatabase
RedshiftParameters & WithDatabase(Aws::String &&value)
Definition: RedshiftParameters.h:138
Aws::QuickSight::Model::RedshiftParameters::operator=
RedshiftParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::RedshiftParameters::RedshiftParameters
RedshiftParameters()
Aws::QuickSight::Model::RedshiftParameters::WithClusterId
RedshiftParameters & WithClusterId(Aws::String &&value)
Definition: RedshiftParameters.h:186
Aws::QuickSight::Model::RedshiftParameters::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::RedshiftParameters
Definition: RedshiftParameters.h:35
Aws::QuickSight::Model::RedshiftParameters::SetDatabase
void SetDatabase(Aws::String &&value)
Definition: RedshiftParameters.h:123
Aws::QuickSight::Model::RedshiftParameters::PortHasBeenSet
bool PortHasBeenSet() const
Definition: RedshiftParameters.h:92
Aws::QuickSight::Model::RedshiftParameters::SetHost
void SetHost(Aws::String &&value)
Definition: RedshiftParameters.h:61
Aws::QuickSight::Model::RedshiftParameters::WithHost
RedshiftParameters & WithHost(const char *value)
Definition: RedshiftParameters.h:81
Aws::QuickSight::Model::RedshiftParameters::GetClusterId
const Aws::String & GetClusterId() const
Definition: RedshiftParameters.h:150
Aws::QuickSight::Model::RedshiftParameters::WithClusterId
RedshiftParameters & WithClusterId(const char *value)
Definition: RedshiftParameters.h:192
Aws::QuickSight::Model::RedshiftParameters::WithDatabase
RedshiftParameters & WithDatabase(const char *value)
Definition: RedshiftParameters.h:143
Aws::QuickSight::Model::RedshiftParameters::GetDatabase
const Aws::String & GetDatabase() const
Definition: RedshiftParameters.h:108
Aws::QuickSight::Model::RedshiftParameters::WithDatabase
RedshiftParameters & WithDatabase(const Aws::String &value)
Definition: RedshiftParameters.h:133
Aws::QuickSight::Model::RedshiftParameters::RedshiftParameters
RedshiftParameters(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::RedshiftParameters::SetClusterId
void SetClusterId(const char *value)
Definition: RedshiftParameters.h:174
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::RedshiftParameters::GetPort
int GetPort() const
Definition: RedshiftParameters.h:87
Aws::QuickSight::Model::RedshiftParameters::SetHost
void SetHost(const char *value)
Definition: RedshiftParameters.h:66
Aws::QuickSight::Model::RedshiftParameters::GetHost
const Aws::String & GetHost() const
Definition: RedshiftParameters.h:46
Aws::QuickSight::Model::RedshiftParameters::SetDatabase
void SetDatabase(const Aws::String &value)
Definition: RedshiftParameters.h:118
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::RedshiftParameters::WithPort
RedshiftParameters & WithPort(int value)
Definition: RedshiftParameters.h:102
Aws::QuickSight::Model::RedshiftParameters::WithClusterId
RedshiftParameters & WithClusterId(const Aws::String &value)
Definition: RedshiftParameters.h:180
Aws::QuickSight::Model::RedshiftParameters::SetPort
void SetPort(int value)
Definition: RedshiftParameters.h:97
Aws::QuickSight::Model::RedshiftParameters::WithHost
RedshiftParameters & WithHost(Aws::String &&value)
Definition: RedshiftParameters.h:76
Aws::QuickSight::Model::RedshiftParameters::ClusterIdHasBeenSet
bool ClusterIdHasBeenSet() const
Definition: RedshiftParameters.h:156
Aws::QuickSight::Model::RedshiftParameters::WithHost
RedshiftParameters & WithHost(const Aws::String &value)
Definition: RedshiftParameters.h:71
Aws::QuickSight::Model::RedshiftParameters::SetClusterId
void SetClusterId(const Aws::String &value)
Definition: RedshiftParameters.h:162
Aws::QuickSight::Model::RedshiftParameters::HostHasBeenSet
bool HostHasBeenSet() const
Definition: RedshiftParameters.h:51
Aws::QuickSight::Model::RedshiftParameters::SetHost
void SetHost(const Aws::String &value)
Definition: RedshiftParameters.h:56
Aws::QuickSight::Model::RedshiftParameters::SetDatabase
void SetDatabase(const char *value)
Definition: RedshiftParameters.h:128