AWS SDK for C++  1.9.104
AWS SDK for C++
ModifyDBProxyRequest.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>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace RDS
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "ModifyDBProxy"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
44  inline const Aws::String& GetDBProxyName() const{ return m_dBProxyName; }
45 
49  inline bool DBProxyNameHasBeenSet() const { return m_dBProxyNameHasBeenSet; }
50 
54  inline void SetDBProxyName(const Aws::String& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = value; }
55 
59  inline void SetDBProxyName(Aws::String&& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = std::move(value); }
60 
64  inline void SetDBProxyName(const char* value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName.assign(value); }
65 
69  inline ModifyDBProxyRequest& WithDBProxyName(const Aws::String& value) { SetDBProxyName(value); return *this;}
70 
74  inline ModifyDBProxyRequest& WithDBProxyName(Aws::String&& value) { SetDBProxyName(std::move(value)); return *this;}
75 
79  inline ModifyDBProxyRequest& WithDBProxyName(const char* value) { SetDBProxyName(value); return *this;}
80 
81 
87  inline const Aws::String& GetNewDBProxyName() const{ return m_newDBProxyName; }
88 
94  inline bool NewDBProxyNameHasBeenSet() const { return m_newDBProxyNameHasBeenSet; }
95 
101  inline void SetNewDBProxyName(const Aws::String& value) { m_newDBProxyNameHasBeenSet = true; m_newDBProxyName = value; }
102 
108  inline void SetNewDBProxyName(Aws::String&& value) { m_newDBProxyNameHasBeenSet = true; m_newDBProxyName = std::move(value); }
109 
115  inline void SetNewDBProxyName(const char* value) { m_newDBProxyNameHasBeenSet = true; m_newDBProxyName.assign(value); }
116 
122  inline ModifyDBProxyRequest& WithNewDBProxyName(const Aws::String& value) { SetNewDBProxyName(value); return *this;}
123 
129  inline ModifyDBProxyRequest& WithNewDBProxyName(Aws::String&& value) { SetNewDBProxyName(std::move(value)); return *this;}
130 
136  inline ModifyDBProxyRequest& WithNewDBProxyName(const char* value) { SetNewDBProxyName(value); return *this;}
137 
138 
142  inline const Aws::Vector<UserAuthConfig>& GetAuth() const{ return m_auth; }
143 
147  inline bool AuthHasBeenSet() const { return m_authHasBeenSet; }
148 
152  inline void SetAuth(const Aws::Vector<UserAuthConfig>& value) { m_authHasBeenSet = true; m_auth = value; }
153 
157  inline void SetAuth(Aws::Vector<UserAuthConfig>&& value) { m_authHasBeenSet = true; m_auth = std::move(value); }
158 
162  inline ModifyDBProxyRequest& WithAuth(const Aws::Vector<UserAuthConfig>& value) { SetAuth(value); return *this;}
163 
167  inline ModifyDBProxyRequest& WithAuth(Aws::Vector<UserAuthConfig>&& value) { SetAuth(std::move(value)); return *this;}
168 
172  inline ModifyDBProxyRequest& AddAuth(const UserAuthConfig& value) { m_authHasBeenSet = true; m_auth.push_back(value); return *this; }
173 
177  inline ModifyDBProxyRequest& AddAuth(UserAuthConfig&& value) { m_authHasBeenSet = true; m_auth.push_back(std::move(value)); return *this; }
178 
179 
185  inline bool GetRequireTLS() const{ return m_requireTLS; }
186 
192  inline bool RequireTLSHasBeenSet() const { return m_requireTLSHasBeenSet; }
193 
199  inline void SetRequireTLS(bool value) { m_requireTLSHasBeenSet = true; m_requireTLS = value; }
200 
206  inline ModifyDBProxyRequest& WithRequireTLS(bool value) { SetRequireTLS(value); return *this;}
207 
208 
214  inline int GetIdleClientTimeout() const{ return m_idleClientTimeout; }
215 
221  inline bool IdleClientTimeoutHasBeenSet() const { return m_idleClientTimeoutHasBeenSet; }
222 
228  inline void SetIdleClientTimeout(int value) { m_idleClientTimeoutHasBeenSet = true; m_idleClientTimeout = value; }
229 
235  inline ModifyDBProxyRequest& WithIdleClientTimeout(int value) { SetIdleClientTimeout(value); return *this;}
236 
237 
247  inline bool GetDebugLogging() const{ return m_debugLogging; }
248 
258  inline bool DebugLoggingHasBeenSet() const { return m_debugLoggingHasBeenSet; }
259 
269  inline void SetDebugLogging(bool value) { m_debugLoggingHasBeenSet = true; m_debugLogging = value; }
270 
280  inline ModifyDBProxyRequest& WithDebugLogging(bool value) { SetDebugLogging(value); return *this;}
281 
282 
287  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
288 
293  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
294 
299  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
300 
305  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
306 
311  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
312 
317  inline ModifyDBProxyRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
318 
323  inline ModifyDBProxyRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
324 
329  inline ModifyDBProxyRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
330 
331 
335  inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
336 
340  inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
341 
345  inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
346 
350  inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
351 
355  inline ModifyDBProxyRequest& WithSecurityGroups(const Aws::Vector<Aws::String>& value) { SetSecurityGroups(value); return *this;}
356 
360  inline ModifyDBProxyRequest& WithSecurityGroups(Aws::Vector<Aws::String>&& value) { SetSecurityGroups(std::move(value)); return *this;}
361 
365  inline ModifyDBProxyRequest& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
366 
370  inline ModifyDBProxyRequest& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
371 
375  inline ModifyDBProxyRequest& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
376 
377  private:
378 
379  Aws::String m_dBProxyName;
380  bool m_dBProxyNameHasBeenSet;
381 
382  Aws::String m_newDBProxyName;
383  bool m_newDBProxyNameHasBeenSet;
384 
386  bool m_authHasBeenSet;
387 
388  bool m_requireTLS;
389  bool m_requireTLSHasBeenSet;
390 
391  int m_idleClientTimeout;
392  bool m_idleClientTimeoutHasBeenSet;
393 
394  bool m_debugLogging;
395  bool m_debugLoggingHasBeenSet;
396 
397  Aws::String m_roleArn;
398  bool m_roleArnHasBeenSet;
399 
400  Aws::Vector<Aws::String> m_securityGroups;
401  bool m_securityGroupsHasBeenSet;
402  };
403 
404 } // namespace Model
405 } // namespace RDS
406 } // namespace Aws
Aws::RDS::Model::ModifyDBProxyRequest::WithAuth
ModifyDBProxyRequest & WithAuth(Aws::Vector< UserAuthConfig > &&value)
Definition: ModifyDBProxyRequest.h:167
Aws::RDS::Model::ModifyDBProxyRequest::AddSecurityGroups
ModifyDBProxyRequest & AddSecurityGroups(const Aws::String &value)
Definition: ModifyDBProxyRequest.h:365
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::ModifyDBProxyRequest::WithNewDBProxyName
ModifyDBProxyRequest & WithNewDBProxyName(const char *value)
Definition: ModifyDBProxyRequest.h:136
Aws::RDS::Model::ModifyDBProxyRequest::SetIdleClientTimeout
void SetIdleClientTimeout(int value)
Definition: ModifyDBProxyRequest.h:228
Aws::RDS::Model::ModifyDBProxyRequest::GetDBProxyName
const Aws::String & GetDBProxyName() const
Definition: ModifyDBProxyRequest.h:44
Aws::RDS::Model::ModifyDBProxyRequest::SetNewDBProxyName
void SetNewDBProxyName(const char *value)
Definition: ModifyDBProxyRequest.h:115
Aws::RDS::Model::ModifyDBProxyRequest::DBProxyNameHasBeenSet
bool DBProxyNameHasBeenSet() const
Definition: ModifyDBProxyRequest.h:49
Aws::RDS::Model::ModifyDBProxyRequest::SetSecurityGroups
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
Definition: ModifyDBProxyRequest.h:345
Aws::RDS::Model::ModifyDBProxyRequest::SetRequireTLS
void SetRequireTLS(bool value)
Definition: ModifyDBProxyRequest.h:199
Aws::RDS::Model::ModifyDBProxyRequest::SetDBProxyName
void SetDBProxyName(Aws::String &&value)
Definition: ModifyDBProxyRequest.h:59
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ModifyDBProxyRequest::GetNewDBProxyName
const Aws::String & GetNewDBProxyName() const
Definition: ModifyDBProxyRequest.h:87
Aws::RDS::Model::ModifyDBProxyRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::ModifyDBProxyRequest::SetAuth
void SetAuth(Aws::Vector< UserAuthConfig > &&value)
Definition: ModifyDBProxyRequest.h:157
Aws::RDS::Model::ModifyDBProxyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::ModifyDBProxyRequest::WithNewDBProxyName
ModifyDBProxyRequest & WithNewDBProxyName(Aws::String &&value)
Definition: ModifyDBProxyRequest.h:129
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::ModifyDBProxyRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: ModifyDBProxyRequest.h:293
Aws::RDS::Model::ModifyDBProxyRequest::WithAuth
ModifyDBProxyRequest & WithAuth(const Aws::Vector< UserAuthConfig > &value)
Definition: ModifyDBProxyRequest.h:162
AWSVector.h
Aws::RDS::Model::ModifyDBProxyRequest::WithDebugLogging
ModifyDBProxyRequest & WithDebugLogging(bool value)
Definition: ModifyDBProxyRequest.h:280
Aws::RDS::Model::ModifyDBProxyRequest::GetRequireTLS
bool GetRequireTLS() const
Definition: ModifyDBProxyRequest.h:185
Aws::RDS::Model::ModifyDBProxyRequest::SetNewDBProxyName
void SetNewDBProxyName(Aws::String &&value)
Definition: ModifyDBProxyRequest.h:108
Aws::RDS::Model::ModifyDBProxyRequest::SetDBProxyName
void SetDBProxyName(const char *value)
Definition: ModifyDBProxyRequest.h:64
RDS_EXPORTS.h
UserAuthConfig.h
Aws::RDS::Model::ModifyDBProxyRequest::WithRoleArn
ModifyDBProxyRequest & WithRoleArn(const char *value)
Definition: ModifyDBProxyRequest.h:329
Aws::RDS::Model::ModifyDBProxyRequest::WithSecurityGroups
ModifyDBProxyRequest & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
Definition: ModifyDBProxyRequest.h:360
Aws::RDS::Model::ModifyDBProxyRequest::ModifyDBProxyRequest
ModifyDBProxyRequest()
Aws::RDS::Model::ModifyDBProxyRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: ModifyDBProxyRequest.h:287
Aws::RDS::Model::ModifyDBProxyRequest::RequireTLSHasBeenSet
bool RequireTLSHasBeenSet() const
Definition: ModifyDBProxyRequest.h:192
Aws::RDS::Model::ModifyDBProxyRequest::IdleClientTimeoutHasBeenSet
bool IdleClientTimeoutHasBeenSet() const
Definition: ModifyDBProxyRequest.h:221
Aws::RDS::Model::ModifyDBProxyRequest::SetSecurityGroups
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
Definition: ModifyDBProxyRequest.h:350
AWSString.h
Aws::RDS::Model::ModifyDBProxyRequest::SetAuth
void SetAuth(const Aws::Vector< UserAuthConfig > &value)
Definition: ModifyDBProxyRequest.h:152
Aws::RDS::Model::ModifyDBProxyRequest::DebugLoggingHasBeenSet
bool DebugLoggingHasBeenSet() const
Definition: ModifyDBProxyRequest.h:258
Aws::RDS::Model::ModifyDBProxyRequest::SetDebugLogging
void SetDebugLogging(bool value)
Definition: ModifyDBProxyRequest.h:269
Aws::RDS::Model::ModifyDBProxyRequest::WithSecurityGroups
ModifyDBProxyRequest & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
Definition: ModifyDBProxyRequest.h:355
Aws::RDS::Model::ModifyDBProxyRequest::SecurityGroupsHasBeenSet
bool SecurityGroupsHasBeenSet() const
Definition: ModifyDBProxyRequest.h:340
Aws::RDS::Model::ModifyDBProxyRequest::WithRoleArn
ModifyDBProxyRequest & WithRoleArn(const Aws::String &value)
Definition: ModifyDBProxyRequest.h:317
Aws::RDS::Model::ModifyDBProxyRequest::SetDBProxyName
void SetDBProxyName(const Aws::String &value)
Definition: ModifyDBProxyRequest.h:54
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::ModifyDBProxyRequest::WithRoleArn
ModifyDBProxyRequest & WithRoleArn(Aws::String &&value)
Definition: ModifyDBProxyRequest.h:323
Aws::RDS::Model::ModifyDBProxyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ModifyDBProxyRequest.h:32
Aws::RDS::Model::ModifyDBProxyRequest::WithDBProxyName
ModifyDBProxyRequest & WithDBProxyName(const char *value)
Definition: ModifyDBProxyRequest.h:79
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::ModifyDBProxyRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: ModifyDBProxyRequest.h:305
Aws::RDS::Model::ModifyDBProxyRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: ModifyDBProxyRequest.h:311
Aws::RDS::Model::ModifyDBProxyRequest::WithIdleClientTimeout
ModifyDBProxyRequest & WithIdleClientTimeout(int value)
Definition: ModifyDBProxyRequest.h:235
Aws::RDS::Model::ModifyDBProxyRequest::AddAuth
ModifyDBProxyRequest & AddAuth(UserAuthConfig &&value)
Definition: ModifyDBProxyRequest.h:177
Aws::RDS::Model::ModifyDBProxyRequest::WithDBProxyName
ModifyDBProxyRequest & WithDBProxyName(const Aws::String &value)
Definition: ModifyDBProxyRequest.h:69
Aws::RDS::Model::ModifyDBProxyRequest::NewDBProxyNameHasBeenSet
bool NewDBProxyNameHasBeenSet() const
Definition: ModifyDBProxyRequest.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::ModifyDBProxyRequest::WithNewDBProxyName
ModifyDBProxyRequest & WithNewDBProxyName(const Aws::String &value)
Definition: ModifyDBProxyRequest.h:122
Aws::RDS::Model::ModifyDBProxyRequest::WithRequireTLS
ModifyDBProxyRequest & WithRequireTLS(bool value)
Definition: ModifyDBProxyRequest.h:206
RDSRequest.h
Aws::RDS::Model::ModifyDBProxyRequest::GetSecurityGroups
const Aws::Vector< Aws::String > & GetSecurityGroups() const
Definition: ModifyDBProxyRequest.h:335
Aws::RDS::Model::ModifyDBProxyRequest::WithDBProxyName
ModifyDBProxyRequest & WithDBProxyName(Aws::String &&value)
Definition: ModifyDBProxyRequest.h:74
Aws::RDS::Model::ModifyDBProxyRequest::GetIdleClientTimeout
int GetIdleClientTimeout() const
Definition: ModifyDBProxyRequest.h:214
Aws::RDS::Model::ModifyDBProxyRequest::AddSecurityGroups
ModifyDBProxyRequest & AddSecurityGroups(const char *value)
Definition: ModifyDBProxyRequest.h:375
Aws::RDS::Model::ModifyDBProxyRequest::SetNewDBProxyName
void SetNewDBProxyName(const Aws::String &value)
Definition: ModifyDBProxyRequest.h:101
Aws::RDS::Model::ModifyDBProxyRequest::GetAuth
const Aws::Vector< UserAuthConfig > & GetAuth() const
Definition: ModifyDBProxyRequest.h:142
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::ModifyDBProxyRequest::AddAuth
ModifyDBProxyRequest & AddAuth(const UserAuthConfig &value)
Definition: ModifyDBProxyRequest.h:172
Aws::RDS::Model::ModifyDBProxyRequest::GetDebugLogging
bool GetDebugLogging() const
Definition: ModifyDBProxyRequest.h:247
Aws::RDS::Model::ModifyDBProxyRequest::AddSecurityGroups
ModifyDBProxyRequest & AddSecurityGroups(Aws::String &&value)
Definition: ModifyDBProxyRequest.h:370
Aws::RDS::Model::ModifyDBProxyRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: ModifyDBProxyRequest.h:299
Aws::RDS::Model::ModifyDBProxyRequest
Definition: ModifyDBProxyRequest.h:24
Aws::RDS::Model::ModifyDBProxyRequest::AuthHasBeenSet
bool AuthHasBeenSet() const
Definition: ModifyDBProxyRequest.h:147
Aws::RDS::Model::UserAuthConfig
Definition: UserAuthConfig.h:35