AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVerifiedAccessEndpointRequest.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 <aws/ec2/model/VerifiedAccessEndpointType.h>
11#include <aws/ec2/model/VerifiedAccessEndpointAttachmentType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/CreateVerifiedAccessEndpointLoadBalancerOptions.h>
14#include <aws/ec2/model/CreateVerifiedAccessEndpointEniOptions.h>
15#include <aws/ec2/model/VerifiedAccessSseSpecificationRequest.h>
16#include <aws/ec2/model/TagSpecification.h>
17#include <utility>
18#include <aws/core/utils/UUID.h>
19
20namespace Aws
21{
22namespace EC2
23{
24namespace Model
25{
26
30 {
31 public:
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "CreateVerifiedAccessEndpoint"; }
39
40 AWS_EC2_API Aws::String SerializePayload() const override;
41
42 protected:
43 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
44
45 public:
46
48
51 inline const Aws::String& GetVerifiedAccessGroupId() const{ return m_verifiedAccessGroupId; }
52 inline bool VerifiedAccessGroupIdHasBeenSet() const { return m_verifiedAccessGroupIdHasBeenSet; }
53 inline void SetVerifiedAccessGroupId(const Aws::String& value) { m_verifiedAccessGroupIdHasBeenSet = true; m_verifiedAccessGroupId = value; }
54 inline void SetVerifiedAccessGroupId(Aws::String&& value) { m_verifiedAccessGroupIdHasBeenSet = true; m_verifiedAccessGroupId = std::move(value); }
55 inline void SetVerifiedAccessGroupId(const char* value) { m_verifiedAccessGroupIdHasBeenSet = true; m_verifiedAccessGroupId.assign(value); }
60
62
65 inline const VerifiedAccessEndpointType& GetEndpointType() const{ return m_endpointType; }
66 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
67 inline void SetEndpointType(const VerifiedAccessEndpointType& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
68 inline void SetEndpointType(VerifiedAccessEndpointType&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); }
72
74
77 inline const VerifiedAccessEndpointAttachmentType& GetAttachmentType() const{ return m_attachmentType; }
78 inline bool AttachmentTypeHasBeenSet() const { return m_attachmentTypeHasBeenSet; }
79 inline void SetAttachmentType(const VerifiedAccessEndpointAttachmentType& value) { m_attachmentTypeHasBeenSet = true; m_attachmentType = value; }
80 inline void SetAttachmentType(VerifiedAccessEndpointAttachmentType&& value) { m_attachmentTypeHasBeenSet = true; m_attachmentType = std::move(value); }
84
86
91 inline const Aws::String& GetDomainCertificateArn() const{ return m_domainCertificateArn; }
92 inline bool DomainCertificateArnHasBeenSet() const { return m_domainCertificateArnHasBeenSet; }
93 inline void SetDomainCertificateArn(const Aws::String& value) { m_domainCertificateArnHasBeenSet = true; m_domainCertificateArn = value; }
94 inline void SetDomainCertificateArn(Aws::String&& value) { m_domainCertificateArnHasBeenSet = true; m_domainCertificateArn = std::move(value); }
95 inline void SetDomainCertificateArn(const char* value) { m_domainCertificateArnHasBeenSet = true; m_domainCertificateArn.assign(value); }
100
102
105 inline const Aws::String& GetApplicationDomain() const{ return m_applicationDomain; }
106 inline bool ApplicationDomainHasBeenSet() const { return m_applicationDomainHasBeenSet; }
107 inline void SetApplicationDomain(const Aws::String& value) { m_applicationDomainHasBeenSet = true; m_applicationDomain = value; }
108 inline void SetApplicationDomain(Aws::String&& value) { m_applicationDomainHasBeenSet = true; m_applicationDomain = std::move(value); }
109 inline void SetApplicationDomain(const char* value) { m_applicationDomainHasBeenSet = true; m_applicationDomain.assign(value); }
112 inline CreateVerifiedAccessEndpointRequest& WithApplicationDomain(const char* value) { SetApplicationDomain(value); return *this;}
114
116
120 inline const Aws::String& GetEndpointDomainPrefix() const{ return m_endpointDomainPrefix; }
121 inline bool EndpointDomainPrefixHasBeenSet() const { return m_endpointDomainPrefixHasBeenSet; }
122 inline void SetEndpointDomainPrefix(const Aws::String& value) { m_endpointDomainPrefixHasBeenSet = true; m_endpointDomainPrefix = value; }
123 inline void SetEndpointDomainPrefix(Aws::String&& value) { m_endpointDomainPrefixHasBeenSet = true; m_endpointDomainPrefix = std::move(value); }
124 inline void SetEndpointDomainPrefix(const char* value) { m_endpointDomainPrefixHasBeenSet = true; m_endpointDomainPrefix.assign(value); }
129
131
136 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
137 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
138 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
139 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
142 inline CreateVerifiedAccessEndpointRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
143 inline CreateVerifiedAccessEndpointRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
144 inline CreateVerifiedAccessEndpointRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
146
148
152 inline const CreateVerifiedAccessEndpointLoadBalancerOptions& GetLoadBalancerOptions() const{ return m_loadBalancerOptions; }
153 inline bool LoadBalancerOptionsHasBeenSet() const { return m_loadBalancerOptionsHasBeenSet; }
154 inline void SetLoadBalancerOptions(const CreateVerifiedAccessEndpointLoadBalancerOptions& value) { m_loadBalancerOptionsHasBeenSet = true; m_loadBalancerOptions = value; }
155 inline void SetLoadBalancerOptions(CreateVerifiedAccessEndpointLoadBalancerOptions&& value) { m_loadBalancerOptionsHasBeenSet = true; m_loadBalancerOptions = std::move(value); }
159
161
165 inline const CreateVerifiedAccessEndpointEniOptions& GetNetworkInterfaceOptions() const{ return m_networkInterfaceOptions; }
166 inline bool NetworkInterfaceOptionsHasBeenSet() const { return m_networkInterfaceOptionsHasBeenSet; }
167 inline void SetNetworkInterfaceOptions(const CreateVerifiedAccessEndpointEniOptions& value) { m_networkInterfaceOptionsHasBeenSet = true; m_networkInterfaceOptions = value; }
168 inline void SetNetworkInterfaceOptions(CreateVerifiedAccessEndpointEniOptions&& value) { m_networkInterfaceOptionsHasBeenSet = true; m_networkInterfaceOptions = std::move(value); }
172
174
177 inline const Aws::String& GetDescription() const{ return m_description; }
178 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
179 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
180 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
181 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
183 inline CreateVerifiedAccessEndpointRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
184 inline CreateVerifiedAccessEndpointRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
186
188
191 inline const Aws::String& GetPolicyDocument() const{ return m_policyDocument; }
192 inline bool PolicyDocumentHasBeenSet() const { return m_policyDocumentHasBeenSet; }
193 inline void SetPolicyDocument(const Aws::String& value) { m_policyDocumentHasBeenSet = true; m_policyDocument = value; }
194 inline void SetPolicyDocument(Aws::String&& value) { m_policyDocumentHasBeenSet = true; m_policyDocument = std::move(value); }
195 inline void SetPolicyDocument(const char* value) { m_policyDocumentHasBeenSet = true; m_policyDocument.assign(value); }
197 inline CreateVerifiedAccessEndpointRequest& WithPolicyDocument(Aws::String&& value) { SetPolicyDocument(std::move(value)); return *this;}
198 inline CreateVerifiedAccessEndpointRequest& WithPolicyDocument(const char* value) { SetPolicyDocument(value); return *this;}
200
202
205 inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const{ return m_tagSpecifications; }
206 inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
207 inline void SetTagSpecifications(const Aws::Vector<TagSpecification>& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; }
208 inline void SetTagSpecifications(Aws::Vector<TagSpecification>&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); }
211 inline CreateVerifiedAccessEndpointRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; }
212 inline CreateVerifiedAccessEndpointRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; }
214
216
222 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
223 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
224 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
225 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
226 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
228 inline CreateVerifiedAccessEndpointRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
229 inline CreateVerifiedAccessEndpointRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
231
233
239 inline bool GetDryRun() const{ return m_dryRun; }
240 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
241 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
242 inline CreateVerifiedAccessEndpointRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
244
246
249 inline const VerifiedAccessSseSpecificationRequest& GetSseSpecification() const{ return m_sseSpecification; }
250 inline bool SseSpecificationHasBeenSet() const { return m_sseSpecificationHasBeenSet; }
251 inline void SetSseSpecification(const VerifiedAccessSseSpecificationRequest& value) { m_sseSpecificationHasBeenSet = true; m_sseSpecification = value; }
252 inline void SetSseSpecification(VerifiedAccessSseSpecificationRequest&& value) { m_sseSpecificationHasBeenSet = true; m_sseSpecification = std::move(value); }
256 private:
257
258 Aws::String m_verifiedAccessGroupId;
259 bool m_verifiedAccessGroupIdHasBeenSet = false;
260
261 VerifiedAccessEndpointType m_endpointType;
262 bool m_endpointTypeHasBeenSet = false;
263
265 bool m_attachmentTypeHasBeenSet = false;
266
267 Aws::String m_domainCertificateArn;
268 bool m_domainCertificateArnHasBeenSet = false;
269
270 Aws::String m_applicationDomain;
271 bool m_applicationDomainHasBeenSet = false;
272
273 Aws::String m_endpointDomainPrefix;
274 bool m_endpointDomainPrefixHasBeenSet = false;
275
276 Aws::Vector<Aws::String> m_securityGroupIds;
277 bool m_securityGroupIdsHasBeenSet = false;
278
280 bool m_loadBalancerOptionsHasBeenSet = false;
281
282 CreateVerifiedAccessEndpointEniOptions m_networkInterfaceOptions;
283 bool m_networkInterfaceOptionsHasBeenSet = false;
284
285 Aws::String m_description;
286 bool m_descriptionHasBeenSet = false;
287
288 Aws::String m_policyDocument;
289 bool m_policyDocumentHasBeenSet = false;
290
291 Aws::Vector<TagSpecification> m_tagSpecifications;
292 bool m_tagSpecificationsHasBeenSet = false;
293
294 Aws::String m_clientToken;
295 bool m_clientTokenHasBeenSet = false;
296
297 bool m_dryRun;
298 bool m_dryRunHasBeenSet = false;
299
300 VerifiedAccessSseSpecificationRequest m_sseSpecification;
301 bool m_sseSpecificationHasBeenSet = false;
302 };
303
304} // namespace Model
305} // namespace EC2
306} // namespace Aws
CreateVerifiedAccessEndpointRequest & WithSseSpecification(const VerifiedAccessSseSpecificationRequest &value)
const VerifiedAccessEndpointAttachmentType & GetAttachmentType() const
CreateVerifiedAccessEndpointRequest & AddSecurityGroupIds(const Aws::String &value)
CreateVerifiedAccessEndpointRequest & WithDomainCertificateArn(Aws::String &&value)
CreateVerifiedAccessEndpointRequest & WithDomainCertificateArn(const char *value)
void SetSseSpecification(const VerifiedAccessSseSpecificationRequest &value)
void SetNetworkInterfaceOptions(CreateVerifiedAccessEndpointEniOptions &&value)
const CreateVerifiedAccessEndpointEniOptions & GetNetworkInterfaceOptions() const
CreateVerifiedAccessEndpointRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateVerifiedAccessEndpointRequest & WithLoadBalancerOptions(CreateVerifiedAccessEndpointLoadBalancerOptions &&value)
CreateVerifiedAccessEndpointRequest & WithPolicyDocument(const Aws::String &value)
CreateVerifiedAccessEndpointRequest & WithEndpointDomainPrefix(const Aws::String &value)
CreateVerifiedAccessEndpointRequest & WithNetworkInterfaceOptions(const CreateVerifiedAccessEndpointEniOptions &value)
CreateVerifiedAccessEndpointRequest & AddTagSpecifications(TagSpecification &&value)
AWS_EC2_API Aws::String SerializePayload() const override
CreateVerifiedAccessEndpointRequest & WithDescription(const Aws::String &value)
CreateVerifiedAccessEndpointRequest & WithVerifiedAccessGroupId(Aws::String &&value)
const VerifiedAccessSseSpecificationRequest & GetSseSpecification() const
void SetSseSpecification(VerifiedAccessSseSpecificationRequest &&value)
void SetAttachmentType(const VerifiedAccessEndpointAttachmentType &value)
CreateVerifiedAccessEndpointRequest & WithVerifiedAccessGroupId(const Aws::String &value)
CreateVerifiedAccessEndpointRequest & AddSecurityGroupIds(Aws::String &&value)
void SetAttachmentType(VerifiedAccessEndpointAttachmentType &&value)
CreateVerifiedAccessEndpointRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateVerifiedAccessEndpointRequest & WithEndpointType(VerifiedAccessEndpointType &&value)
CreateVerifiedAccessEndpointRequest & WithEndpointType(const VerifiedAccessEndpointType &value)
CreateVerifiedAccessEndpointRequest & WithNetworkInterfaceOptions(CreateVerifiedAccessEndpointEniOptions &&value)
CreateVerifiedAccessEndpointRequest & WithApplicationDomain(Aws::String &&value)
CreateVerifiedAccessEndpointRequest & WithSseSpecification(VerifiedAccessSseSpecificationRequest &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateVerifiedAccessEndpointRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateVerifiedAccessEndpointRequest & WithEndpointDomainPrefix(Aws::String &&value)
CreateVerifiedAccessEndpointRequest & WithApplicationDomain(const char *value)
CreateVerifiedAccessEndpointRequest & WithLoadBalancerOptions(const CreateVerifiedAccessEndpointLoadBalancerOptions &value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateVerifiedAccessEndpointRequest & AddSecurityGroupIds(const char *value)
void SetNetworkInterfaceOptions(const CreateVerifiedAccessEndpointEniOptions &value)
CreateVerifiedAccessEndpointRequest & WithPolicyDocument(Aws::String &&value)
CreateVerifiedAccessEndpointRequest & WithApplicationDomain(const Aws::String &value)
CreateVerifiedAccessEndpointRequest & WithPolicyDocument(const char *value)
void SetLoadBalancerOptions(const CreateVerifiedAccessEndpointLoadBalancerOptions &value)
CreateVerifiedAccessEndpointRequest & WithClientToken(Aws::String &&value)
CreateVerifiedAccessEndpointRequest & WithVerifiedAccessGroupId(const char *value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateVerifiedAccessEndpointRequest & AddTagSpecifications(const TagSpecification &value)
CreateVerifiedAccessEndpointRequest & WithDescription(const char *value)
CreateVerifiedAccessEndpointRequest & WithAttachmentType(VerifiedAccessEndpointAttachmentType &&value)
CreateVerifiedAccessEndpointRequest & WithDryRun(bool value)
const CreateVerifiedAccessEndpointLoadBalancerOptions & GetLoadBalancerOptions() const
CreateVerifiedAccessEndpointRequest & WithClientToken(const char *value)
CreateVerifiedAccessEndpointRequest & WithClientToken(const Aws::String &value)
CreateVerifiedAccessEndpointRequest & WithDomainCertificateArn(const Aws::String &value)
CreateVerifiedAccessEndpointRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateVerifiedAccessEndpointRequest & WithEndpointDomainPrefix(const char *value)
void SetLoadBalancerOptions(CreateVerifiedAccessEndpointLoadBalancerOptions &&value)
CreateVerifiedAccessEndpointRequest & WithDescription(Aws::String &&value)
CreateVerifiedAccessEndpointRequest & WithAttachmentType(const VerifiedAccessEndpointAttachmentType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector