AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
27 AWS_REDSHIFT_API RevokeClusterSecurityGroupIngressRequest() = default;
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 template<typename ClusterSecurityGroupNameT = Aws::String>
49 void SetClusterSecurityGroupName(ClusterSecurityGroupNameT&& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = std::forward<ClusterSecurityGroupNameT>(value); }
50 template<typename ClusterSecurityGroupNameT = Aws::String>
51 RevokeClusterSecurityGroupIngressRequest& WithClusterSecurityGroupName(ClusterSecurityGroupNameT&& value) { SetClusterSecurityGroupName(std::forward<ClusterSecurityGroupNameT>(value)); return *this;}
53
55
61 inline const Aws::String& GetCIDRIP() const { return m_cIDRIP; }
62 inline bool CIDRIPHasBeenSet() const { return m_cIDRIPHasBeenSet; }
63 template<typename CIDRIPT = Aws::String>
64 void SetCIDRIP(CIDRIPT&& value) { m_cIDRIPHasBeenSet = true; m_cIDRIP = std::forward<CIDRIPT>(value); }
65 template<typename CIDRIPT = Aws::String>
66 RevokeClusterSecurityGroupIngressRequest& WithCIDRIP(CIDRIPT&& value) { SetCIDRIP(std::forward<CIDRIPT>(value)); return *this;}
68
70
76 inline const Aws::String& GetEC2SecurityGroupName() const { return m_eC2SecurityGroupName; }
77 inline bool EC2SecurityGroupNameHasBeenSet() const { return m_eC2SecurityGroupNameHasBeenSet; }
78 template<typename EC2SecurityGroupNameT = Aws::String>
79 void SetEC2SecurityGroupName(EC2SecurityGroupNameT&& value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName = std::forward<EC2SecurityGroupNameT>(value); }
80 template<typename EC2SecurityGroupNameT = Aws::String>
81 RevokeClusterSecurityGroupIngressRequest& WithEC2SecurityGroupName(EC2SecurityGroupNameT&& value) { SetEC2SecurityGroupName(std::forward<EC2SecurityGroupNameT>(value)); return *this;}
83
85
93 inline const Aws::String& GetEC2SecurityGroupOwnerId() const { return m_eC2SecurityGroupOwnerId; }
94 inline bool EC2SecurityGroupOwnerIdHasBeenSet() const { return m_eC2SecurityGroupOwnerIdHasBeenSet; }
95 template<typename EC2SecurityGroupOwnerIdT = Aws::String>
96 void SetEC2SecurityGroupOwnerId(EC2SecurityGroupOwnerIdT&& value) { m_eC2SecurityGroupOwnerIdHasBeenSet = true; m_eC2SecurityGroupOwnerId = std::forward<EC2SecurityGroupOwnerIdT>(value); }
97 template<typename EC2SecurityGroupOwnerIdT = Aws::String>
98 RevokeClusterSecurityGroupIngressRequest& WithEC2SecurityGroupOwnerId(EC2SecurityGroupOwnerIdT&& value) { SetEC2SecurityGroupOwnerId(std::forward<EC2SecurityGroupOwnerIdT>(value)); return *this;}
100 private:
101
102 Aws::String m_clusterSecurityGroupName;
103 bool m_clusterSecurityGroupNameHasBeenSet = false;
104
105 Aws::String m_cIDRIP;
106 bool m_cIDRIPHasBeenSet = false;
107
108 Aws::String m_eC2SecurityGroupName;
109 bool m_eC2SecurityGroupNameHasBeenSet = false;
110
111 Aws::String m_eC2SecurityGroupOwnerId;
112 bool m_eC2SecurityGroupOwnerIdHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Redshift
117} // namespace Aws
RevokeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupName(EC2SecurityGroupNameT &&value)
RevokeClusterSecurityGroupIngressRequest & WithClusterSecurityGroupName(ClusterSecurityGroupNameT &&value)
RevokeClusterSecurityGroupIngressRequest & WithCIDRIP(CIDRIPT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
RevokeClusterSecurityGroupIngressRequest & WithEC2SecurityGroupOwnerId(EC2SecurityGroupOwnerIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String