AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuroraPostgreSqlParameters.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_QUICKSIGHT_API AuroraPostgreSqlParameters();
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetHost() const{ return m_host; }
46 inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
47 inline void SetHost(const Aws::String& value) { m_hostHasBeenSet = true; m_host = value; }
48 inline void SetHost(Aws::String&& value) { m_hostHasBeenSet = true; m_host = std::move(value); }
49 inline void SetHost(const char* value) { m_hostHasBeenSet = true; m_host.assign(value); }
50 inline AuroraPostgreSqlParameters& WithHost(const Aws::String& value) { SetHost(value); return *this;}
51 inline AuroraPostgreSqlParameters& WithHost(Aws::String&& value) { SetHost(std::move(value)); return *this;}
52 inline AuroraPostgreSqlParameters& WithHost(const char* value) { SetHost(value); return *this;}
54
56
59 inline int GetPort() const{ return m_port; }
60 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
61 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
62 inline AuroraPostgreSqlParameters& WithPort(int value) { SetPort(value); return *this;}
64
66
69 inline const Aws::String& GetDatabase() const{ return m_database; }
70 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
71 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
72 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
73 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
74 inline AuroraPostgreSqlParameters& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
75 inline AuroraPostgreSqlParameters& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
76 inline AuroraPostgreSqlParameters& WithDatabase(const char* value) { SetDatabase(value); return *this;}
78 private:
79
80 Aws::String m_host;
81 bool m_hostHasBeenSet = false;
82
83 int m_port;
84 bool m_portHasBeenSet = false;
85
86 Aws::String m_database;
87 bool m_databaseHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace QuickSight
92} // namespace Aws
AuroraPostgreSqlParameters & WithHost(const char *value)
AWS_QUICKSIGHT_API AuroraPostgreSqlParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AuroraPostgreSqlParameters & WithHost(Aws::String &&value)
AuroraPostgreSqlParameters & WithHost(const Aws::String &value)
AWS_QUICKSIGHT_API AuroraPostgreSqlParameters(Aws::Utils::Json::JsonView jsonValue)
AuroraPostgreSqlParameters & WithDatabase(const Aws::String &value)
AuroraPostgreSqlParameters & WithDatabase(const char *value)
AuroraPostgreSqlParameters & WithDatabase(Aws::String &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue