AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyDBProxyRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/UserAuthConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace RDS
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_RDS_API ModifyDBProxyRequest();
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_RDS_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
45 inline const Aws::String& GetDBProxyName() const{ return m_dBProxyName; }
46 inline bool DBProxyNameHasBeenSet() const { return m_dBProxyNameHasBeenSet; }
47 inline void SetDBProxyName(const Aws::String& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = value; }
48 inline void SetDBProxyName(Aws::String&& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = std::move(value); }
49 inline void SetDBProxyName(const char* value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName.assign(value); }
50 inline ModifyDBProxyRequest& WithDBProxyName(const Aws::String& value) { SetDBProxyName(value); return *this;}
51 inline ModifyDBProxyRequest& WithDBProxyName(Aws::String&& value) { SetDBProxyName(std::move(value)); return *this;}
52 inline ModifyDBProxyRequest& WithDBProxyName(const char* value) { SetDBProxyName(value); return *this;}
54
56
61 inline const Aws::String& GetNewDBProxyName() const{ return m_newDBProxyName; }
62 inline bool NewDBProxyNameHasBeenSet() const { return m_newDBProxyNameHasBeenSet; }
63 inline void SetNewDBProxyName(const Aws::String& value) { m_newDBProxyNameHasBeenSet = true; m_newDBProxyName = value; }
64 inline void SetNewDBProxyName(Aws::String&& value) { m_newDBProxyNameHasBeenSet = true; m_newDBProxyName = std::move(value); }
65 inline void SetNewDBProxyName(const char* value) { m_newDBProxyNameHasBeenSet = true; m_newDBProxyName.assign(value); }
66 inline ModifyDBProxyRequest& WithNewDBProxyName(const Aws::String& value) { SetNewDBProxyName(value); return *this;}
67 inline ModifyDBProxyRequest& WithNewDBProxyName(Aws::String&& value) { SetNewDBProxyName(std::move(value)); return *this;}
68 inline ModifyDBProxyRequest& WithNewDBProxyName(const char* value) { SetNewDBProxyName(value); return *this;}
70
72
75 inline const Aws::Vector<UserAuthConfig>& GetAuth() const{ return m_auth; }
76 inline bool AuthHasBeenSet() const { return m_authHasBeenSet; }
77 inline void SetAuth(const Aws::Vector<UserAuthConfig>& value) { m_authHasBeenSet = true; m_auth = value; }
78 inline void SetAuth(Aws::Vector<UserAuthConfig>&& value) { m_authHasBeenSet = true; m_auth = std::move(value); }
79 inline ModifyDBProxyRequest& WithAuth(const Aws::Vector<UserAuthConfig>& value) { SetAuth(value); return *this;}
80 inline ModifyDBProxyRequest& WithAuth(Aws::Vector<UserAuthConfig>&& value) { SetAuth(std::move(value)); return *this;}
81 inline ModifyDBProxyRequest& AddAuth(const UserAuthConfig& value) { m_authHasBeenSet = true; m_auth.push_back(value); return *this; }
82 inline ModifyDBProxyRequest& AddAuth(UserAuthConfig&& value) { m_authHasBeenSet = true; m_auth.push_back(std::move(value)); return *this; }
84
86
91 inline bool GetRequireTLS() const{ return m_requireTLS; }
92 inline bool RequireTLSHasBeenSet() const { return m_requireTLSHasBeenSet; }
93 inline void SetRequireTLS(bool value) { m_requireTLSHasBeenSet = true; m_requireTLS = value; }
94 inline ModifyDBProxyRequest& WithRequireTLS(bool value) { SetRequireTLS(value); return *this;}
96
98
103 inline int GetIdleClientTimeout() const{ return m_idleClientTimeout; }
104 inline bool IdleClientTimeoutHasBeenSet() const { return m_idleClientTimeoutHasBeenSet; }
105 inline void SetIdleClientTimeout(int value) { m_idleClientTimeoutHasBeenSet = true; m_idleClientTimeout = value; }
106 inline ModifyDBProxyRequest& WithIdleClientTimeout(int value) { SetIdleClientTimeout(value); return *this;}
108
110
119 inline bool GetDebugLogging() const{ return m_debugLogging; }
120 inline bool DebugLoggingHasBeenSet() const { return m_debugLoggingHasBeenSet; }
121 inline void SetDebugLogging(bool value) { m_debugLoggingHasBeenSet = true; m_debugLogging = value; }
122 inline ModifyDBProxyRequest& WithDebugLogging(bool value) { SetDebugLogging(value); return *this;}
124
126
130 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
131 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
132 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
133 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
134 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
135 inline ModifyDBProxyRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
136 inline ModifyDBProxyRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
137 inline ModifyDBProxyRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
139
141
144 inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
145 inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
146 inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
147 inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
149 inline ModifyDBProxyRequest& WithSecurityGroups(Aws::Vector<Aws::String>&& value) { SetSecurityGroups(std::move(value)); return *this;}
150 inline ModifyDBProxyRequest& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
151 inline ModifyDBProxyRequest& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
152 inline ModifyDBProxyRequest& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
154 private:
155
156 Aws::String m_dBProxyName;
157 bool m_dBProxyNameHasBeenSet = false;
158
159 Aws::String m_newDBProxyName;
160 bool m_newDBProxyNameHasBeenSet = false;
161
163 bool m_authHasBeenSet = false;
164
165 bool m_requireTLS;
166 bool m_requireTLSHasBeenSet = false;
167
168 int m_idleClientTimeout;
169 bool m_idleClientTimeoutHasBeenSet = false;
170
171 bool m_debugLogging;
172 bool m_debugLoggingHasBeenSet = false;
173
174 Aws::String m_roleArn;
175 bool m_roleArnHasBeenSet = false;
176
177 Aws::Vector<Aws::String> m_securityGroups;
178 bool m_securityGroupsHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace RDS
183} // namespace Aws
const Aws::String & GetNewDBProxyName() const
ModifyDBProxyRequest & WithRoleArn(Aws::String &&value)
ModifyDBProxyRequest & AddSecurityGroups(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
ModifyDBProxyRequest & AddSecurityGroups(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ModifyDBProxyRequest & WithAuth(const Aws::Vector< UserAuthConfig > &value)
ModifyDBProxyRequest & WithDBProxyName(const char *value)
AWS_RDS_API Aws::String SerializePayload() const override
ModifyDBProxyRequest & AddAuth(const UserAuthConfig &value)
void SetNewDBProxyName(Aws::String &&value)
ModifyDBProxyRequest & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
ModifyDBProxyRequest & WithNewDBProxyName(const char *value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyDBProxyRequest & AddSecurityGroups(const char *value)
void SetAuth(const Aws::Vector< UserAuthConfig > &value)
const Aws::Vector< UserAuthConfig > & GetAuth() const
void SetNewDBProxyName(const Aws::String &value)
ModifyDBProxyRequest & WithNewDBProxyName(const Aws::String &value)
ModifyDBProxyRequest & WithRequireTLS(bool value)
void SetDBProxyName(const Aws::String &value)
ModifyDBProxyRequest & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
ModifyDBProxyRequest & AddAuth(UserAuthConfig &&value)
ModifyDBProxyRequest & WithAuth(Aws::Vector< UserAuthConfig > &&value)
ModifyDBProxyRequest & WithDebugLogging(bool value)
ModifyDBProxyRequest & WithDBProxyName(const Aws::String &value)
ModifyDBProxyRequest & WithRoleArn(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
ModifyDBProxyRequest & WithIdleClientTimeout(int value)
ModifyDBProxyRequest & WithDBProxyName(Aws::String &&value)
ModifyDBProxyRequest & WithNewDBProxyName(Aws::String &&value)
const Aws::String & GetDBProxyName() const
ModifyDBProxyRequest & WithRoleArn(const char *value)
void SetAuth(Aws::Vector< UserAuthConfig > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector