AWS SDK for C++  1.9.104
AWS SDK for C++
RevokeDBSecurityGroupIngressRequest.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>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RDS
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "RevokeDBSecurityGroupIngress"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
45  inline const Aws::String& GetDBSecurityGroupName() const{ return m_dBSecurityGroupName; }
46 
50  inline bool DBSecurityGroupNameHasBeenSet() const { return m_dBSecurityGroupNameHasBeenSet; }
51 
55  inline void SetDBSecurityGroupName(const Aws::String& value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName = value; }
56 
60  inline void SetDBSecurityGroupName(Aws::String&& value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName = std::move(value); }
61 
65  inline void SetDBSecurityGroupName(const char* value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName.assign(value); }
66 
70  inline RevokeDBSecurityGroupIngressRequest& WithDBSecurityGroupName(const Aws::String& value) { SetDBSecurityGroupName(value); return *this;}
71 
75  inline RevokeDBSecurityGroupIngressRequest& WithDBSecurityGroupName(Aws::String&& value) { SetDBSecurityGroupName(std::move(value)); return *this;}
76 
80  inline RevokeDBSecurityGroupIngressRequest& WithDBSecurityGroupName(const char* value) { SetDBSecurityGroupName(value); return *this;}
81 
82 
89  inline const Aws::String& GetCIDRIP() const{ return m_cIDRIP; }
90 
97  inline bool CIDRIPHasBeenSet() const { return m_cIDRIPHasBeenSet; }
98 
105  inline void SetCIDRIP(const Aws::String& value) { m_cIDRIPHasBeenSet = true; m_cIDRIP = value; }
106 
113  inline void SetCIDRIP(Aws::String&& value) { m_cIDRIPHasBeenSet = true; m_cIDRIP = std::move(value); }
114 
121  inline void SetCIDRIP(const char* value) { m_cIDRIPHasBeenSet = true; m_cIDRIP.assign(value); }
122 
129  inline RevokeDBSecurityGroupIngressRequest& WithCIDRIP(const Aws::String& value) { SetCIDRIP(value); return *this;}
130 
137  inline RevokeDBSecurityGroupIngressRequest& WithCIDRIP(Aws::String&& value) { SetCIDRIP(std::move(value)); return *this;}
138 
145  inline RevokeDBSecurityGroupIngressRequest& WithCIDRIP(const char* value) { SetCIDRIP(value); return *this;}
146 
147 
154  inline const Aws::String& GetEC2SecurityGroupName() const{ return m_eC2SecurityGroupName; }
155 
162  inline bool EC2SecurityGroupNameHasBeenSet() const { return m_eC2SecurityGroupNameHasBeenSet; }
163 
170  inline void SetEC2SecurityGroupName(const Aws::String& value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName = value; }
171 
178  inline void SetEC2SecurityGroupName(Aws::String&& value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName = std::move(value); }
179 
186  inline void SetEC2SecurityGroupName(const char* value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName.assign(value); }
187 
194  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupName(const Aws::String& value) { SetEC2SecurityGroupName(value); return *this;}
195 
202  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupName(Aws::String&& value) { SetEC2SecurityGroupName(std::move(value)); return *this;}
203 
210  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupName(const char* value) { SetEC2SecurityGroupName(value); return *this;}
211 
212 
219  inline const Aws::String& GetEC2SecurityGroupId() const{ return m_eC2SecurityGroupId; }
220 
227  inline bool EC2SecurityGroupIdHasBeenSet() const { return m_eC2SecurityGroupIdHasBeenSet; }
228 
235  inline void SetEC2SecurityGroupId(const Aws::String& value) { m_eC2SecurityGroupIdHasBeenSet = true; m_eC2SecurityGroupId = value; }
236 
243  inline void SetEC2SecurityGroupId(Aws::String&& value) { m_eC2SecurityGroupIdHasBeenSet = true; m_eC2SecurityGroupId = std::move(value); }
244 
251  inline void SetEC2SecurityGroupId(const char* value) { m_eC2SecurityGroupIdHasBeenSet = true; m_eC2SecurityGroupId.assign(value); }
252 
259  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupId(const Aws::String& value) { SetEC2SecurityGroupId(value); return *this;}
260 
267  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupId(Aws::String&& value) { SetEC2SecurityGroupId(std::move(value)); return *this;}
268 
275  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupId(const char* value) { SetEC2SecurityGroupId(value); return *this;}
276 
277 
286  inline const Aws::String& GetEC2SecurityGroupOwnerId() const{ return m_eC2SecurityGroupOwnerId; }
287 
296  inline bool EC2SecurityGroupOwnerIdHasBeenSet() const { return m_eC2SecurityGroupOwnerIdHasBeenSet; }
297 
306  inline void SetEC2SecurityGroupOwnerId(const Aws::String& value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId = value; }
307 
316  inline void SetEC2SecurityGroupOwnerId(Aws::String&& value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId = std::move(value); }
317 
326  inline void SetEC2SecurityGroupOwnerId(const char* value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId.assign(value); }
327 
336  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupOwnerId(const Aws::String& value) { SetEC2SecurityGroupOwnerId(value); return *this;}
337 
346  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupOwnerId(Aws::String&& value) { SetEC2SecurityGroupOwnerId(std::move(value)); return *this;}
347 
356  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupOwnerId(const char* value) { SetEC2SecurityGroupOwnerId(value); return *this;}
357 
358  private:
359 
360  Aws::String m_dBSecurityGroupName;
361  bool m_dBSecurityGroupNameHasBeenSet;
362 
363  Aws::String m_cIDRIP;
364  bool m_cIDRIPHasBeenSet;
365 
366  Aws::String m_eC2SecurityGroupName;
367  bool m_eC2SecurityGroupNameHasBeenSet;
368 
369  Aws::String m_eC2SecurityGroupId;
370  bool m_eC2SecurityGroupIdHasBeenSet;
371 
372  Aws::String m_eC2SecurityGroupOwnerId;
373  bool m_eC2SecurityGroupOwnerIdHasBeenSet;
374  };
375 
376 } // namespace Model
377 } // namespace RDS
378 } // namespace Aws
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::EC2SecurityGroupIdHasBeenSet
bool EC2SecurityGroupIdHasBeenSet() const
Definition: RevokeDBSecurityGroupIngressRequest.h:227
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::EC2SecurityGroupNameHasBeenSet
bool EC2SecurityGroupNameHasBeenSet() const
Definition: RevokeDBSecurityGroupIngressRequest.h:162
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::SetDBSecurityGroupName
void SetDBSecurityGroupName(const char *value)
Definition: RevokeDBSecurityGroupIngressRequest.h:65
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::WithEC2SecurityGroupId
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupId(const char *value)
Definition: RevokeDBSecurityGroupIngressRequest.h:275
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::WithEC2SecurityGroupOwnerId
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(const char *value)
Definition: RevokeDBSecurityGroupIngressRequest.h:356
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::RevokeDBSecurityGroupIngressRequest
RevokeDBSecurityGroupIngressRequest()
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::SetEC2SecurityGroupId
void SetEC2SecurityGroupId(const Aws::String &value)
Definition: RevokeDBSecurityGroupIngressRequest.h:235
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::SetDBSecurityGroupName
void SetDBSecurityGroupName(Aws::String &&value)
Definition: RevokeDBSecurityGroupIngressRequest.h:60
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::GetCIDRIP
const Aws::String & GetCIDRIP() const
Definition: RevokeDBSecurityGroupIngressRequest.h:89
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::SetEC2SecurityGroupName
void SetEC2SecurityGroupName(const char *value)
Definition: RevokeDBSecurityGroupIngressRequest.h:186
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::SetEC2SecurityGroupName
void SetEC2SecurityGroupName(Aws::String &&value)
Definition: RevokeDBSecurityGroupIngressRequest.h:178
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::WithCIDRIP
RevokeDBSecurityGroupIngressRequest & WithCIDRIP(Aws::String &&value)
Definition: RevokeDBSecurityGroupIngressRequest.h:137
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::WithCIDRIP
RevokeDBSecurityGroupIngressRequest & WithCIDRIP(const char *value)
Definition: RevokeDBSecurityGroupIngressRequest.h:145
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::WithCIDRIP
RevokeDBSecurityGroupIngressRequest & WithCIDRIP(const Aws::String &value)
Definition: RevokeDBSecurityGroupIngressRequest.h:129
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::WithEC2SecurityGroupId
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupId(Aws::String &&value)
Definition: RevokeDBSecurityGroupIngressRequest.h:267
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RevokeDBSecurityGroupIngressRequest.h:33
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::SetEC2SecurityGroupName
void SetEC2SecurityGroupName(const Aws::String &value)
Definition: RevokeDBSecurityGroupIngressRequest.h:170
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::GetEC2SecurityGroupId
const Aws::String & GetEC2SecurityGroupId() const
Definition: RevokeDBSecurityGroupIngressRequest.h:219
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::CIDRIPHasBeenSet
bool CIDRIPHasBeenSet() const
Definition: RevokeDBSecurityGroupIngressRequest.h:97
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::EC2SecurityGroupOwnerIdHasBeenSet
bool EC2SecurityGroupOwnerIdHasBeenSet() const
Definition: RevokeDBSecurityGroupIngressRequest.h:296
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::WithDBSecurityGroupName
RevokeDBSecurityGroupIngressRequest & WithDBSecurityGroupName(const char *value)
Definition: RevokeDBSecurityGroupIngressRequest.h:80
RDS_EXPORTS.h
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::SetEC2SecurityGroupId
void SetEC2SecurityGroupId(Aws::String &&value)
Definition: RevokeDBSecurityGroupIngressRequest.h:243
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::SetEC2SecurityGroupOwnerId
void SetEC2SecurityGroupOwnerId(Aws::String &&value)
Definition: RevokeDBSecurityGroupIngressRequest.h:316
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::SetEC2SecurityGroupOwnerId
void SetEC2SecurityGroupOwnerId(const Aws::String &value)
Definition: RevokeDBSecurityGroupIngressRequest.h:306
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::SetEC2SecurityGroupId
void SetEC2SecurityGroupId(const char *value)
Definition: RevokeDBSecurityGroupIngressRequest.h:251
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::DBSecurityGroupNameHasBeenSet
bool DBSecurityGroupNameHasBeenSet() const
Definition: RevokeDBSecurityGroupIngressRequest.h:50
AWSString.h
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::GetDBSecurityGroupName
const Aws::String & GetDBSecurityGroupName() const
Definition: RevokeDBSecurityGroupIngressRequest.h:45
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::GetEC2SecurityGroupName
const Aws::String & GetEC2SecurityGroupName() const
Definition: RevokeDBSecurityGroupIngressRequest.h:154
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::SetEC2SecurityGroupOwnerId
void SetEC2SecurityGroupOwnerId(const char *value)
Definition: RevokeDBSecurityGroupIngressRequest.h:326
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::WithEC2SecurityGroupName
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupName(const Aws::String &value)
Definition: RevokeDBSecurityGroupIngressRequest.h:194
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::WithEC2SecurityGroupId
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupId(const Aws::String &value)
Definition: RevokeDBSecurityGroupIngressRequest.h:259
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::SetDBSecurityGroupName
void SetDBSecurityGroupName(const Aws::String &value)
Definition: RevokeDBSecurityGroupIngressRequest.h:55
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::WithDBSecurityGroupName
RevokeDBSecurityGroupIngressRequest & WithDBSecurityGroupName(Aws::String &&value)
Definition: RevokeDBSecurityGroupIngressRequest.h:75
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest
Definition: RevokeDBSecurityGroupIngressRequest.h:25
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::WithEC2SecurityGroupOwnerId
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(const Aws::String &value)
Definition: RevokeDBSecurityGroupIngressRequest.h:336
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::SetCIDRIP
void SetCIDRIP(const Aws::String &value)
Definition: RevokeDBSecurityGroupIngressRequest.h:105
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::SetCIDRIP
void SetCIDRIP(const char *value)
Definition: RevokeDBSecurityGroupIngressRequest.h:121
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::WithEC2SecurityGroupName
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupName(const char *value)
Definition: RevokeDBSecurityGroupIngressRequest.h:210
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::WithEC2SecurityGroupName
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupName(Aws::String &&value)
Definition: RevokeDBSecurityGroupIngressRequest.h:202
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::GetEC2SecurityGroupOwnerId
const Aws::String & GetEC2SecurityGroupOwnerId() const
Definition: RevokeDBSecurityGroupIngressRequest.h:286
RDSRequest.h
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::WithDBSecurityGroupName
RevokeDBSecurityGroupIngressRequest & WithDBSecurityGroupName(const Aws::String &value)
Definition: RevokeDBSecurityGroupIngressRequest.h:70
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::SetCIDRIP
void SetCIDRIP(Aws::String &&value)
Definition: RevokeDBSecurityGroupIngressRequest.h:113
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::RevokeDBSecurityGroupIngressRequest::WithEC2SecurityGroupOwnerId
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(Aws::String &&value)
Definition: RevokeDBSecurityGroupIngressRequest.h:346