AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuthorizeClientVpnIngressRequest.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#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace EC2
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "AuthorizeClientVpnIngress"; }
32
33 AWS_EC2_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
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 AuthorizeClientVpnIngressRequest& 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); }
66 inline AuthorizeClientVpnIngressRequest& WithTargetNetworkCidr(const char* value) { SetTargetNetworkCidr(value); return *this;}
68
70
75 inline const Aws::String& GetAccessGroupId() const{ return m_accessGroupId; }
76 inline bool AccessGroupIdHasBeenSet() const { return m_accessGroupIdHasBeenSet; }
77 inline void SetAccessGroupId(const Aws::String& value) { m_accessGroupIdHasBeenSet = true; m_accessGroupId = value; }
78 inline void SetAccessGroupId(Aws::String&& value) { m_accessGroupIdHasBeenSet = true; m_accessGroupId = std::move(value); }
79 inline void SetAccessGroupId(const char* value) { m_accessGroupIdHasBeenSet = true; m_accessGroupId.assign(value); }
81 inline AuthorizeClientVpnIngressRequest& WithAccessGroupId(Aws::String&& value) { SetAccessGroupId(std::move(value)); return *this;}
82 inline AuthorizeClientVpnIngressRequest& WithAccessGroupId(const char* value) { SetAccessGroupId(value); return *this;}
84
86
92 inline bool GetAuthorizeAllGroups() const{ return m_authorizeAllGroups; }
93 inline bool AuthorizeAllGroupsHasBeenSet() const { return m_authorizeAllGroupsHasBeenSet; }
94 inline void SetAuthorizeAllGroups(bool value) { m_authorizeAllGroupsHasBeenSet = true; m_authorizeAllGroups = value; }
97
99
102 inline const Aws::String& GetDescription() const{ return m_description; }
103 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
104 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
105 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
106 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
107 inline AuthorizeClientVpnIngressRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
108 inline AuthorizeClientVpnIngressRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
109 inline AuthorizeClientVpnIngressRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
111
113
119 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
120 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
121 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
122 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
123 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
124 inline AuthorizeClientVpnIngressRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
125 inline AuthorizeClientVpnIngressRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
126 inline AuthorizeClientVpnIngressRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
128
130
136 inline bool GetDryRun() const{ return m_dryRun; }
137 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
138 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
139 inline AuthorizeClientVpnIngressRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
141 private:
142
143 Aws::String m_clientVpnEndpointId;
144 bool m_clientVpnEndpointIdHasBeenSet = false;
145
146 Aws::String m_targetNetworkCidr;
147 bool m_targetNetworkCidrHasBeenSet = false;
148
149 Aws::String m_accessGroupId;
150 bool m_accessGroupIdHasBeenSet = false;
151
152 bool m_authorizeAllGroups;
153 bool m_authorizeAllGroupsHasBeenSet = false;
154
155 Aws::String m_description;
156 bool m_descriptionHasBeenSet = false;
157
158 Aws::String m_clientToken;
159 bool m_clientTokenHasBeenSet = false;
160
161 bool m_dryRun;
162 bool m_dryRunHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace EC2
167} // namespace Aws
AuthorizeClientVpnIngressRequest & WithClientToken(const char *value)
AuthorizeClientVpnIngressRequest & WithTargetNetworkCidr(const char *value)
AuthorizeClientVpnIngressRequest & WithClientVpnEndpointId(const char *value)
AuthorizeClientVpnIngressRequest & WithClientToken(Aws::String &&value)
AuthorizeClientVpnIngressRequest & WithDryRun(bool value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AuthorizeClientVpnIngressRequest & WithTargetNetworkCidr(const Aws::String &value)
AuthorizeClientVpnIngressRequest & WithTargetNetworkCidr(Aws::String &&value)
AuthorizeClientVpnIngressRequest & WithDescription(Aws::String &&value)
AuthorizeClientVpnIngressRequest & WithClientVpnEndpointId(Aws::String &&value)
AuthorizeClientVpnIngressRequest & WithClientVpnEndpointId(const Aws::String &value)
AuthorizeClientVpnIngressRequest & WithAuthorizeAllGroups(bool value)
AuthorizeClientVpnIngressRequest & WithAccessGroupId(const Aws::String &value)
AuthorizeClientVpnIngressRequest & WithDescription(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
AuthorizeClientVpnIngressRequest & WithDescription(const char *value)
AuthorizeClientVpnIngressRequest & WithAccessGroupId(const char *value)
AuthorizeClientVpnIngressRequest & WithClientToken(const Aws::String &value)
AuthorizeClientVpnIngressRequest & WithAccessGroupId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String