AWS SDK for C++  1.9.108
AWS SDK for C++
RdsParameters.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& GetInstanceId() const{ return m_instanceId; }
44 
48  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
49 
53  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
54 
58  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
59 
63  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
64 
68  inline RdsParameters& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
69 
73  inline RdsParameters& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
74 
78  inline RdsParameters& WithInstanceId(const char* value) { SetInstanceId(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 RdsParameters& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
110 
114  inline RdsParameters& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
115 
119  inline RdsParameters& WithDatabase(const char* value) { SetDatabase(value); return *this;}
120 
121  private:
122 
123  Aws::String m_instanceId;
124  bool m_instanceIdHasBeenSet;
125 
126  Aws::String m_database;
127  bool m_databaseHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace QuickSight
132 } // namespace Aws
Aws::QuickSight::Model::RdsParameters::WithDatabase
RdsParameters & WithDatabase(const char *value)
Definition: RdsParameters.h:119
QuickSight_EXPORTS.h
Aws::QuickSight::Model::RdsParameters
Definition: RdsParameters.h:32
Aws::QuickSight::Model::RdsParameters::RdsParameters
RdsParameters(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::RdsParameters::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: RdsParameters.h:43
Aws::QuickSight::Model::RdsParameters::WithInstanceId
RdsParameters & WithInstanceId(const Aws::String &value)
Definition: RdsParameters.h:68
Aws::QuickSight::Model::RdsParameters::WithInstanceId
RdsParameters & WithInstanceId(Aws::String &&value)
Definition: RdsParameters.h:73
Aws::QuickSight::Model::RdsParameters::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::RdsParameters::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: RdsParameters.h:58
Aws::QuickSight::Model::RdsParameters::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: RdsParameters.h:48
Aws::QuickSight::Model::RdsParameters::SetInstanceId
void SetInstanceId(const char *value)
Definition: RdsParameters.h:63
Aws::QuickSight::Model::RdsParameters::DatabaseHasBeenSet
bool DatabaseHasBeenSet() const
Definition: RdsParameters.h:89
Aws::QuickSight::Model::RdsParameters::SetDatabase
void SetDatabase(const Aws::String &value)
Definition: RdsParameters.h:94
Aws::QuickSight::Model::RdsParameters::RdsParameters
RdsParameters()
Aws::QuickSight::Model::RdsParameters::WithDatabase
RdsParameters & WithDatabase(Aws::String &&value)
Definition: RdsParameters.h:114
Aws::QuickSight::Model::RdsParameters::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: RdsParameters.h:53
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::RdsParameters::WithInstanceId
RdsParameters & WithInstanceId(const char *value)
Definition: RdsParameters.h:78
Aws::QuickSight::Model::RdsParameters::SetDatabase
void SetDatabase(const char *value)
Definition: RdsParameters.h:104
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::RdsParameters::WithDatabase
RdsParameters & WithDatabase(const Aws::String &value)
Definition: RdsParameters.h:109
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::RdsParameters::GetDatabase
const Aws::String & GetDatabase() const
Definition: RdsParameters.h:84
Aws::QuickSight::Model::RdsParameters::SetDatabase
void SetDatabase(Aws::String &&value)
Definition: RdsParameters.h:99
Aws::QuickSight::Model::RdsParameters::operator=
RdsParameters & operator=(Aws::Utils::Json::JsonView jsonValue)