AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
VerifiedAccessEndpoint.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/Tag.h>
12#include <aws/ec2/model/VerifiedAccessEndpointAttachmentType.h>
13#include <aws/ec2/model/VerifiedAccessEndpointCidrOptions.h>
14#include <aws/ec2/model/VerifiedAccessEndpointEniOptions.h>
15#include <aws/ec2/model/VerifiedAccessEndpointLoadBalancerOptions.h>
16#include <aws/ec2/model/VerifiedAccessEndpointRdsOptions.h>
17#include <aws/ec2/model/VerifiedAccessEndpointStatus.h>
18#include <aws/ec2/model/VerifiedAccessEndpointType.h>
19#include <aws/ec2/model/VerifiedAccessSseSpecificationResponse.h>
20
21#include <utility>
22
23namespace Aws {
24namespace Utils {
25namespace Xml {
26class XmlNode;
27} // namespace Xml
28} // namespace Utils
29namespace EC2 {
30namespace Model {
31
42 public:
43 AWS_EC2_API VerifiedAccessEndpoint() = default;
46
47 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
48 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
49
51
54 inline const Aws::String& GetVerifiedAccessInstanceId() const { return m_verifiedAccessInstanceId; }
55 inline bool VerifiedAccessInstanceIdHasBeenSet() const { return m_verifiedAccessInstanceIdHasBeenSet; }
56 template <typename VerifiedAccessInstanceIdT = Aws::String>
57 void SetVerifiedAccessInstanceId(VerifiedAccessInstanceIdT&& value) {
58 m_verifiedAccessInstanceIdHasBeenSet = true;
59 m_verifiedAccessInstanceId = std::forward<VerifiedAccessInstanceIdT>(value);
60 }
61 template <typename VerifiedAccessInstanceIdT = Aws::String>
62 VerifiedAccessEndpoint& WithVerifiedAccessInstanceId(VerifiedAccessInstanceIdT&& value) {
63 SetVerifiedAccessInstanceId(std::forward<VerifiedAccessInstanceIdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetVerifiedAccessGroupId() const { return m_verifiedAccessGroupId; }
73 inline bool VerifiedAccessGroupIdHasBeenSet() const { return m_verifiedAccessGroupIdHasBeenSet; }
74 template <typename VerifiedAccessGroupIdT = Aws::String>
75 void SetVerifiedAccessGroupId(VerifiedAccessGroupIdT&& value) {
76 m_verifiedAccessGroupIdHasBeenSet = true;
77 m_verifiedAccessGroupId = std::forward<VerifiedAccessGroupIdT>(value);
78 }
79 template <typename VerifiedAccessGroupIdT = Aws::String>
80 VerifiedAccessEndpoint& WithVerifiedAccessGroupId(VerifiedAccessGroupIdT&& value) {
81 SetVerifiedAccessGroupId(std::forward<VerifiedAccessGroupIdT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetVerifiedAccessEndpointId() const { return m_verifiedAccessEndpointId; }
91 inline bool VerifiedAccessEndpointIdHasBeenSet() const { return m_verifiedAccessEndpointIdHasBeenSet; }
92 template <typename VerifiedAccessEndpointIdT = Aws::String>
93 void SetVerifiedAccessEndpointId(VerifiedAccessEndpointIdT&& value) {
94 m_verifiedAccessEndpointIdHasBeenSet = true;
95 m_verifiedAccessEndpointId = std::forward<VerifiedAccessEndpointIdT>(value);
96 }
97 template <typename VerifiedAccessEndpointIdT = Aws::String>
98 VerifiedAccessEndpoint& WithVerifiedAccessEndpointId(VerifiedAccessEndpointIdT&& value) {
99 SetVerifiedAccessEndpointId(std::forward<VerifiedAccessEndpointIdT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetApplicationDomain() const { return m_applicationDomain; }
109 inline bool ApplicationDomainHasBeenSet() const { return m_applicationDomainHasBeenSet; }
110 template <typename ApplicationDomainT = Aws::String>
111 void SetApplicationDomain(ApplicationDomainT&& value) {
112 m_applicationDomainHasBeenSet = true;
113 m_applicationDomain = std::forward<ApplicationDomainT>(value);
114 }
115 template <typename ApplicationDomainT = Aws::String>
116 VerifiedAccessEndpoint& WithApplicationDomain(ApplicationDomainT&& value) {
117 SetApplicationDomain(std::forward<ApplicationDomainT>(value));
118 return *this;
119 }
121
123
128 inline VerifiedAccessEndpointType GetEndpointType() const { return m_endpointType; }
129 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
131 m_endpointTypeHasBeenSet = true;
132 m_endpointType = value;
133 }
135 SetEndpointType(value);
136 return *this;
137 }
139
141
145 inline VerifiedAccessEndpointAttachmentType GetAttachmentType() const { return m_attachmentType; }
146 inline bool AttachmentTypeHasBeenSet() const { return m_attachmentTypeHasBeenSet; }
148 m_attachmentTypeHasBeenSet = true;
149 m_attachmentType = value;
150 }
152 SetAttachmentType(value);
153 return *this;
154 }
156
158
162 inline const Aws::String& GetDomainCertificateArn() const { return m_domainCertificateArn; }
163 inline bool DomainCertificateArnHasBeenSet() const { return m_domainCertificateArnHasBeenSet; }
164 template <typename DomainCertificateArnT = Aws::String>
165 void SetDomainCertificateArn(DomainCertificateArnT&& value) {
166 m_domainCertificateArnHasBeenSet = true;
167 m_domainCertificateArn = std::forward<DomainCertificateArnT>(value);
168 }
169 template <typename DomainCertificateArnT = Aws::String>
170 VerifiedAccessEndpoint& WithDomainCertificateArn(DomainCertificateArnT&& value) {
171 SetDomainCertificateArn(std::forward<DomainCertificateArnT>(value));
172 return *this;
173 }
175
177
180 inline const Aws::String& GetEndpointDomain() const { return m_endpointDomain; }
181 inline bool EndpointDomainHasBeenSet() const { return m_endpointDomainHasBeenSet; }
182 template <typename EndpointDomainT = Aws::String>
183 void SetEndpointDomain(EndpointDomainT&& value) {
184 m_endpointDomainHasBeenSet = true;
185 m_endpointDomain = std::forward<EndpointDomainT>(value);
186 }
187 template <typename EndpointDomainT = Aws::String>
188 VerifiedAccessEndpoint& WithEndpointDomain(EndpointDomainT&& value) {
189 SetEndpointDomain(std::forward<EndpointDomainT>(value));
190 return *this;
191 }
193
195
198 inline const Aws::String& GetDeviceValidationDomain() const { return m_deviceValidationDomain; }
199 inline bool DeviceValidationDomainHasBeenSet() const { return m_deviceValidationDomainHasBeenSet; }
200 template <typename DeviceValidationDomainT = Aws::String>
201 void SetDeviceValidationDomain(DeviceValidationDomainT&& value) {
202 m_deviceValidationDomainHasBeenSet = true;
203 m_deviceValidationDomain = std::forward<DeviceValidationDomainT>(value);
204 }
205 template <typename DeviceValidationDomainT = Aws::String>
206 VerifiedAccessEndpoint& WithDeviceValidationDomain(DeviceValidationDomainT&& value) {
207 SetDeviceValidationDomain(std::forward<DeviceValidationDomainT>(value));
208 return *this;
209 }
211
213
216 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
217 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
218 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
219 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
220 m_securityGroupIdsHasBeenSet = true;
221 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
222 }
223 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
224 VerifiedAccessEndpoint& WithSecurityGroupIds(SecurityGroupIdsT&& value) {
225 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
226 return *this;
227 }
228 template <typename SecurityGroupIdsT = Aws::String>
229 VerifiedAccessEndpoint& AddSecurityGroupIds(SecurityGroupIdsT&& value) {
230 m_securityGroupIdsHasBeenSet = true;
231 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
232 return *this;
233 }
235
237
241 inline const VerifiedAccessEndpointLoadBalancerOptions& GetLoadBalancerOptions() const { return m_loadBalancerOptions; }
242 inline bool LoadBalancerOptionsHasBeenSet() const { return m_loadBalancerOptionsHasBeenSet; }
243 template <typename LoadBalancerOptionsT = VerifiedAccessEndpointLoadBalancerOptions>
244 void SetLoadBalancerOptions(LoadBalancerOptionsT&& value) {
245 m_loadBalancerOptionsHasBeenSet = true;
246 m_loadBalancerOptions = std::forward<LoadBalancerOptionsT>(value);
247 }
248 template <typename LoadBalancerOptionsT = VerifiedAccessEndpointLoadBalancerOptions>
249 VerifiedAccessEndpoint& WithLoadBalancerOptions(LoadBalancerOptionsT&& value) {
250 SetLoadBalancerOptions(std::forward<LoadBalancerOptionsT>(value));
251 return *this;
252 }
254
256
259 inline const VerifiedAccessEndpointEniOptions& GetNetworkInterfaceOptions() const { return m_networkInterfaceOptions; }
260 inline bool NetworkInterfaceOptionsHasBeenSet() const { return m_networkInterfaceOptionsHasBeenSet; }
261 template <typename NetworkInterfaceOptionsT = VerifiedAccessEndpointEniOptions>
262 void SetNetworkInterfaceOptions(NetworkInterfaceOptionsT&& value) {
263 m_networkInterfaceOptionsHasBeenSet = true;
264 m_networkInterfaceOptions = std::forward<NetworkInterfaceOptionsT>(value);
265 }
266 template <typename NetworkInterfaceOptionsT = VerifiedAccessEndpointEniOptions>
267 VerifiedAccessEndpoint& WithNetworkInterfaceOptions(NetworkInterfaceOptionsT&& value) {
268 SetNetworkInterfaceOptions(std::forward<NetworkInterfaceOptionsT>(value));
269 return *this;
270 }
272
274
277 inline const VerifiedAccessEndpointStatus& GetStatus() const { return m_status; }
278 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
279 template <typename StatusT = VerifiedAccessEndpointStatus>
280 void SetStatus(StatusT&& value) {
281 m_statusHasBeenSet = true;
282 m_status = std::forward<StatusT>(value);
283 }
284 template <typename StatusT = VerifiedAccessEndpointStatus>
286 SetStatus(std::forward<StatusT>(value));
287 return *this;
288 }
290
292
295 inline const Aws::String& GetDescription() const { return m_description; }
296 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
297 template <typename DescriptionT = Aws::String>
298 void SetDescription(DescriptionT&& value) {
299 m_descriptionHasBeenSet = true;
300 m_description = std::forward<DescriptionT>(value);
301 }
302 template <typename DescriptionT = Aws::String>
304 SetDescription(std::forward<DescriptionT>(value));
305 return *this;
306 }
308
310
313 inline const Aws::String& GetCreationTime() const { return m_creationTime; }
314 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
315 template <typename CreationTimeT = Aws::String>
316 void SetCreationTime(CreationTimeT&& value) {
317 m_creationTimeHasBeenSet = true;
318 m_creationTime = std::forward<CreationTimeT>(value);
319 }
320 template <typename CreationTimeT = Aws::String>
321 VerifiedAccessEndpoint& WithCreationTime(CreationTimeT&& value) {
322 SetCreationTime(std::forward<CreationTimeT>(value));
323 return *this;
324 }
326
328
331 inline const Aws::String& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
332 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
333 template <typename LastUpdatedTimeT = Aws::String>
334 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
335 m_lastUpdatedTimeHasBeenSet = true;
336 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
337 }
338 template <typename LastUpdatedTimeT = Aws::String>
339 VerifiedAccessEndpoint& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
340 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
341 return *this;
342 }
344
346
349 inline const Aws::String& GetDeletionTime() const { return m_deletionTime; }
350 inline bool DeletionTimeHasBeenSet() const { return m_deletionTimeHasBeenSet; }
351 template <typename DeletionTimeT = Aws::String>
352 void SetDeletionTime(DeletionTimeT&& value) {
353 m_deletionTimeHasBeenSet = true;
354 m_deletionTime = std::forward<DeletionTimeT>(value);
355 }
356 template <typename DeletionTimeT = Aws::String>
357 VerifiedAccessEndpoint& WithDeletionTime(DeletionTimeT&& value) {
358 SetDeletionTime(std::forward<DeletionTimeT>(value));
359 return *this;
360 }
362
364
367 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
368 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
369 template <typename TagsT = Aws::Vector<Tag>>
370 void SetTags(TagsT&& value) {
371 m_tagsHasBeenSet = true;
372 m_tags = std::forward<TagsT>(value);
373 }
374 template <typename TagsT = Aws::Vector<Tag>>
376 SetTags(std::forward<TagsT>(value));
377 return *this;
378 }
379 template <typename TagsT = Tag>
381 m_tagsHasBeenSet = true;
382 m_tags.emplace_back(std::forward<TagsT>(value));
383 return *this;
384 }
386
388
391 inline const VerifiedAccessSseSpecificationResponse& GetSseSpecification() const { return m_sseSpecification; }
392 inline bool SseSpecificationHasBeenSet() const { return m_sseSpecificationHasBeenSet; }
393 template <typename SseSpecificationT = VerifiedAccessSseSpecificationResponse>
394 void SetSseSpecification(SseSpecificationT&& value) {
395 m_sseSpecificationHasBeenSet = true;
396 m_sseSpecification = std::forward<SseSpecificationT>(value);
397 }
398 template <typename SseSpecificationT = VerifiedAccessSseSpecificationResponse>
399 VerifiedAccessEndpoint& WithSseSpecification(SseSpecificationT&& value) {
400 SetSseSpecification(std::forward<SseSpecificationT>(value));
401 return *this;
402 }
404
406
409 inline const VerifiedAccessEndpointRdsOptions& GetRdsOptions() const { return m_rdsOptions; }
410 inline bool RdsOptionsHasBeenSet() const { return m_rdsOptionsHasBeenSet; }
411 template <typename RdsOptionsT = VerifiedAccessEndpointRdsOptions>
412 void SetRdsOptions(RdsOptionsT&& value) {
413 m_rdsOptionsHasBeenSet = true;
414 m_rdsOptions = std::forward<RdsOptionsT>(value);
415 }
416 template <typename RdsOptionsT = VerifiedAccessEndpointRdsOptions>
418 SetRdsOptions(std::forward<RdsOptionsT>(value));
419 return *this;
420 }
422
424
427 inline const VerifiedAccessEndpointCidrOptions& GetCidrOptions() const { return m_cidrOptions; }
428 inline bool CidrOptionsHasBeenSet() const { return m_cidrOptionsHasBeenSet; }
429 template <typename CidrOptionsT = VerifiedAccessEndpointCidrOptions>
430 void SetCidrOptions(CidrOptionsT&& value) {
431 m_cidrOptionsHasBeenSet = true;
432 m_cidrOptions = std::forward<CidrOptionsT>(value);
433 }
434 template <typename CidrOptionsT = VerifiedAccessEndpointCidrOptions>
436 SetCidrOptions(std::forward<CidrOptionsT>(value));
437 return *this;
438 }
440 private:
441 Aws::String m_verifiedAccessInstanceId;
442
443 Aws::String m_verifiedAccessGroupId;
444
445 Aws::String m_verifiedAccessEndpointId;
446
447 Aws::String m_applicationDomain;
448
450
452
453 Aws::String m_domainCertificateArn;
454
455 Aws::String m_endpointDomain;
456
457 Aws::String m_deviceValidationDomain;
458
459 Aws::Vector<Aws::String> m_securityGroupIds;
460
461 VerifiedAccessEndpointLoadBalancerOptions m_loadBalancerOptions;
462
463 VerifiedAccessEndpointEniOptions m_networkInterfaceOptions;
464
465 VerifiedAccessEndpointStatus m_status;
466
467 Aws::String m_description;
468
469 Aws::String m_creationTime;
470
471 Aws::String m_lastUpdatedTime;
472
473 Aws::String m_deletionTime;
474
475 Aws::Vector<Tag> m_tags;
476
477 VerifiedAccessSseSpecificationResponse m_sseSpecification;
478
479 VerifiedAccessEndpointRdsOptions m_rdsOptions;
480
481 VerifiedAccessEndpointCidrOptions m_cidrOptions;
482 bool m_verifiedAccessInstanceIdHasBeenSet = false;
483 bool m_verifiedAccessGroupIdHasBeenSet = false;
484 bool m_verifiedAccessEndpointIdHasBeenSet = false;
485 bool m_applicationDomainHasBeenSet = false;
486 bool m_endpointTypeHasBeenSet = false;
487 bool m_attachmentTypeHasBeenSet = false;
488 bool m_domainCertificateArnHasBeenSet = false;
489 bool m_endpointDomainHasBeenSet = false;
490 bool m_deviceValidationDomainHasBeenSet = false;
491 bool m_securityGroupIdsHasBeenSet = false;
492 bool m_loadBalancerOptionsHasBeenSet = false;
493 bool m_networkInterfaceOptionsHasBeenSet = false;
494 bool m_statusHasBeenSet = false;
495 bool m_descriptionHasBeenSet = false;
496 bool m_creationTimeHasBeenSet = false;
497 bool m_lastUpdatedTimeHasBeenSet = false;
498 bool m_deletionTimeHasBeenSet = false;
499 bool m_tagsHasBeenSet = false;
500 bool m_sseSpecificationHasBeenSet = false;
501 bool m_rdsOptionsHasBeenSet = false;
502 bool m_cidrOptionsHasBeenSet = false;
503};
504
505} // namespace Model
506} // namespace EC2
507} // namespace Aws
VerifiedAccessEndpoint & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetVerifiedAccessEndpointId() const
VerifiedAccessEndpoint & WithVerifiedAccessGroupId(VerifiedAccessGroupIdT &&value)
VerifiedAccessEndpoint & WithNetworkInterfaceOptions(NetworkInterfaceOptionsT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_EC2_API VerifiedAccessEndpoint()=default
VerifiedAccessEndpoint & WithCidrOptions(CidrOptionsT &&value)
void SetApplicationDomain(ApplicationDomainT &&value)
void SetSseSpecification(SseSpecificationT &&value)
VerifiedAccessEndpoint & WithSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Vector< Tag > & GetTags() const
VerifiedAccessEndpoint & AddSecurityGroupIds(SecurityGroupIdsT &&value)
void SetLoadBalancerOptions(LoadBalancerOptionsT &&value)
void SetEndpointDomain(EndpointDomainT &&value)
VerifiedAccessEndpoint & WithDeletionTime(DeletionTimeT &&value)
VerifiedAccessEndpoint & WithStatus(StatusT &&value)
const VerifiedAccessEndpointLoadBalancerOptions & GetLoadBalancerOptions() const
VerifiedAccessEndpoint & WithSseSpecification(SseSpecificationT &&value)
const Aws::String & GetVerifiedAccessGroupId() const
const VerifiedAccessEndpointCidrOptions & GetCidrOptions() const
const VerifiedAccessEndpointStatus & GetStatus() const
AWS_EC2_API VerifiedAccessEndpoint(const Aws::Utils::Xml::XmlNode &xmlNode)
VerifiedAccessEndpoint & WithLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::String & GetDeviceValidationDomain() const
const Aws::String & GetDomainCertificateArn() const
void SetVerifiedAccessEndpointId(VerifiedAccessEndpointIdT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetAttachmentType(VerifiedAccessEndpointAttachmentType value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VerifiedAccessEndpointAttachmentType GetAttachmentType() const
VerifiedAccessEndpoint & WithEndpointDomain(EndpointDomainT &&value)
VerifiedAccessEndpoint & WithAttachmentType(VerifiedAccessEndpointAttachmentType value)
VerifiedAccessEndpoint & AddTags(TagsT &&value)
VerifiedAccessEndpointType GetEndpointType() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
VerifiedAccessEndpoint & WithDomainCertificateArn(DomainCertificateArnT &&value)
VerifiedAccessEndpoint & WithDeviceValidationDomain(DeviceValidationDomainT &&value)
void SetVerifiedAccessInstanceId(VerifiedAccessInstanceIdT &&value)
VerifiedAccessEndpoint & WithApplicationDomain(ApplicationDomainT &&value)
const VerifiedAccessEndpointEniOptions & GetNetworkInterfaceOptions() const
void SetDeviceValidationDomain(DeviceValidationDomainT &&value)
VerifiedAccessEndpoint & WithRdsOptions(RdsOptionsT &&value)
VerifiedAccessEndpoint & WithVerifiedAccessInstanceId(VerifiedAccessInstanceIdT &&value)
void SetVerifiedAccessGroupId(VerifiedAccessGroupIdT &&value)
void SetNetworkInterfaceOptions(NetworkInterfaceOptionsT &&value)
void SetDomainCertificateArn(DomainCertificateArnT &&value)
const Aws::String & GetVerifiedAccessInstanceId() const
VerifiedAccessEndpoint & WithVerifiedAccessEndpointId(VerifiedAccessEndpointIdT &&value)
VerifiedAccessEndpoint & WithLoadBalancerOptions(LoadBalancerOptionsT &&value)
void SetEndpointType(VerifiedAccessEndpointType value)
const VerifiedAccessEndpointRdsOptions & GetRdsOptions() const
VerifiedAccessEndpoint & WithTags(TagsT &&value)
AWS_EC2_API VerifiedAccessEndpoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
VerifiedAccessEndpoint & WithDescription(DescriptionT &&value)
const VerifiedAccessSseSpecificationResponse & GetSseSpecification() const
VerifiedAccessEndpoint & WithEndpointType(VerifiedAccessEndpointType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream