AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RevokeClientVpnIngressRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace EC2
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "RevokeClientVpnIngress"; }
31
32 AWS_EC2_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
44 inline const Aws::String& GetClientVpnEndpointId() const{ return m_clientVpnEndpointId; }
45 inline bool ClientVpnEndpointIdHasBeenSet() const { return m_clientVpnEndpointIdHasBeenSet; }
46 inline void SetClientVpnEndpointId(const Aws::String& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = value; }
47 inline void SetClientVpnEndpointId(Aws::String&& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = std::move(value); }
48 inline void SetClientVpnEndpointId(const char* value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId.assign(value); }
51 inline RevokeClientVpnIngressRequest& WithClientVpnEndpointId(const char* value) { SetClientVpnEndpointId(value); return *this;}
53
55
59 inline const Aws::String& GetTargetNetworkCidr() const{ return m_targetNetworkCidr; }
60 inline bool TargetNetworkCidrHasBeenSet() const { return m_targetNetworkCidrHasBeenSet; }
61 inline void SetTargetNetworkCidr(const Aws::String& value) { m_targetNetworkCidrHasBeenSet = true; m_targetNetworkCidr = value; }
62 inline void SetTargetNetworkCidr(Aws::String&& value) { m_targetNetworkCidrHasBeenSet = true; m_targetNetworkCidr = std::move(value); }
63 inline void SetTargetNetworkCidr(const char* value) { m_targetNetworkCidrHasBeenSet = true; m_targetNetworkCidr.assign(value); }
65 inline RevokeClientVpnIngressRequest& WithTargetNetworkCidr(Aws::String&& value) { SetTargetNetworkCidr(std::move(value)); return *this;}
66 inline RevokeClientVpnIngressRequest& WithTargetNetworkCidr(const char* value) { SetTargetNetworkCidr(value); return *this;}
68
70
73 inline const Aws::String& GetAccessGroupId() const{ return m_accessGroupId; }
74 inline bool AccessGroupIdHasBeenSet() const { return m_accessGroupIdHasBeenSet; }
75 inline void SetAccessGroupId(const Aws::String& value) { m_accessGroupIdHasBeenSet = true; m_accessGroupId = value; }
76 inline void SetAccessGroupId(Aws::String&& value) { m_accessGroupIdHasBeenSet = true; m_accessGroupId = std::move(value); }
77 inline void SetAccessGroupId(const char* value) { m_accessGroupIdHasBeenSet = true; m_accessGroupId.assign(value); }
78 inline RevokeClientVpnIngressRequest& WithAccessGroupId(const Aws::String& value) { SetAccessGroupId(value); return *this;}
79 inline RevokeClientVpnIngressRequest& WithAccessGroupId(Aws::String&& value) { SetAccessGroupId(std::move(value)); return *this;}
80 inline RevokeClientVpnIngressRequest& WithAccessGroupId(const char* value) { SetAccessGroupId(value); return *this;}
82
84
87 inline bool GetRevokeAllGroups() const{ return m_revokeAllGroups; }
88 inline bool RevokeAllGroupsHasBeenSet() const { return m_revokeAllGroupsHasBeenSet; }
89 inline void SetRevokeAllGroups(bool value) { m_revokeAllGroupsHasBeenSet = true; m_revokeAllGroups = value; }
90 inline RevokeClientVpnIngressRequest& WithRevokeAllGroups(bool value) { SetRevokeAllGroups(value); return *this;}
92
94
100 inline bool GetDryRun() const{ return m_dryRun; }
101 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
102 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
103 inline RevokeClientVpnIngressRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
105 private:
106
107 Aws::String m_clientVpnEndpointId;
108 bool m_clientVpnEndpointIdHasBeenSet = false;
109
110 Aws::String m_targetNetworkCidr;
111 bool m_targetNetworkCidrHasBeenSet = false;
112
113 Aws::String m_accessGroupId;
114 bool m_accessGroupIdHasBeenSet = false;
115
116 bool m_revokeAllGroups;
117 bool m_revokeAllGroupsHasBeenSet = false;
118
119 bool m_dryRun;
120 bool m_dryRunHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace EC2
125} // namespace Aws
RevokeClientVpnIngressRequest & WithClientVpnEndpointId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
RevokeClientVpnIngressRequest & WithTargetNetworkCidr(const char *value)
RevokeClientVpnIngressRequest & WithRevokeAllGroups(bool value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
RevokeClientVpnIngressRequest & WithClientVpnEndpointId(const char *value)
RevokeClientVpnIngressRequest & WithAccessGroupId(Aws::String &&value)
RevokeClientVpnIngressRequest & WithAccessGroupId(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
RevokeClientVpnIngressRequest & WithTargetNetworkCidr(Aws::String &&value)
RevokeClientVpnIngressRequest & WithDryRun(bool value)
RevokeClientVpnIngressRequest & WithAccessGroupId(const char *value)
RevokeClientVpnIngressRequest & WithClientVpnEndpointId(Aws::String &&value)
RevokeClientVpnIngressRequest & WithTargetNetworkCidr(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String