AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
RevokeClusterSecurityGroupIngressRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Redshift
15{
16namespace 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
36
37 protected:
38 AWS_REDSHIFT_API 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
71
76
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
195
203
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
272
282
292
293 private:
294
295 Aws::String m_clusterSecurityGroupName;
296 bool m_clusterSecurityGroupNameHasBeenSet = false;
297
298 Aws::String m_cIDRIP;
299 bool m_cIDRIPHasBeenSet = false;
300
301 Aws::String m_eC2SecurityGroupName;
302 bool m_eC2SecurityGroupNameHasBeenSet = false;
303
304 Aws::String m_eC2SecurityGroupOwnerId;
305 bool m_eC2SecurityGroupOwnerIdHasBeenSet = false;
306 };
307
308} // namespace Model
309} // namespace Redshift
310} // namespace Aws
#define AWS_REDSHIFT_API
RevokeClusterSecurityGroupIngressRequest & WithClusterSecurityGroupName(const Aws::String &value)
RevokeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(const Aws::String &value)
RevokeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupName(Aws::String &&value)
RevokeClusterSecurityGroupIngressRequest & WithClusterSecurityGroupName(Aws::String &&value)
RevokeClusterSecurityGroupIngressRequest & WithCIDRIP(Aws::String &&value)
RevokeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupName(const char *value)
RevokeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(const char *value)
RevokeClusterSecurityGroupIngressRequest & WithCIDRIP(const Aws::String &value)
RevokeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(Aws::String &&value)
RevokeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupName(const Aws::String &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
RevokeClusterSecurityGroupIngressRequest & WithClusterSecurityGroupName(const char *value)
RevokeClusterSecurityGroupIngressRequest & WithCIDRIP(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String