AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
AuthorizeClusterSecurityGroupIngressRequest.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 "AuthorizeClusterSecurityGroupIngress"; }
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
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
112
116 inline AuthorizeClusterSecurityGroupIngressRequest& WithCIDRIP(Aws::String&& value) { SetCIDRIP(std::move(value)); return *this;}
117
121 inline AuthorizeClusterSecurityGroupIngressRequest& WithCIDRIP(const char* value) { SetCIDRIP(value); return *this;}
122
123
127 inline const Aws::String& GetEC2SecurityGroupName() const{ return m_eC2SecurityGroupName; }
128
132 inline bool EC2SecurityGroupNameHasBeenSet() const { return m_eC2SecurityGroupNameHasBeenSet; }
133
137 inline void SetEC2SecurityGroupName(const Aws::String& value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName = value; }
138
142 inline void SetEC2SecurityGroupName(Aws::String&& value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName = std::move(value); }
143
147 inline void SetEC2SecurityGroupName(const char* value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName.assign(value); }
148
153
158
163
164
171 inline const Aws::String& GetEC2SecurityGroupOwnerId() const{ return m_eC2SecurityGroupOwnerId; }
172
179 inline bool EC2SecurityGroupOwnerIdHasBeenSet() const { return m_eC2SecurityGroupOwnerIdHasBeenSet; }
180
187 inline void SetEC2SecurityGroupOwnerId(const Aws::String& value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId = value; }
188
195 inline void SetEC2SecurityGroupOwnerId(Aws::String&& value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId = std::move(value); }
196
203 inline void SetEC2SecurityGroupOwnerId(const char* value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId.assign(value); }
204
212
220
228
229 private:
230
231 Aws::String m_clusterSecurityGroupName;
232 bool m_clusterSecurityGroupNameHasBeenSet = false;
233
234 Aws::String m_cIDRIP;
235 bool m_cIDRIPHasBeenSet = false;
236
237 Aws::String m_eC2SecurityGroupName;
238 bool m_eC2SecurityGroupNameHasBeenSet = false;
239
240 Aws::String m_eC2SecurityGroupOwnerId;
241 bool m_eC2SecurityGroupOwnerIdHasBeenSet = false;
242 };
243
244} // namespace Model
245} // namespace Redshift
246} // namespace Aws
#define AWS_REDSHIFT_API
AuthorizeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupName(const char *value)
AuthorizeClusterSecurityGroupIngressRequest & WithClusterSecurityGroupName(Aws::String &&value)
AuthorizeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(const Aws::String &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AuthorizeClusterSecurityGroupIngressRequest & WithCIDRIP(Aws::String &&value)
AuthorizeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupName(Aws::String &&value)
AuthorizeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(Aws::String &&value)
AuthorizeClusterSecurityGroupIngressRequest & WithClusterSecurityGroupName(const Aws::String &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
AuthorizeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(const char *value)
AuthorizeClusterSecurityGroupIngressRequest & WithCIDRIP(const char *value)
AuthorizeClusterSecurityGroupIngressRequest & WithClusterSecurityGroupName(const char *value)
AuthorizeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupName(const Aws::String &value)
AuthorizeClusterSecurityGroupIngressRequest & WithCIDRIP(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String