AWS SDK for C++  1.9.110
AWS SDK for C++
RevokeClusterSecurityGroupIngressRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Redshift
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 "RevokeClusterSecurityGroupIngress"; }
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& GetClusterSecurityGroupName() const{ return m_clusterSecurityGroupName; }
46 
50  inline bool ClusterSecurityGroupNameHasBeenSet() const { return m_clusterSecurityGroupNameHasBeenSet; }
51 
55  inline void SetClusterSecurityGroupName(const Aws::String& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = value; }
56 
60  inline void SetClusterSecurityGroupName(Aws::String&& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = std::move(value); }
61 
65  inline void SetClusterSecurityGroupName(const char* value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName.assign(value); }
66 
70  inline RevokeClusterSecurityGroupIngressRequest& WithClusterSecurityGroupName(const Aws::String& value) { SetClusterSecurityGroupName(value); return *this;}
71 
75  inline RevokeClusterSecurityGroupIngressRequest& WithClusterSecurityGroupName(Aws::String&& value) { SetClusterSecurityGroupName(std::move(value)); return *this;}
76 
80  inline RevokeClusterSecurityGroupIngressRequest& WithClusterSecurityGroupName(const char* value) { SetClusterSecurityGroupName(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 RevokeClusterSecurityGroupIngressRequest& WithCIDRIP(const Aws::String& value) { SetCIDRIP(value); return *this;}
130 
137  inline RevokeClusterSecurityGroupIngressRequest& WithCIDRIP(Aws::String&& value) { SetCIDRIP(std::move(value)); return *this;}
138 
145  inline RevokeClusterSecurityGroupIngressRequest& 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 RevokeClusterSecurityGroupIngressRequest& WithEC2SecurityGroupName(const Aws::String& value) { SetEC2SecurityGroupName(value); return *this;}
195 
202  inline RevokeClusterSecurityGroupIngressRequest& WithEC2SecurityGroupName(Aws::String&& value) { SetEC2SecurityGroupName(std::move(value)); return *this;}
203 
210  inline RevokeClusterSecurityGroupIngressRequest& WithEC2SecurityGroupName(const char* value) { SetEC2SecurityGroupName(value); return *this;}
211 
212 
221  inline const Aws::String& GetEC2SecurityGroupOwnerId() const{ return m_eC2SecurityGroupOwnerId; }
222 
231  inline bool EC2SecurityGroupOwnerIdHasBeenSet() const { return m_eC2SecurityGroupOwnerIdHasBeenSet; }
232 
241  inline void SetEC2SecurityGroupOwnerId(const Aws::String& value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId = value; }
242 
251  inline void SetEC2SecurityGroupOwnerId(Aws::String&& value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId = std::move(value); }
252 
261  inline void SetEC2SecurityGroupOwnerId(const char* value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId.assign(value); }
262 
271  inline RevokeClusterSecurityGroupIngressRequest& WithEC2SecurityGroupOwnerId(const Aws::String& value) { SetEC2SecurityGroupOwnerId(value); return *this;}
272 
281  inline RevokeClusterSecurityGroupIngressRequest& WithEC2SecurityGroupOwnerId(Aws::String&& value) { SetEC2SecurityGroupOwnerId(std::move(value)); return *this;}
282 
291  inline RevokeClusterSecurityGroupIngressRequest& WithEC2SecurityGroupOwnerId(const char* value) { SetEC2SecurityGroupOwnerId(value); return *this;}
292 
293  private:
294 
295  Aws::String m_clusterSecurityGroupName;
296  bool m_clusterSecurityGroupNameHasBeenSet;
297 
298  Aws::String m_cIDRIP;
299  bool m_cIDRIPHasBeenSet;
300 
301  Aws::String m_eC2SecurityGroupName;
302  bool m_eC2SecurityGroupNameHasBeenSet;
303 
304  Aws::String m_eC2SecurityGroupOwnerId;
305  bool m_eC2SecurityGroupOwnerIdHasBeenSet;
306  };
307 
308 } // namespace Model
309 } // namespace Redshift
310 } // namespace Aws
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::WithEC2SecurityGroupName
RevokeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupName(const Aws::String &value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:194
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::EC2SecurityGroupOwnerIdHasBeenSet
bool EC2SecurityGroupOwnerIdHasBeenSet() const
Definition: RevokeClusterSecurityGroupIngressRequest.h:231
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::GetEC2SecurityGroupName
const Aws::String & GetEC2SecurityGroupName() const
Definition: RevokeClusterSecurityGroupIngressRequest.h:154
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::SetCIDRIP
void SetCIDRIP(const char *value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:121
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::SetEC2SecurityGroupOwnerId
void SetEC2SecurityGroupOwnerId(Aws::String &&value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:251
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest
Definition: RevokeClusterSecurityGroupIngressRequest.h:25
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::SetClusterSecurityGroupName
void SetClusterSecurityGroupName(const Aws::String &value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:55
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::WithEC2SecurityGroupOwnerId
RevokeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(const char *value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:291
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::ClusterSecurityGroupNameHasBeenSet
bool ClusterSecurityGroupNameHasBeenSet() const
Definition: RevokeClusterSecurityGroupIngressRequest.h:50
RedshiftRequest.h
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::SetEC2SecurityGroupName
void SetEC2SecurityGroupName(const Aws::String &value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:170
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::WithCIDRIP
RevokeClusterSecurityGroupIngressRequest & WithCIDRIP(Aws::String &&value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:137
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RevokeClusterSecurityGroupIngressRequest.h:33
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::RevokeClusterSecurityGroupIngressRequest
RevokeClusterSecurityGroupIngressRequest()
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::WithEC2SecurityGroupName
RevokeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupName(Aws::String &&value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:202
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::WithClusterSecurityGroupName
RevokeClusterSecurityGroupIngressRequest & WithClusterSecurityGroupName(const Aws::String &value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:70
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::GetCIDRIP
const Aws::String & GetCIDRIP() const
Definition: RevokeClusterSecurityGroupIngressRequest.h:89
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::WithCIDRIP
RevokeClusterSecurityGroupIngressRequest & WithCIDRIP(const Aws::String &value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:129
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::SetEC2SecurityGroupName
void SetEC2SecurityGroupName(const char *value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:186
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::SetEC2SecurityGroupOwnerId
void SetEC2SecurityGroupOwnerId(const char *value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:261
AWSString.h
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::WithEC2SecurityGroupName
RevokeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupName(const char *value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:210
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::SetClusterSecurityGroupName
void SetClusterSecurityGroupName(const char *value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:65
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::SetCIDRIP
void SetCIDRIP(Aws::String &&value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:113
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::WithClusterSecurityGroupName
RevokeClusterSecurityGroupIngressRequest & WithClusterSecurityGroupName(Aws::String &&value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:75
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::WithEC2SecurityGroupOwnerId
RevokeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(const Aws::String &value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:271
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::SetEC2SecurityGroupOwnerId
void SetEC2SecurityGroupOwnerId(const Aws::String &value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:241
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::WithClusterSecurityGroupName
RevokeClusterSecurityGroupIngressRequest & WithClusterSecurityGroupName(const char *value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:80
Redshift_EXPORTS.h
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::SetClusterSecurityGroupName
void SetClusterSecurityGroupName(Aws::String &&value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:60
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::CIDRIPHasBeenSet
bool CIDRIPHasBeenSet() const
Definition: RevokeClusterSecurityGroupIngressRequest.h:97
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::GetClusterSecurityGroupName
const Aws::String & GetClusterSecurityGroupName() const
Definition: RevokeClusterSecurityGroupIngressRequest.h:45
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::EC2SecurityGroupNameHasBeenSet
bool EC2SecurityGroupNameHasBeenSet() const
Definition: RevokeClusterSecurityGroupIngressRequest.h:162
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::WithCIDRIP
RevokeClusterSecurityGroupIngressRequest & WithCIDRIP(const char *value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:145
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::SetEC2SecurityGroupName
void SetEC2SecurityGroupName(Aws::String &&value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:178
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::SetCIDRIP
void SetCIDRIP(const Aws::String &value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:105
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::WithEC2SecurityGroupOwnerId
RevokeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(Aws::String &&value)
Definition: RevokeClusterSecurityGroupIngressRequest.h:281
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressRequest::GetEC2SecurityGroupOwnerId
const Aws::String & GetEC2SecurityGroupOwnerId() const
Definition: RevokeClusterSecurityGroupIngressRequest.h:221