AWS SDK for C++  1.9.108
AWS SDK for C++
TeradataParameters.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 TeradataParameters& WithHost(const Aws::String& value) { SetHost(value); return *this;}
69 
73  inline TeradataParameters& WithHost(Aws::String&& value) { SetHost(std::move(value)); return *this;}
74 
78  inline TeradataParameters& WithHost(const char* value) { SetHost(value); return *this;}
79 
80 
84  inline int GetPort() const{ return m_port; }
85 
89  inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
90 
94  inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
95 
99  inline TeradataParameters& WithPort(int value) { SetPort(value); return *this;}
100 
101 
105  inline const Aws::String& GetDatabase() const{ return m_database; }
106 
110  inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
111 
115  inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
116 
120  inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
121 
125  inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
126 
130  inline TeradataParameters& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
131 
135  inline TeradataParameters& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
136 
140  inline TeradataParameters& WithDatabase(const char* value) { SetDatabase(value); return *this;}
141 
142  private:
143 
144  Aws::String m_host;
145  bool m_hostHasBeenSet;
146 
147  int m_port;
148  bool m_portHasBeenSet;
149 
150  Aws::String m_database;
151  bool m_databaseHasBeenSet;
152  };
153 
154 } // namespace Model
155 } // namespace QuickSight
156 } // namespace Aws
Aws::QuickSight::Model::TeradataParameters::SetHost
void SetHost(Aws::String &&value)
Definition: TeradataParameters.h:58
Aws::QuickSight::Model::TeradataParameters::SetDatabase
void SetDatabase(const char *value)
Definition: TeradataParameters.h:125
Aws::QuickSight::Model::TeradataParameters::TeradataParameters
TeradataParameters()
QuickSight_EXPORTS.h
Aws::QuickSight::Model::TeradataParameters::SetHost
void SetHost(const Aws::String &value)
Definition: TeradataParameters.h:53
Aws::QuickSight::Model::TeradataParameters::WithPort
TeradataParameters & WithPort(int value)
Definition: TeradataParameters.h:99
Aws::QuickSight::Model::TeradataParameters::WithDatabase
TeradataParameters & WithDatabase(const char *value)
Definition: TeradataParameters.h:140
Aws::QuickSight::Model::TeradataParameters::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::TeradataParameters::SetDatabase
void SetDatabase(const Aws::String &value)
Definition: TeradataParameters.h:115
Aws::QuickSight::Model::TeradataParameters::operator=
TeradataParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::TeradataParameters::DatabaseHasBeenSet
bool DatabaseHasBeenSet() const
Definition: TeradataParameters.h:110
Aws::QuickSight::Model::TeradataParameters::GetDatabase
const Aws::String & GetDatabase() const
Definition: TeradataParameters.h:105
Aws::QuickSight::Model::TeradataParameters::HostHasBeenSet
bool HostHasBeenSet() const
Definition: TeradataParameters.h:48
Aws::QuickSight::Model::TeradataParameters
Definition: TeradataParameters.h:32
Aws::QuickSight::Model::TeradataParameters::SetPort
void SetPort(int value)
Definition: TeradataParameters.h:94
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::TeradataParameters::WithDatabase
TeradataParameters & WithDatabase(Aws::String &&value)
Definition: TeradataParameters.h:135
Aws::QuickSight::Model::TeradataParameters::WithHost
TeradataParameters & WithHost(const Aws::String &value)
Definition: TeradataParameters.h:68
Aws::QuickSight::Model::TeradataParameters::SetHost
void SetHost(const char *value)
Definition: TeradataParameters.h:63
Aws::QuickSight::Model::TeradataParameters::WithHost
TeradataParameters & WithHost(Aws::String &&value)
Definition: TeradataParameters.h:73
Aws::QuickSight::Model::TeradataParameters::GetPort
int GetPort() const
Definition: TeradataParameters.h:84
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::TeradataParameters::WithDatabase
TeradataParameters & WithDatabase(const Aws::String &value)
Definition: TeradataParameters.h:130
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::TeradataParameters::SetDatabase
void SetDatabase(Aws::String &&value)
Definition: TeradataParameters.h:120
Aws::QuickSight::Model::TeradataParameters::GetHost
const Aws::String & GetHost() const
Definition: TeradataParameters.h:43
Aws::QuickSight::Model::TeradataParameters::WithHost
TeradataParameters & WithHost(const char *value)
Definition: TeradataParameters.h:78
Aws::QuickSight::Model::TeradataParameters::TeradataParameters
TeradataParameters(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::TeradataParameters::PortHasBeenSet
bool PortHasBeenSet() const
Definition: TeradataParameters.h:89