AWS SDK for C++  1.9.104
AWS SDK for C++
ModifyDBProxyTargetGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace RDS
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "ModifyDBProxyTargetGroup"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
43  inline const Aws::String& GetTargetGroupName() const{ return m_targetGroupName; }
44 
48  inline bool TargetGroupNameHasBeenSet() const { return m_targetGroupNameHasBeenSet; }
49 
53  inline void SetTargetGroupName(const Aws::String& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = value; }
54 
58  inline void SetTargetGroupName(Aws::String&& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = std::move(value); }
59 
63  inline void SetTargetGroupName(const char* value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName.assign(value); }
64 
68  inline ModifyDBProxyTargetGroupRequest& WithTargetGroupName(const Aws::String& value) { SetTargetGroupName(value); return *this;}
69 
73  inline ModifyDBProxyTargetGroupRequest& WithTargetGroupName(Aws::String&& value) { SetTargetGroupName(std::move(value)); return *this;}
74 
78  inline ModifyDBProxyTargetGroupRequest& WithTargetGroupName(const char* value) { SetTargetGroupName(value); return *this;}
79 
80 
84  inline const Aws::String& GetDBProxyName() const{ return m_dBProxyName; }
85 
89  inline bool DBProxyNameHasBeenSet() const { return m_dBProxyNameHasBeenSet; }
90 
94  inline void SetDBProxyName(const Aws::String& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = value; }
95 
99  inline void SetDBProxyName(Aws::String&& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = std::move(value); }
100 
104  inline void SetDBProxyName(const char* value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName.assign(value); }
105 
109  inline ModifyDBProxyTargetGroupRequest& WithDBProxyName(const Aws::String& value) { SetDBProxyName(value); return *this;}
110 
114  inline ModifyDBProxyTargetGroupRequest& WithDBProxyName(Aws::String&& value) { SetDBProxyName(std::move(value)); return *this;}
115 
119  inline ModifyDBProxyTargetGroupRequest& WithDBProxyName(const char* value) { SetDBProxyName(value); return *this;}
120 
121 
126  inline const ConnectionPoolConfiguration& GetConnectionPoolConfig() const{ return m_connectionPoolConfig; }
127 
132  inline bool ConnectionPoolConfigHasBeenSet() const { return m_connectionPoolConfigHasBeenSet; }
133 
138  inline void SetConnectionPoolConfig(const ConnectionPoolConfiguration& value) { m_connectionPoolConfigHasBeenSet = true; m_connectionPoolConfig = value; }
139 
144  inline void SetConnectionPoolConfig(ConnectionPoolConfiguration&& value) { m_connectionPoolConfigHasBeenSet = true; m_connectionPoolConfig = std::move(value); }
145 
150  inline ModifyDBProxyTargetGroupRequest& WithConnectionPoolConfig(const ConnectionPoolConfiguration& value) { SetConnectionPoolConfig(value); return *this;}
151 
156  inline ModifyDBProxyTargetGroupRequest& WithConnectionPoolConfig(ConnectionPoolConfiguration&& value) { SetConnectionPoolConfig(std::move(value)); return *this;}
157 
158 
164  inline const Aws::String& GetNewName() const{ return m_newName; }
165 
171  inline bool NewNameHasBeenSet() const { return m_newNameHasBeenSet; }
172 
178  inline void SetNewName(const Aws::String& value) { m_newNameHasBeenSet = true; m_newName = value; }
179 
185  inline void SetNewName(Aws::String&& value) { m_newNameHasBeenSet = true; m_newName = std::move(value); }
186 
192  inline void SetNewName(const char* value) { m_newNameHasBeenSet = true; m_newName.assign(value); }
193 
199  inline ModifyDBProxyTargetGroupRequest& WithNewName(const Aws::String& value) { SetNewName(value); return *this;}
200 
206  inline ModifyDBProxyTargetGroupRequest& WithNewName(Aws::String&& value) { SetNewName(std::move(value)); return *this;}
207 
213  inline ModifyDBProxyTargetGroupRequest& WithNewName(const char* value) { SetNewName(value); return *this;}
214 
215  private:
216 
217  Aws::String m_targetGroupName;
218  bool m_targetGroupNameHasBeenSet;
219 
220  Aws::String m_dBProxyName;
221  bool m_dBProxyNameHasBeenSet;
222 
223  ConnectionPoolConfiguration m_connectionPoolConfig;
224  bool m_connectionPoolConfigHasBeenSet;
225 
226  Aws::String m_newName;
227  bool m_newNameHasBeenSet;
228  };
229 
230 } // namespace Model
231 } // namespace RDS
232 } // namespace Aws
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::WithNewName
ModifyDBProxyTargetGroupRequest & WithNewName(Aws::String &&value)
Definition: ModifyDBProxyTargetGroupRequest.h:206
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::WithDBProxyName
ModifyDBProxyTargetGroupRequest & WithDBProxyName(Aws::String &&value)
Definition: ModifyDBProxyTargetGroupRequest.h:114
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::WithTargetGroupName
ModifyDBProxyTargetGroupRequest & WithTargetGroupName(Aws::String &&value)
Definition: ModifyDBProxyTargetGroupRequest.h:73
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::WithConnectionPoolConfig
ModifyDBProxyTargetGroupRequest & WithConnectionPoolConfig(const ConnectionPoolConfiguration &value)
Definition: ModifyDBProxyTargetGroupRequest.h:150
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::SetConnectionPoolConfig
void SetConnectionPoolConfig(const ConnectionPoolConfiguration &value)
Definition: ModifyDBProxyTargetGroupRequest.h:138
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::GetTargetGroupName
const Aws::String & GetTargetGroupName() const
Definition: ModifyDBProxyTargetGroupRequest.h:43
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::SetTargetGroupName
void SetTargetGroupName(Aws::String &&value)
Definition: ModifyDBProxyTargetGroupRequest.h:58
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ModifyDBProxyTargetGroupRequest.h:31
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::ModifyDBProxyTargetGroupRequest
ModifyDBProxyTargetGroupRequest()
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::GetNewName
const Aws::String & GetNewName() const
Definition: ModifyDBProxyTargetGroupRequest.h:164
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::SetDBProxyName
void SetDBProxyName(const char *value)
Definition: ModifyDBProxyTargetGroupRequest.h:104
Aws::RDS::Model::ConnectionPoolConfiguration
Definition: ConnectionPoolConfiguration.h:35
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::SetNewName
void SetNewName(const char *value)
Definition: ModifyDBProxyTargetGroupRequest.h:192
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::DBProxyNameHasBeenSet
bool DBProxyNameHasBeenSet() const
Definition: ModifyDBProxyTargetGroupRequest.h:89
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::TargetGroupNameHasBeenSet
bool TargetGroupNameHasBeenSet() const
Definition: ModifyDBProxyTargetGroupRequest.h:48
RDS_EXPORTS.h
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::WithDBProxyName
ModifyDBProxyTargetGroupRequest & WithDBProxyName(const Aws::String &value)
Definition: ModifyDBProxyTargetGroupRequest.h:109
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::NewNameHasBeenSet
bool NewNameHasBeenSet() const
Definition: ModifyDBProxyTargetGroupRequest.h:171
AWSString.h
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::SetDBProxyName
void SetDBProxyName(const Aws::String &value)
Definition: ModifyDBProxyTargetGroupRequest.h:94
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::WithNewName
ModifyDBProxyTargetGroupRequest & WithNewName(const Aws::String &value)
Definition: ModifyDBProxyTargetGroupRequest.h:199
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::GetConnectionPoolConfig
const ConnectionPoolConfiguration & GetConnectionPoolConfig() const
Definition: ModifyDBProxyTargetGroupRequest.h:126
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::WithNewName
ModifyDBProxyTargetGroupRequest & WithNewName(const char *value)
Definition: ModifyDBProxyTargetGroupRequest.h:213
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::SetTargetGroupName
void SetTargetGroupName(const Aws::String &value)
Definition: ModifyDBProxyTargetGroupRequest.h:53
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::ConnectionPoolConfigHasBeenSet
bool ConnectionPoolConfigHasBeenSet() const
Definition: ModifyDBProxyTargetGroupRequest.h:132
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::SetNewName
void SetNewName(Aws::String &&value)
Definition: ModifyDBProxyTargetGroupRequest.h:185
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::SetConnectionPoolConfig
void SetConnectionPoolConfig(ConnectionPoolConfiguration &&value)
Definition: ModifyDBProxyTargetGroupRequest.h:144
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::GetDBProxyName
const Aws::String & GetDBProxyName() const
Definition: ModifyDBProxyTargetGroupRequest.h:84
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::WithDBProxyName
ModifyDBProxyTargetGroupRequest & WithDBProxyName(const char *value)
Definition: ModifyDBProxyTargetGroupRequest.h:119
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
ConnectionPoolConfiguration.h
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest
Definition: ModifyDBProxyTargetGroupRequest.h:23
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::SetNewName
void SetNewName(const Aws::String &value)
Definition: ModifyDBProxyTargetGroupRequest.h:178
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::SetTargetGroupName
void SetTargetGroupName(const char *value)
Definition: ModifyDBProxyTargetGroupRequest.h:63
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::WithTargetGroupName
ModifyDBProxyTargetGroupRequest & WithTargetGroupName(const Aws::String &value)
Definition: ModifyDBProxyTargetGroupRequest.h:68
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::SetDBProxyName
void SetDBProxyName(Aws::String &&value)
Definition: ModifyDBProxyTargetGroupRequest.h:99
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::WithConnectionPoolConfig
ModifyDBProxyTargetGroupRequest & WithConnectionPoolConfig(ConnectionPoolConfiguration &&value)
Definition: ModifyDBProxyTargetGroupRequest.h:156
Aws::RDS::Model::ModifyDBProxyTargetGroupRequest::WithTargetGroupName
ModifyDBProxyTargetGroupRequest & WithTargetGroupName(const char *value)
Definition: ModifyDBProxyTargetGroupRequest.h:78