AWS SDK for C++  1.9.104
AWS SDK for C++
AuthorizeDBSecurityGroupIngressRequest.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 "AuthorizeDBSecurityGroupIngress"; }
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 AuthorizeDBSecurityGroupIngressRequest& WithDBSecurityGroupName(const Aws::String& value) { SetDBSecurityGroupName(value); return *this;}
71 
75  inline AuthorizeDBSecurityGroupIngressRequest& WithDBSecurityGroupName(Aws::String&& value) { SetDBSecurityGroupName(std::move(value)); return *this;}
76 
80  inline AuthorizeDBSecurityGroupIngressRequest& WithDBSecurityGroupName(const char* value) { SetDBSecurityGroupName(value); return *this;}
81 
82 
86  inline const Aws::String& GetCIDRIP() const{ return m_cIDRIP; }
87 
91  inline bool CIDRIPHasBeenSet() const { return m_cIDRIPHasBeenSet; }
92 
96  inline void SetCIDRIP(const Aws::String& value) { m_cIDRIPHasBeenSet = true; m_cIDRIP = value; }
97 
101  inline void SetCIDRIP(Aws::String&& value) { m_cIDRIPHasBeenSet = true; m_cIDRIP = std::move(value); }
102 
106  inline void SetCIDRIP(const char* value) { m_cIDRIPHasBeenSet = true; m_cIDRIP.assign(value); }
107 
111  inline AuthorizeDBSecurityGroupIngressRequest& WithCIDRIP(const Aws::String& value) { SetCIDRIP(value); return *this;}
112 
116  inline AuthorizeDBSecurityGroupIngressRequest& WithCIDRIP(Aws::String&& value) { SetCIDRIP(std::move(value)); return *this;}
117 
121  inline AuthorizeDBSecurityGroupIngressRequest& WithCIDRIP(const char* value) { SetCIDRIP(value); return *this;}
122 
123 
131  inline const Aws::String& GetEC2SecurityGroupName() const{ return m_eC2SecurityGroupName; }
132 
140  inline bool EC2SecurityGroupNameHasBeenSet() const { return m_eC2SecurityGroupNameHasBeenSet; }
141 
149  inline void SetEC2SecurityGroupName(const Aws::String& value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName = value; }
150 
158  inline void SetEC2SecurityGroupName(Aws::String&& value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName = std::move(value); }
159 
167  inline void SetEC2SecurityGroupName(const char* value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName.assign(value); }
168 
176  inline AuthorizeDBSecurityGroupIngressRequest& WithEC2SecurityGroupName(const Aws::String& value) { SetEC2SecurityGroupName(value); return *this;}
177 
185  inline AuthorizeDBSecurityGroupIngressRequest& WithEC2SecurityGroupName(Aws::String&& value) { SetEC2SecurityGroupName(std::move(value)); return *this;}
186 
194  inline AuthorizeDBSecurityGroupIngressRequest& WithEC2SecurityGroupName(const char* value) { SetEC2SecurityGroupName(value); return *this;}
195 
196 
204  inline const Aws::String& GetEC2SecurityGroupId() const{ return m_eC2SecurityGroupId; }
205 
213  inline bool EC2SecurityGroupIdHasBeenSet() const { return m_eC2SecurityGroupIdHasBeenSet; }
214 
222  inline void SetEC2SecurityGroupId(const Aws::String& value) { m_eC2SecurityGroupIdHasBeenSet = true; m_eC2SecurityGroupId = value; }
223 
231  inline void SetEC2SecurityGroupId(Aws::String&& value) { m_eC2SecurityGroupIdHasBeenSet = true; m_eC2SecurityGroupId = std::move(value); }
232 
240  inline void SetEC2SecurityGroupId(const char* value) { m_eC2SecurityGroupIdHasBeenSet = true; m_eC2SecurityGroupId.assign(value); }
241 
249  inline AuthorizeDBSecurityGroupIngressRequest& WithEC2SecurityGroupId(const Aws::String& value) { SetEC2SecurityGroupId(value); return *this;}
250 
258  inline AuthorizeDBSecurityGroupIngressRequest& WithEC2SecurityGroupId(Aws::String&& value) { SetEC2SecurityGroupId(std::move(value)); return *this;}
259 
267  inline AuthorizeDBSecurityGroupIngressRequest& WithEC2SecurityGroupId(const char* value) { SetEC2SecurityGroupId(value); return *this;}
268 
269 
279  inline const Aws::String& GetEC2SecurityGroupOwnerId() const{ return m_eC2SecurityGroupOwnerId; }
280 
290  inline bool EC2SecurityGroupOwnerIdHasBeenSet() const { return m_eC2SecurityGroupOwnerIdHasBeenSet; }
291 
301  inline void SetEC2SecurityGroupOwnerId(const Aws::String& value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId = value; }
302 
312  inline void SetEC2SecurityGroupOwnerId(Aws::String&& value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId = std::move(value); }
313 
323  inline void SetEC2SecurityGroupOwnerId(const char* value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId.assign(value); }
324 
334  inline AuthorizeDBSecurityGroupIngressRequest& WithEC2SecurityGroupOwnerId(const Aws::String& value) { SetEC2SecurityGroupOwnerId(value); return *this;}
335 
345  inline AuthorizeDBSecurityGroupIngressRequest& WithEC2SecurityGroupOwnerId(Aws::String&& value) { SetEC2SecurityGroupOwnerId(std::move(value)); return *this;}
346 
356  inline AuthorizeDBSecurityGroupIngressRequest& 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::AuthorizeDBSecurityGroupIngressRequest::AuthorizeDBSecurityGroupIngressRequest
AuthorizeDBSecurityGroupIngressRequest()
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::WithEC2SecurityGroupId
AuthorizeDBSecurityGroupIngressRequest & WithEC2SecurityGroupId(Aws::String &&value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:258
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::WithDBSecurityGroupName
AuthorizeDBSecurityGroupIngressRequest & WithDBSecurityGroupName(Aws::String &&value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:75
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::SetDBSecurityGroupName
void SetDBSecurityGroupName(const Aws::String &value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:55
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::WithCIDRIP
AuthorizeDBSecurityGroupIngressRequest & WithCIDRIP(const Aws::String &value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:111
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::WithEC2SecurityGroupOwnerId
AuthorizeDBSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(Aws::String &&value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:345
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::WithEC2SecurityGroupOwnerId
AuthorizeDBSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(const Aws::String &value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:334
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::WithEC2SecurityGroupId
AuthorizeDBSecurityGroupIngressRequest & WithEC2SecurityGroupId(const Aws::String &value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:249
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::EC2SecurityGroupNameHasBeenSet
bool EC2SecurityGroupNameHasBeenSet() const
Definition: AuthorizeDBSecurityGroupIngressRequest.h:140
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::WithCIDRIP
AuthorizeDBSecurityGroupIngressRequest & WithCIDRIP(const char *value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:121
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::EC2SecurityGroupIdHasBeenSet
bool EC2SecurityGroupIdHasBeenSet() const
Definition: AuthorizeDBSecurityGroupIngressRequest.h:213
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::WithEC2SecurityGroupName
AuthorizeDBSecurityGroupIngressRequest & WithEC2SecurityGroupName(const char *value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:194
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::SetEC2SecurityGroupId
void SetEC2SecurityGroupId(Aws::String &&value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:231
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::SetCIDRIP
void SetCIDRIP(Aws::String &&value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:101
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::SetEC2SecurityGroupOwnerId
void SetEC2SecurityGroupOwnerId(const Aws::String &value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:301
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::WithEC2SecurityGroupName
AuthorizeDBSecurityGroupIngressRequest & WithEC2SecurityGroupName(Aws::String &&value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:185
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::GetDBSecurityGroupName
const Aws::String & GetDBSecurityGroupName() const
Definition: AuthorizeDBSecurityGroupIngressRequest.h:45
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::SetEC2SecurityGroupName
void SetEC2SecurityGroupName(const char *value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:167
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::EC2SecurityGroupOwnerIdHasBeenSet
bool EC2SecurityGroupOwnerIdHasBeenSet() const
Definition: AuthorizeDBSecurityGroupIngressRequest.h:290
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::WithEC2SecurityGroupOwnerId
AuthorizeDBSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(const char *value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:356
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::GetCIDRIP
const Aws::String & GetCIDRIP() const
Definition: AuthorizeDBSecurityGroupIngressRequest.h:86
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::GetEC2SecurityGroupName
const Aws::String & GetEC2SecurityGroupName() const
Definition: AuthorizeDBSecurityGroupIngressRequest.h:131
RDS_EXPORTS.h
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::GetEC2SecurityGroupOwnerId
const Aws::String & GetEC2SecurityGroupOwnerId() const
Definition: AuthorizeDBSecurityGroupIngressRequest.h:279
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::WithCIDRIP
AuthorizeDBSecurityGroupIngressRequest & WithCIDRIP(Aws::String &&value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:116
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::SetEC2SecurityGroupName
void SetEC2SecurityGroupName(Aws::String &&value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:158
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::SetCIDRIP
void SetCIDRIP(const Aws::String &value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:96
AWSString.h
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::SetEC2SecurityGroupName
void SetEC2SecurityGroupName(const Aws::String &value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:149
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::CIDRIPHasBeenSet
bool CIDRIPHasBeenSet() const
Definition: AuthorizeDBSecurityGroupIngressRequest.h:91
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AuthorizeDBSecurityGroupIngressRequest.h:33
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::SetDBSecurityGroupName
void SetDBSecurityGroupName(const char *value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:65
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::SetEC2SecurityGroupId
void SetEC2SecurityGroupId(const char *value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:240
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::WithDBSecurityGroupName
AuthorizeDBSecurityGroupIngressRequest & WithDBSecurityGroupName(const Aws::String &value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:70
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::WithEC2SecurityGroupName
AuthorizeDBSecurityGroupIngressRequest & WithEC2SecurityGroupName(const Aws::String &value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:176
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest
Definition: AuthorizeDBSecurityGroupIngressRequest.h:25
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::DBSecurityGroupNameHasBeenSet
bool DBSecurityGroupNameHasBeenSet() const
Definition: AuthorizeDBSecurityGroupIngressRequest.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::SetEC2SecurityGroupId
void SetEC2SecurityGroupId(const Aws::String &value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:222
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::GetEC2SecurityGroupId
const Aws::String & GetEC2SecurityGroupId() const
Definition: AuthorizeDBSecurityGroupIngressRequest.h:204
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::SetEC2SecurityGroupOwnerId
void SetEC2SecurityGroupOwnerId(const char *value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:323
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::SetEC2SecurityGroupOwnerId
void SetEC2SecurityGroupOwnerId(Aws::String &&value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:312
RDSRequest.h
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::WithEC2SecurityGroupId
AuthorizeDBSecurityGroupIngressRequest & WithEC2SecurityGroupId(const char *value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:267
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::SetDBSecurityGroupName
void SetDBSecurityGroupName(Aws::String &&value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:60
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::SetCIDRIP
void SetCIDRIP(const char *value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:106
Aws::RDS::Model::AuthorizeDBSecurityGroupIngressRequest::WithDBSecurityGroupName
AuthorizeDBSecurityGroupIngressRequest & WithDBSecurityGroupName(const char *value)
Definition: AuthorizeDBSecurityGroupIngressRequest.h:80