AWS SDK for C++  0.14.3
AWS SDK for C++
RevokeDBSecurityGroupIngressRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/rds/RDS_EXPORTS.h>
17 #include <aws/rds/RDSRequest.h>
19 
20 namespace Aws
21 {
22 namespace RDS
23 {
24 namespace Model
25 {
26 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
39  inline const Aws::String& GetDBSecurityGroupName() const{ return m_dBSecurityGroupName; }
40 
44  inline void SetDBSecurityGroupName(const Aws::String& value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName = value; }
45 
49  inline void SetDBSecurityGroupName(Aws::String&& value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName = value; }
50 
54  inline void SetDBSecurityGroupName(const char* value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName.assign(value); }
55 
59  inline RevokeDBSecurityGroupIngressRequest& WithDBSecurityGroupName(const Aws::String& value) { SetDBSecurityGroupName(value); return *this;}
60 
64  inline RevokeDBSecurityGroupIngressRequest& WithDBSecurityGroupName(Aws::String&& value) { SetDBSecurityGroupName(value); return *this;}
65 
69  inline RevokeDBSecurityGroupIngressRequest& WithDBSecurityGroupName(const char* value) { SetDBSecurityGroupName(value); return *this;}
70 
77  inline const Aws::String& GetCIDRIP() const{ return m_cIDRIP; }
78 
85  inline void SetCIDRIP(const Aws::String& value) { m_cIDRIPHasBeenSet = true; m_cIDRIP = value; }
86 
93  inline void SetCIDRIP(Aws::String&& value) { m_cIDRIPHasBeenSet = true; m_cIDRIP = value; }
94 
101  inline void SetCIDRIP(const char* value) { m_cIDRIPHasBeenSet = true; m_cIDRIP.assign(value); }
102 
109  inline RevokeDBSecurityGroupIngressRequest& WithCIDRIP(const Aws::String& value) { SetCIDRIP(value); return *this;}
110 
117  inline RevokeDBSecurityGroupIngressRequest& WithCIDRIP(Aws::String&& value) { SetCIDRIP(value); return *this;}
118 
125  inline RevokeDBSecurityGroupIngressRequest& WithCIDRIP(const char* value) { SetCIDRIP(value); return *this;}
126 
133  inline const Aws::String& GetEC2SecurityGroupName() const{ return m_eC2SecurityGroupName; }
134 
141  inline void SetEC2SecurityGroupName(const Aws::String& value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName = value; }
142 
149  inline void SetEC2SecurityGroupName(Aws::String&& value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName = value; }
150 
157  inline void SetEC2SecurityGroupName(const char* value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName.assign(value); }
158 
165  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupName(const Aws::String& value) { SetEC2SecurityGroupName(value); return *this;}
166 
173  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupName(Aws::String&& value) { SetEC2SecurityGroupName(value); return *this;}
174 
181  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupName(const char* value) { SetEC2SecurityGroupName(value); return *this;}
182 
189  inline const Aws::String& GetEC2SecurityGroupId() const{ return m_eC2SecurityGroupId; }
190 
197  inline void SetEC2SecurityGroupId(const Aws::String& value) { m_eC2SecurityGroupIdHasBeenSet = true; m_eC2SecurityGroupId = value; }
198 
205  inline void SetEC2SecurityGroupId(Aws::String&& value) { m_eC2SecurityGroupIdHasBeenSet = true; m_eC2SecurityGroupId = value; }
206 
213  inline void SetEC2SecurityGroupId(const char* value) { m_eC2SecurityGroupIdHasBeenSet = true; m_eC2SecurityGroupId.assign(value); }
214 
221  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupId(const Aws::String& value) { SetEC2SecurityGroupId(value); return *this;}
222 
229  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupId(Aws::String&& value) { SetEC2SecurityGroupId(value); return *this;}
230 
237  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupId(const char* value) { SetEC2SecurityGroupId(value); return *this;}
238 
247  inline const Aws::String& GetEC2SecurityGroupOwnerId() const{ return m_eC2SecurityGroupOwnerId; }
248 
257  inline void SetEC2SecurityGroupOwnerId(const Aws::String& value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId = value; }
258 
267  inline void SetEC2SecurityGroupOwnerId(Aws::String&& value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId = value; }
268 
277  inline void SetEC2SecurityGroupOwnerId(const char* value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId.assign(value); }
278 
287  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupOwnerId(const Aws::String& value) { SetEC2SecurityGroupOwnerId(value); return *this;}
288 
297  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupOwnerId(Aws::String&& value) { SetEC2SecurityGroupOwnerId(value); return *this;}
298 
307  inline RevokeDBSecurityGroupIngressRequest& WithEC2SecurityGroupOwnerId(const char* value) { SetEC2SecurityGroupOwnerId(value); return *this;}
308 
309  private:
310  Aws::String m_dBSecurityGroupName;
311  bool m_dBSecurityGroupNameHasBeenSet;
312  Aws::String m_cIDRIP;
313  bool m_cIDRIPHasBeenSet;
314  Aws::String m_eC2SecurityGroupName;
315  bool m_eC2SecurityGroupNameHasBeenSet;
316  Aws::String m_eC2SecurityGroupId;
317  bool m_eC2SecurityGroupIdHasBeenSet;
318  Aws::String m_eC2SecurityGroupOwnerId;
319  bool m_eC2SecurityGroupOwnerIdHasBeenSet;
320  };
321 
322 } // namespace Model
323 } // namespace RDS
324 } // namespace Aws
RevokeDBSecurityGroupIngressRequest & WithDBSecurityGroupName(const char *value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:37
RevokeDBSecurityGroupIngressRequest & WithDBSecurityGroupName(Aws::String &&value)
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupName(const Aws::String &value)
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupName(Aws::String &&value)
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(Aws::String &&value)
RevokeDBSecurityGroupIngressRequest & WithDBSecurityGroupName(const Aws::String &value)
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupName(const char *value)
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupId(const Aws::String &value)
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(const Aws::String &value)
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupId(const char *value)
RevokeDBSecurityGroupIngressRequest & WithCIDRIP(const Aws::String &value)
RevokeDBSecurityGroupIngressRequest & WithCIDRIP(Aws::String &&value)
RevokeDBSecurityGroupIngressRequest & WithCIDRIP(const char *value)
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(const char *value)
RevokeDBSecurityGroupIngressRequest & WithEC2SecurityGroupId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
JSON (JavaScript Object Notation).