AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RevokeClusterSecurityGroupIngressRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
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
35 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39
40 public:
41
43
46 inline const Aws::String& GetClusterSecurityGroupName() const{ return m_clusterSecurityGroupName; }
47 inline bool ClusterSecurityGroupNameHasBeenSet() const { return m_clusterSecurityGroupNameHasBeenSet; }
48 inline void SetClusterSecurityGroupName(const Aws::String& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = value; }
49 inline void SetClusterSecurityGroupName(Aws::String&& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = std::move(value); }
50 inline void SetClusterSecurityGroupName(const char* value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName.assign(value); }
55
57
63 inline const Aws::String& GetCIDRIP() const{ return m_cIDRIP; }
64 inline bool CIDRIPHasBeenSet() const { return m_cIDRIPHasBeenSet; }
65 inline void SetCIDRIP(const Aws::String& value) { m_cIDRIPHasBeenSet = true; m_cIDRIP = value; }
66 inline void SetCIDRIP(Aws::String&& value) { m_cIDRIPHasBeenSet = true; m_cIDRIP = std::move(value); }
67 inline void SetCIDRIP(const char* value) { m_cIDRIPHasBeenSet = true; m_cIDRIP.assign(value); }
68 inline RevokeClusterSecurityGroupIngressRequest& WithCIDRIP(const Aws::String& value) { SetCIDRIP(value); return *this;}
69 inline RevokeClusterSecurityGroupIngressRequest& WithCIDRIP(Aws::String&& value) { SetCIDRIP(std::move(value)); return *this;}
70 inline RevokeClusterSecurityGroupIngressRequest& WithCIDRIP(const char* value) { SetCIDRIP(value); return *this;}
72
74
80 inline const Aws::String& GetEC2SecurityGroupName() const{ return m_eC2SecurityGroupName; }
81 inline bool EC2SecurityGroupNameHasBeenSet() const { return m_eC2SecurityGroupNameHasBeenSet; }
82 inline void SetEC2SecurityGroupName(const Aws::String& value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName = value; }
83 inline void SetEC2SecurityGroupName(Aws::String&& value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName = std::move(value); }
84 inline void SetEC2SecurityGroupName(const char* value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName.assign(value); }
89
91
99 inline const Aws::String& GetEC2SecurityGroupOwnerId() const{ return m_eC2SecurityGroupOwnerId; }
100 inline bool EC2SecurityGroupOwnerIdHasBeenSet() const { return m_eC2SecurityGroupOwnerIdHasBeenSet; }
101 inline void SetEC2SecurityGroupOwnerId(const Aws::String& value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId = value; }
102 inline void SetEC2SecurityGroupOwnerId(Aws::String&& value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId = std::move(value); }
103 inline void SetEC2SecurityGroupOwnerId(const char* value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId.assign(value); }
108 private:
109
110 Aws::String m_clusterSecurityGroupName;
111 bool m_clusterSecurityGroupNameHasBeenSet = false;
112
113 Aws::String m_cIDRIP;
114 bool m_cIDRIPHasBeenSet = false;
115
116 Aws::String m_eC2SecurityGroupName;
117 bool m_eC2SecurityGroupNameHasBeenSet = false;
118
119 Aws::String m_eC2SecurityGroupOwnerId;
120 bool m_eC2SecurityGroupOwnerIdHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Redshift
125} // namespace Aws
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