AWS SDK for C++  1.9.104
AWS SDK for C++
ModifyDBProxyEndpointRequest.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 "ModifyDBProxyEndpoint"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
44  inline const Aws::String& GetDBProxyEndpointName() const{ return m_dBProxyEndpointName; }
45 
50  inline bool DBProxyEndpointNameHasBeenSet() const { return m_dBProxyEndpointNameHasBeenSet; }
51 
56  inline void SetDBProxyEndpointName(const Aws::String& value) { m_dBProxyEndpointNameHasBeenSet = true; m_dBProxyEndpointName = value; }
57 
62  inline void SetDBProxyEndpointName(Aws::String&& value) { m_dBProxyEndpointNameHasBeenSet = true; m_dBProxyEndpointName = std::move(value); }
63 
68  inline void SetDBProxyEndpointName(const char* value) { m_dBProxyEndpointNameHasBeenSet = true; m_dBProxyEndpointName.assign(value); }
69 
74  inline ModifyDBProxyEndpointRequest& WithDBProxyEndpointName(const Aws::String& value) { SetDBProxyEndpointName(value); return *this;}
75 
80  inline ModifyDBProxyEndpointRequest& WithDBProxyEndpointName(Aws::String&& value) { SetDBProxyEndpointName(std::move(value)); return *this;}
81 
86  inline ModifyDBProxyEndpointRequest& WithDBProxyEndpointName(const char* value) { SetDBProxyEndpointName(value); return *this;}
87 
88 
94  inline const Aws::String& GetNewDBProxyEndpointName() const{ return m_newDBProxyEndpointName; }
95 
101  inline bool NewDBProxyEndpointNameHasBeenSet() const { return m_newDBProxyEndpointNameHasBeenSet; }
102 
108  inline void SetNewDBProxyEndpointName(const Aws::String& value) { m_newDBProxyEndpointNameHasBeenSet = true; m_newDBProxyEndpointName = value; }
109 
115  inline void SetNewDBProxyEndpointName(Aws::String&& value) { m_newDBProxyEndpointNameHasBeenSet = true; m_newDBProxyEndpointName = std::move(value); }
116 
122  inline void SetNewDBProxyEndpointName(const char* value) { m_newDBProxyEndpointNameHasBeenSet = true; m_newDBProxyEndpointName.assign(value); }
123 
129  inline ModifyDBProxyEndpointRequest& WithNewDBProxyEndpointName(const Aws::String& value) { SetNewDBProxyEndpointName(value); return *this;}
130 
136  inline ModifyDBProxyEndpointRequest& WithNewDBProxyEndpointName(Aws::String&& value) { SetNewDBProxyEndpointName(std::move(value)); return *this;}
137 
143  inline ModifyDBProxyEndpointRequest& WithNewDBProxyEndpointName(const char* value) { SetNewDBProxyEndpointName(value); return *this;}
144 
145 
151  inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; }
152 
158  inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
159 
165  inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; }
166 
172  inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); }
173 
179  inline ModifyDBProxyEndpointRequest& WithVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetVpcSecurityGroupIds(value); return *this;}
180 
186  inline ModifyDBProxyEndpointRequest& WithVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetVpcSecurityGroupIds(std::move(value)); return *this;}
187 
193  inline ModifyDBProxyEndpointRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
194 
200  inline ModifyDBProxyEndpointRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; }
201 
207  inline ModifyDBProxyEndpointRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
208 
209  private:
210 
211  Aws::String m_dBProxyEndpointName;
212  bool m_dBProxyEndpointNameHasBeenSet;
213 
214  Aws::String m_newDBProxyEndpointName;
215  bool m_newDBProxyEndpointNameHasBeenSet;
216 
217  Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
218  bool m_vpcSecurityGroupIdsHasBeenSet;
219  };
220 
221 } // namespace Model
222 } // namespace RDS
223 } // namespace Aws
Aws::RDS::Model::ModifyDBProxyEndpointRequest::GetVpcSecurityGroupIds
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
Definition: ModifyDBProxyEndpointRequest.h:151
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::ModifyDBProxyEndpointRequest::GetDBProxyEndpointName
const Aws::String & GetDBProxyEndpointName() const
Definition: ModifyDBProxyEndpointRequest.h:44
Aws::RDS::Model::ModifyDBProxyEndpointRequest::SetDBProxyEndpointName
void SetDBProxyEndpointName(const char *value)
Definition: ModifyDBProxyEndpointRequest.h:68
Aws::RDS::Model::ModifyDBProxyEndpointRequest::ModifyDBProxyEndpointRequest
ModifyDBProxyEndpointRequest()
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ModifyDBProxyEndpointRequest::SetVpcSecurityGroupIds
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: ModifyDBProxyEndpointRequest.h:165
Aws::RDS::Model::ModifyDBProxyEndpointRequest
Definition: ModifyDBProxyEndpointRequest.h:23
Aws::RDS::Model::ModifyDBProxyEndpointRequest::WithDBProxyEndpointName
ModifyDBProxyEndpointRequest & WithDBProxyEndpointName(const Aws::String &value)
Definition: ModifyDBProxyEndpointRequest.h:74
Aws::RDS::Model::ModifyDBProxyEndpointRequest::SetDBProxyEndpointName
void SetDBProxyEndpointName(Aws::String &&value)
Definition: ModifyDBProxyEndpointRequest.h:62
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::ModifyDBProxyEndpointRequest::SetNewDBProxyEndpointName
void SetNewDBProxyEndpointName(const Aws::String &value)
Definition: ModifyDBProxyEndpointRequest.h:108
Aws::RDS::Model::ModifyDBProxyEndpointRequest::SetVpcSecurityGroupIds
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: ModifyDBProxyEndpointRequest.h:172
AWSVector.h
Aws::RDS::Model::ModifyDBProxyEndpointRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::ModifyDBProxyEndpointRequest::WithNewDBProxyEndpointName
ModifyDBProxyEndpointRequest & WithNewDBProxyEndpointName(Aws::String &&value)
Definition: ModifyDBProxyEndpointRequest.h:136
Aws::RDS::Model::ModifyDBProxyEndpointRequest::AddVpcSecurityGroupIds
ModifyDBProxyEndpointRequest & AddVpcSecurityGroupIds(const Aws::String &value)
Definition: ModifyDBProxyEndpointRequest.h:193
RDS_EXPORTS.h
Aws::RDS::Model::ModifyDBProxyEndpointRequest::SetDBProxyEndpointName
void SetDBProxyEndpointName(const Aws::String &value)
Definition: ModifyDBProxyEndpointRequest.h:56
Aws::RDS::Model::ModifyDBProxyEndpointRequest::DBProxyEndpointNameHasBeenSet
bool DBProxyEndpointNameHasBeenSet() const
Definition: ModifyDBProxyEndpointRequest.h:50
Aws::RDS::Model::ModifyDBProxyEndpointRequest::NewDBProxyEndpointNameHasBeenSet
bool NewDBProxyEndpointNameHasBeenSet() const
Definition: ModifyDBProxyEndpointRequest.h:101
Aws::RDS::Model::ModifyDBProxyEndpointRequest::WithDBProxyEndpointName
ModifyDBProxyEndpointRequest & WithDBProxyEndpointName(const char *value)
Definition: ModifyDBProxyEndpointRequest.h:86
Aws::RDS::Model::ModifyDBProxyEndpointRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::ModifyDBProxyEndpointRequest::VpcSecurityGroupIdsHasBeenSet
bool VpcSecurityGroupIdsHasBeenSet() const
Definition: ModifyDBProxyEndpointRequest.h:158
AWSString.h
Aws::RDS::Model::ModifyDBProxyEndpointRequest::SetNewDBProxyEndpointName
void SetNewDBProxyEndpointName(const char *value)
Definition: ModifyDBProxyEndpointRequest.h:122
Aws::RDS::Model::ModifyDBProxyEndpointRequest::WithDBProxyEndpointName
ModifyDBProxyEndpointRequest & WithDBProxyEndpointName(Aws::String &&value)
Definition: ModifyDBProxyEndpointRequest.h:80
Aws::RDS::Model::ModifyDBProxyEndpointRequest::WithNewDBProxyEndpointName
ModifyDBProxyEndpointRequest & WithNewDBProxyEndpointName(const Aws::String &value)
Definition: ModifyDBProxyEndpointRequest.h:129
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::ModifyDBProxyEndpointRequest::AddVpcSecurityGroupIds
ModifyDBProxyEndpointRequest & AddVpcSecurityGroupIds(Aws::String &&value)
Definition: ModifyDBProxyEndpointRequest.h:200
Aws::RDS::Model::ModifyDBProxyEndpointRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ModifyDBProxyEndpointRequest.h:31
Aws::RDS::Model::ModifyDBProxyEndpointRequest::WithVpcSecurityGroupIds
ModifyDBProxyEndpointRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: ModifyDBProxyEndpointRequest.h:179
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::ModifyDBProxyEndpointRequest::WithVpcSecurityGroupIds
ModifyDBProxyEndpointRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: ModifyDBProxyEndpointRequest.h:186
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::ModifyDBProxyEndpointRequest::SetNewDBProxyEndpointName
void SetNewDBProxyEndpointName(Aws::String &&value)
Definition: ModifyDBProxyEndpointRequest.h:115
Aws::RDS::Model::ModifyDBProxyEndpointRequest::GetNewDBProxyEndpointName
const Aws::String & GetNewDBProxyEndpointName() const
Definition: ModifyDBProxyEndpointRequest.h:94
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::ModifyDBProxyEndpointRequest::AddVpcSecurityGroupIds
ModifyDBProxyEndpointRequest & AddVpcSecurityGroupIds(const char *value)
Definition: ModifyDBProxyEndpointRequest.h:207
Aws::RDS::Model::ModifyDBProxyEndpointRequest::WithNewDBProxyEndpointName
ModifyDBProxyEndpointRequest & WithNewDBProxyEndpointName(const char *value)
Definition: ModifyDBProxyEndpointRequest.h:143