AWS SDK for C++  1.9.104
AWS SDK for C++
AuroraPostgreSqlParameters.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetHost() const{ return m_host; }
45 
49  inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
50 
54  inline void SetHost(const Aws::String& value) { m_hostHasBeenSet = true; m_host = value; }
55 
59  inline void SetHost(Aws::String&& value) { m_hostHasBeenSet = true; m_host = std::move(value); }
60 
64  inline void SetHost(const char* value) { m_hostHasBeenSet = true; m_host.assign(value); }
65 
69  inline AuroraPostgreSqlParameters& WithHost(const Aws::String& value) { SetHost(value); return *this;}
70 
74  inline AuroraPostgreSqlParameters& WithHost(Aws::String&& value) { SetHost(std::move(value)); return *this;}
75 
79  inline AuroraPostgreSqlParameters& WithHost(const char* value) { SetHost(value); return *this;}
80 
81 
85  inline int GetPort() const{ return m_port; }
86 
90  inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
91 
95  inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
96 
100  inline AuroraPostgreSqlParameters& WithPort(int value) { SetPort(value); return *this;}
101 
102 
106  inline const Aws::String& GetDatabase() const{ return m_database; }
107 
111  inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
112 
116  inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
117 
121  inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
122 
126  inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
127 
131  inline AuroraPostgreSqlParameters& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
132 
136  inline AuroraPostgreSqlParameters& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
137 
141  inline AuroraPostgreSqlParameters& WithDatabase(const char* value) { SetDatabase(value); return *this;}
142 
143  private:
144 
145  Aws::String m_host;
146  bool m_hostHasBeenSet;
147 
148  int m_port;
149  bool m_portHasBeenSet;
150 
151  Aws::String m_database;
152  bool m_databaseHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace QuickSight
157 } // namespace Aws
QuickSight_EXPORTS.h
Aws::QuickSight::Model::AuroraPostgreSqlParameters
Definition: AuroraPostgreSqlParameters.h:33
Aws::QuickSight::Model::AuroraPostgreSqlParameters::WithDatabase
AuroraPostgreSqlParameters & WithDatabase(const Aws::String &value)
Definition: AuroraPostgreSqlParameters.h:131
Aws::QuickSight::Model::AuroraPostgreSqlParameters::GetPort
int GetPort() const
Definition: AuroraPostgreSqlParameters.h:85
Aws::QuickSight::Model::AuroraPostgreSqlParameters::SetDatabase
void SetDatabase(const Aws::String &value)
Definition: AuroraPostgreSqlParameters.h:116
Aws::QuickSight::Model::AuroraPostgreSqlParameters::DatabaseHasBeenSet
bool DatabaseHasBeenSet() const
Definition: AuroraPostgreSqlParameters.h:111
Aws::QuickSight::Model::AuroraPostgreSqlParameters::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::AuroraPostgreSqlParameters::AuroraPostgreSqlParameters
AuroraPostgreSqlParameters()
Aws::QuickSight::Model::AuroraPostgreSqlParameters::SetHost
void SetHost(Aws::String &&value)
Definition: AuroraPostgreSqlParameters.h:59
Aws::QuickSight::Model::AuroraPostgreSqlParameters::GetHost
const Aws::String & GetHost() const
Definition: AuroraPostgreSqlParameters.h:44
Aws::QuickSight::Model::AuroraPostgreSqlParameters::PortHasBeenSet
bool PortHasBeenSet() const
Definition: AuroraPostgreSqlParameters.h:90
Aws::QuickSight::Model::AuroraPostgreSqlParameters::WithDatabase
AuroraPostgreSqlParameters & WithDatabase(const char *value)
Definition: AuroraPostgreSqlParameters.h:141
Aws::QuickSight::Model::AuroraPostgreSqlParameters::operator=
AuroraPostgreSqlParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::AuroraPostgreSqlParameters::GetDatabase
const Aws::String & GetDatabase() const
Definition: AuroraPostgreSqlParameters.h:106
Aws::QuickSight::Model::AuroraPostgreSqlParameters::SetDatabase
void SetDatabase(const char *value)
Definition: AuroraPostgreSqlParameters.h:126
Aws::QuickSight::Model::AuroraPostgreSqlParameters::WithHost
AuroraPostgreSqlParameters & WithHost(Aws::String &&value)
Definition: AuroraPostgreSqlParameters.h:74
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::AuroraPostgreSqlParameters::WithDatabase
AuroraPostgreSqlParameters & WithDatabase(Aws::String &&value)
Definition: AuroraPostgreSqlParameters.h:136
Aws::QuickSight::Model::AuroraPostgreSqlParameters::SetHost
void SetHost(const Aws::String &value)
Definition: AuroraPostgreSqlParameters.h:54
Aws::QuickSight::Model::AuroraPostgreSqlParameters::WithHost
AuroraPostgreSqlParameters & WithHost(const char *value)
Definition: AuroraPostgreSqlParameters.h:79
Aws::QuickSight::Model::AuroraPostgreSqlParameters::SetPort
void SetPort(int value)
Definition: AuroraPostgreSqlParameters.h:95
Aws::QuickSight::Model::AuroraPostgreSqlParameters::WithPort
AuroraPostgreSqlParameters & WithPort(int value)
Definition: AuroraPostgreSqlParameters.h:100
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::AuroraPostgreSqlParameters::WithHost
AuroraPostgreSqlParameters & WithHost(const Aws::String &value)
Definition: AuroraPostgreSqlParameters.h:69
Aws::QuickSight::Model::AuroraPostgreSqlParameters::SetHost
void SetHost(const char *value)
Definition: AuroraPostgreSqlParameters.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::AuroraPostgreSqlParameters::AuroraPostgreSqlParameters
AuroraPostgreSqlParameters(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::AuroraPostgreSqlParameters::SetDatabase
void SetDatabase(Aws::String &&value)
Definition: AuroraPostgreSqlParameters.h:121
Aws::QuickSight::Model::AuroraPostgreSqlParameters::HostHasBeenSet
bool HostHasBeenSet() const
Definition: AuroraPostgreSqlParameters.h:49