AWS SDK for C++  1.9.128
AWS SDK for C++
AuthorizeClientVpnIngressRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
10 #include <utility>
11 #include <aws/core/utils/UUID.h>
12 
13 namespace Aws
14 {
15 namespace EC2
16 {
17 namespace 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::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
43  inline const Aws::String& GetClientVpnEndpointId() const{ return m_clientVpnEndpointId; }
44 
48  inline bool ClientVpnEndpointIdHasBeenSet() const { return m_clientVpnEndpointIdHasBeenSet; }
49 
53  inline void SetClientVpnEndpointId(const Aws::String& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = value; }
54 
58  inline void SetClientVpnEndpointId(Aws::String&& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = std::move(value); }
59 
63  inline void SetClientVpnEndpointId(const char* value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId.assign(value); }
64 
68  inline AuthorizeClientVpnIngressRequest& WithClientVpnEndpointId(const Aws::String& value) { SetClientVpnEndpointId(value); return *this;}
69 
73  inline AuthorizeClientVpnIngressRequest& WithClientVpnEndpointId(Aws::String&& value) { SetClientVpnEndpointId(std::move(value)); return *this;}
74 
78  inline AuthorizeClientVpnIngressRequest& WithClientVpnEndpointId(const char* value) { SetClientVpnEndpointId(value); return *this;}
79 
80 
85  inline const Aws::String& GetTargetNetworkCidr() const{ return m_targetNetworkCidr; }
86 
91  inline bool TargetNetworkCidrHasBeenSet() const { return m_targetNetworkCidrHasBeenSet; }
92 
97  inline void SetTargetNetworkCidr(const Aws::String& value) { m_targetNetworkCidrHasBeenSet = true; m_targetNetworkCidr = value; }
98 
103  inline void SetTargetNetworkCidr(Aws::String&& value) { m_targetNetworkCidrHasBeenSet = true; m_targetNetworkCidr = std::move(value); }
104 
109  inline void SetTargetNetworkCidr(const char* value) { m_targetNetworkCidrHasBeenSet = true; m_targetNetworkCidr.assign(value); }
110 
115  inline AuthorizeClientVpnIngressRequest& WithTargetNetworkCidr(const Aws::String& value) { SetTargetNetworkCidr(value); return *this;}
116 
121  inline AuthorizeClientVpnIngressRequest& WithTargetNetworkCidr(Aws::String&& value) { SetTargetNetworkCidr(std::move(value)); return *this;}
122 
127  inline AuthorizeClientVpnIngressRequest& WithTargetNetworkCidr(const char* value) { SetTargetNetworkCidr(value); return *this;}
128 
129 
135  inline const Aws::String& GetAccessGroupId() const{ return m_accessGroupId; }
136 
142  inline bool AccessGroupIdHasBeenSet() const { return m_accessGroupIdHasBeenSet; }
143 
149  inline void SetAccessGroupId(const Aws::String& value) { m_accessGroupIdHasBeenSet = true; m_accessGroupId = value; }
150 
156  inline void SetAccessGroupId(Aws::String&& value) { m_accessGroupIdHasBeenSet = true; m_accessGroupId = std::move(value); }
157 
163  inline void SetAccessGroupId(const char* value) { m_accessGroupIdHasBeenSet = true; m_accessGroupId.assign(value); }
164 
170  inline AuthorizeClientVpnIngressRequest& WithAccessGroupId(const Aws::String& value) { SetAccessGroupId(value); return *this;}
171 
177  inline AuthorizeClientVpnIngressRequest& WithAccessGroupId(Aws::String&& value) { SetAccessGroupId(std::move(value)); return *this;}
178 
184  inline AuthorizeClientVpnIngressRequest& WithAccessGroupId(const char* value) { SetAccessGroupId(value); return *this;}
185 
186 
193  inline bool GetAuthorizeAllGroups() const{ return m_authorizeAllGroups; }
194 
201  inline bool AuthorizeAllGroupsHasBeenSet() const { return m_authorizeAllGroupsHasBeenSet; }
202 
209  inline void SetAuthorizeAllGroups(bool value) { m_authorizeAllGroupsHasBeenSet = true; m_authorizeAllGroups = value; }
210 
217  inline AuthorizeClientVpnIngressRequest& WithAuthorizeAllGroups(bool value) { SetAuthorizeAllGroups(value); return *this;}
218 
219 
223  inline const Aws::String& GetDescription() const{ return m_description; }
224 
228  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
229 
233  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
234 
238  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
239 
243  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
244 
248  inline AuthorizeClientVpnIngressRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
249 
253  inline AuthorizeClientVpnIngressRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
254 
258  inline AuthorizeClientVpnIngressRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
259 
260 
267  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
268 
275  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
276 
283  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
284 
291  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
292 
299  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
300 
307  inline AuthorizeClientVpnIngressRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
308 
315  inline AuthorizeClientVpnIngressRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
316 
323  inline AuthorizeClientVpnIngressRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
324 
325 
332  inline bool GetDryRun() const{ return m_dryRun; }
333 
340  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
341 
348  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
349 
356  inline AuthorizeClientVpnIngressRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
357 
358  private:
359 
360  Aws::String m_clientVpnEndpointId;
361  bool m_clientVpnEndpointIdHasBeenSet;
362 
363  Aws::String m_targetNetworkCidr;
364  bool m_targetNetworkCidrHasBeenSet;
365 
366  Aws::String m_accessGroupId;
367  bool m_accessGroupIdHasBeenSet;
368 
369  bool m_authorizeAllGroups;
370  bool m_authorizeAllGroupsHasBeenSet;
371 
372  Aws::String m_description;
373  bool m_descriptionHasBeenSet;
374 
375  Aws::String m_clientToken;
376  bool m_clientTokenHasBeenSet;
377 
378  bool m_dryRun;
379  bool m_dryRunHasBeenSet;
380  };
381 
382 } // namespace Model
383 } // namespace EC2
384 } // namespace Aws
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::ClientVpnEndpointIdHasBeenSet
bool ClientVpnEndpointIdHasBeenSet() const
Definition: AuthorizeClientVpnIngressRequest.h:48
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SetAccessGroupId
void SetAccessGroupId(const Aws::String &value)
Definition: AuthorizeClientVpnIngressRequest.h:149
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::GetAuthorizeAllGroups
bool GetAuthorizeAllGroups() const
Definition: AuthorizeClientVpnIngressRequest.h:193
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::TargetNetworkCidrHasBeenSet
bool TargetNetworkCidrHasBeenSet() const
Definition: AuthorizeClientVpnIngressRequest.h:91
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::WithClientToken
AuthorizeClientVpnIngressRequest & WithClientToken(const char *value)
Definition: AuthorizeClientVpnIngressRequest.h:323
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SetClientToken
void SetClientToken(const char *value)
Definition: AuthorizeClientVpnIngressRequest.h:299
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::WithDescription
AuthorizeClientVpnIngressRequest & WithDescription(const Aws::String &value)
Definition: AuthorizeClientVpnIngressRequest.h:248
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AuthorizeClientVpnIngressRequest.h:31
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SetAuthorizeAllGroups
void SetAuthorizeAllGroups(bool value)
Definition: AuthorizeClientVpnIngressRequest.h:209
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SetTargetNetworkCidr
void SetTargetNetworkCidr(const Aws::String &value)
Definition: AuthorizeClientVpnIngressRequest.h:97
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: AuthorizeClientVpnIngressRequest.h:267
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::WithClientToken
AuthorizeClientVpnIngressRequest & WithClientToken(const Aws::String &value)
Definition: AuthorizeClientVpnIngressRequest.h:307
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(Aws::String &&value)
Definition: AuthorizeClientVpnIngressRequest.h:58
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::GetAccessGroupId
const Aws::String & GetAccessGroupId() const
Definition: AuthorizeClientVpnIngressRequest.h:135
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::WithClientVpnEndpointId
AuthorizeClientVpnIngressRequest & WithClientVpnEndpointId(const Aws::String &value)
Definition: AuthorizeClientVpnIngressRequest.h:68
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::GetDryRun
bool GetDryRun() const
Definition: AuthorizeClientVpnIngressRequest.h:332
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SetAccessGroupId
void SetAccessGroupId(Aws::String &&value)
Definition: AuthorizeClientVpnIngressRequest.h:156
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: AuthorizeClientVpnIngressRequest.h:275
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: AuthorizeClientVpnIngressRequest.h:228
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::WithDescription
AuthorizeClientVpnIngressRequest & WithDescription(const char *value)
Definition: AuthorizeClientVpnIngressRequest.h:258
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(const Aws::String &value)
Definition: AuthorizeClientVpnIngressRequest.h:53
Aws::EC2::Model::AuthorizeClientVpnIngressRequest
Definition: AuthorizeClientVpnIngressRequest.h:23
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::WithClientVpnEndpointId
AuthorizeClientVpnIngressRequest & WithClientVpnEndpointId(Aws::String &&value)
Definition: AuthorizeClientVpnIngressRequest.h:73
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(const char *value)
Definition: AuthorizeClientVpnIngressRequest.h:63
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: AuthorizeClientVpnIngressRequest.h:291
EC2Request.h
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::WithDescription
AuthorizeClientVpnIngressRequest & WithDescription(Aws::String &&value)
Definition: AuthorizeClientVpnIngressRequest.h:253
AWSString.h
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SetDescription
void SetDescription(const char *value)
Definition: AuthorizeClientVpnIngressRequest.h:243
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::WithTargetNetworkCidr
AuthorizeClientVpnIngressRequest & WithTargetNetworkCidr(Aws::String &&value)
Definition: AuthorizeClientVpnIngressRequest.h:121
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::AuthorizeAllGroupsHasBeenSet
bool AuthorizeAllGroupsHasBeenSet() const
Definition: AuthorizeClientVpnIngressRequest.h:201
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SetDryRun
void SetDryRun(bool value)
Definition: AuthorizeClientVpnIngressRequest.h:348
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SetAccessGroupId
void SetAccessGroupId(const char *value)
Definition: AuthorizeClientVpnIngressRequest.h:163
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::WithAccessGroupId
AuthorizeClientVpnIngressRequest & WithAccessGroupId(Aws::String &&value)
Definition: AuthorizeClientVpnIngressRequest.h:177
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::AuthorizeClientVpnIngressRequest
AuthorizeClientVpnIngressRequest()
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::WithAccessGroupId
AuthorizeClientVpnIngressRequest & WithAccessGroupId(const Aws::String &value)
Definition: AuthorizeClientVpnIngressRequest.h:170
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::WithClientToken
AuthorizeClientVpnIngressRequest & WithClientToken(Aws::String &&value)
Definition: AuthorizeClientVpnIngressRequest.h:315
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::WithDryRun
AuthorizeClientVpnIngressRequest & WithDryRun(bool value)
Definition: AuthorizeClientVpnIngressRequest.h:356
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::GetDescription
const Aws::String & GetDescription() const
Definition: AuthorizeClientVpnIngressRequest.h:223
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::AccessGroupIdHasBeenSet
bool AccessGroupIdHasBeenSet() const
Definition: AuthorizeClientVpnIngressRequest.h:142
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::WithAuthorizeAllGroups
AuthorizeClientVpnIngressRequest & WithAuthorizeAllGroups(bool value)
Definition: AuthorizeClientVpnIngressRequest.h:217
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: AuthorizeClientVpnIngressRequest.h:283
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SetTargetNetworkCidr
void SetTargetNetworkCidr(const char *value)
Definition: AuthorizeClientVpnIngressRequest.h:109
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::GetTargetNetworkCidr
const Aws::String & GetTargetNetworkCidr() const
Definition: AuthorizeClientVpnIngressRequest.h:85
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: AuthorizeClientVpnIngressRequest.h:340
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SetTargetNetworkCidr
void SetTargetNetworkCidr(Aws::String &&value)
Definition: AuthorizeClientVpnIngressRequest.h:103
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::WithTargetNetworkCidr
AuthorizeClientVpnIngressRequest & WithTargetNetworkCidr(const Aws::String &value)
Definition: AuthorizeClientVpnIngressRequest.h:115
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::WithAccessGroupId
AuthorizeClientVpnIngressRequest & WithAccessGroupId(const char *value)
Definition: AuthorizeClientVpnIngressRequest.h:184
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: AuthorizeClientVpnIngressRequest.h:238
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::WithTargetNetworkCidr
AuthorizeClientVpnIngressRequest & WithTargetNetworkCidr(const char *value)
Definition: AuthorizeClientVpnIngressRequest.h:127
UUID.h
EC2_EXPORTS.h
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: AuthorizeClientVpnIngressRequest.h:233
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::WithClientVpnEndpointId
AuthorizeClientVpnIngressRequest & WithClientVpnEndpointId(const char *value)
Definition: AuthorizeClientVpnIngressRequest.h:78
Aws::EC2::Model::AuthorizeClientVpnIngressRequest::GetClientVpnEndpointId
const Aws::String & GetClientVpnEndpointId() const
Definition: AuthorizeClientVpnIngressRequest.h:43