AWS SDK for C++  1.9.75
AWS SDK for C++
Host.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
19 #include <aws/ec2/model/Tag.h>
20 #include <utility>
21 
22 namespace Aws
23 {
24 namespace Utils
25 {
26 namespace Xml
27 {
28  class XmlNode;
29 } // namespace Xml
30 } // namespace Utils
31 namespace EC2
32 {
33 namespace Model
34 {
35 
42  {
43  public:
44  Host();
45  Host(const Aws::Utils::Xml::XmlNode& xmlNode);
47 
48  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
49  void OutputToStream(Aws::OStream& oStream, const char* location) const;
50 
51 
55  inline const AutoPlacement& GetAutoPlacement() const{ return m_autoPlacement; }
56 
60  inline bool AutoPlacementHasBeenSet() const { return m_autoPlacementHasBeenSet; }
61 
65  inline void SetAutoPlacement(const AutoPlacement& value) { m_autoPlacementHasBeenSet = true; m_autoPlacement = value; }
66 
70  inline void SetAutoPlacement(AutoPlacement&& value) { m_autoPlacementHasBeenSet = true; m_autoPlacement = std::move(value); }
71 
75  inline Host& WithAutoPlacement(const AutoPlacement& value) { SetAutoPlacement(value); return *this;}
76 
80  inline Host& WithAutoPlacement(AutoPlacement&& value) { SetAutoPlacement(std::move(value)); return *this;}
81 
82 
86  inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
87 
91  inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
92 
96  inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
97 
101  inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
102 
106  inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
107 
111  inline Host& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
112 
116  inline Host& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
117 
121  inline Host& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
122 
123 
127  inline const AvailableCapacity& GetAvailableCapacity() const{ return m_availableCapacity; }
128 
132  inline bool AvailableCapacityHasBeenSet() const { return m_availableCapacityHasBeenSet; }
133 
137  inline void SetAvailableCapacity(const AvailableCapacity& value) { m_availableCapacityHasBeenSet = true; m_availableCapacity = value; }
138 
142  inline void SetAvailableCapacity(AvailableCapacity&& value) { m_availableCapacityHasBeenSet = true; m_availableCapacity = std::move(value); }
143 
147  inline Host& WithAvailableCapacity(const AvailableCapacity& value) { SetAvailableCapacity(value); return *this;}
148 
152  inline Host& WithAvailableCapacity(AvailableCapacity&& value) { SetAvailableCapacity(std::move(value)); return *this;}
153 
154 
161  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
162 
169  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
170 
177  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
178 
185  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
186 
193  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
194 
201  inline Host& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
202 
209  inline Host& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
210 
217  inline Host& WithClientToken(const char* value) { SetClientToken(value); return *this;}
218 
219 
223  inline const Aws::String& GetHostId() const{ return m_hostId; }
224 
228  inline bool HostIdHasBeenSet() const { return m_hostIdHasBeenSet; }
229 
233  inline void SetHostId(const Aws::String& value) { m_hostIdHasBeenSet = true; m_hostId = value; }
234 
238  inline void SetHostId(Aws::String&& value) { m_hostIdHasBeenSet = true; m_hostId = std::move(value); }
239 
243  inline void SetHostId(const char* value) { m_hostIdHasBeenSet = true; m_hostId.assign(value); }
244 
248  inline Host& WithHostId(const Aws::String& value) { SetHostId(value); return *this;}
249 
253  inline Host& WithHostId(Aws::String&& value) { SetHostId(std::move(value)); return *this;}
254 
258  inline Host& WithHostId(const char* value) { SetHostId(value); return *this;}
259 
260 
264  inline const HostProperties& GetHostProperties() const{ return m_hostProperties; }
265 
269  inline bool HostPropertiesHasBeenSet() const { return m_hostPropertiesHasBeenSet; }
270 
274  inline void SetHostProperties(const HostProperties& value) { m_hostPropertiesHasBeenSet = true; m_hostProperties = value; }
275 
279  inline void SetHostProperties(HostProperties&& value) { m_hostPropertiesHasBeenSet = true; m_hostProperties = std::move(value); }
280 
284  inline Host& WithHostProperties(const HostProperties& value) { SetHostProperties(value); return *this;}
285 
289  inline Host& WithHostProperties(HostProperties&& value) { SetHostProperties(std::move(value)); return *this;}
290 
291 
296  inline const Aws::String& GetHostReservationId() const{ return m_hostReservationId; }
297 
302  inline bool HostReservationIdHasBeenSet() const { return m_hostReservationIdHasBeenSet; }
303 
308  inline void SetHostReservationId(const Aws::String& value) { m_hostReservationIdHasBeenSet = true; m_hostReservationId = value; }
309 
314  inline void SetHostReservationId(Aws::String&& value) { m_hostReservationIdHasBeenSet = true; m_hostReservationId = std::move(value); }
315 
320  inline void SetHostReservationId(const char* value) { m_hostReservationIdHasBeenSet = true; m_hostReservationId.assign(value); }
321 
326  inline Host& WithHostReservationId(const Aws::String& value) { SetHostReservationId(value); return *this;}
327 
332  inline Host& WithHostReservationId(Aws::String&& value) { SetHostReservationId(std::move(value)); return *this;}
333 
338  inline Host& WithHostReservationId(const char* value) { SetHostReservationId(value); return *this;}
339 
340 
345  inline const Aws::Vector<HostInstance>& GetInstances() const{ return m_instances; }
346 
351  inline bool InstancesHasBeenSet() const { return m_instancesHasBeenSet; }
352 
357  inline void SetInstances(const Aws::Vector<HostInstance>& value) { m_instancesHasBeenSet = true; m_instances = value; }
358 
363  inline void SetInstances(Aws::Vector<HostInstance>&& value) { m_instancesHasBeenSet = true; m_instances = std::move(value); }
364 
369  inline Host& WithInstances(const Aws::Vector<HostInstance>& value) { SetInstances(value); return *this;}
370 
375  inline Host& WithInstances(Aws::Vector<HostInstance>&& value) { SetInstances(std::move(value)); return *this;}
376 
381  inline Host& AddInstances(const HostInstance& value) { m_instancesHasBeenSet = true; m_instances.push_back(value); return *this; }
382 
387  inline Host& AddInstances(HostInstance&& value) { m_instancesHasBeenSet = true; m_instances.push_back(std::move(value)); return *this; }
388 
389 
393  inline const AllocationState& GetState() const{ return m_state; }
394 
398  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
399 
403  inline void SetState(const AllocationState& value) { m_stateHasBeenSet = true; m_state = value; }
404 
408  inline void SetState(AllocationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
409 
413  inline Host& WithState(const AllocationState& value) { SetState(value); return *this;}
414 
418  inline Host& WithState(AllocationState&& value) { SetState(std::move(value)); return *this;}
419 
420 
424  inline const Aws::Utils::DateTime& GetAllocationTime() const{ return m_allocationTime; }
425 
429  inline bool AllocationTimeHasBeenSet() const { return m_allocationTimeHasBeenSet; }
430 
434  inline void SetAllocationTime(const Aws::Utils::DateTime& value) { m_allocationTimeHasBeenSet = true; m_allocationTime = value; }
435 
439  inline void SetAllocationTime(Aws::Utils::DateTime&& value) { m_allocationTimeHasBeenSet = true; m_allocationTime = std::move(value); }
440 
444  inline Host& WithAllocationTime(const Aws::Utils::DateTime& value) { SetAllocationTime(value); return *this;}
445 
449  inline Host& WithAllocationTime(Aws::Utils::DateTime&& value) { SetAllocationTime(std::move(value)); return *this;}
450 
451 
455  inline const Aws::Utils::DateTime& GetReleaseTime() const{ return m_releaseTime; }
456 
460  inline bool ReleaseTimeHasBeenSet() const { return m_releaseTimeHasBeenSet; }
461 
465  inline void SetReleaseTime(const Aws::Utils::DateTime& value) { m_releaseTimeHasBeenSet = true; m_releaseTime = value; }
466 
470  inline void SetReleaseTime(Aws::Utils::DateTime&& value) { m_releaseTimeHasBeenSet = true; m_releaseTime = std::move(value); }
471 
475  inline Host& WithReleaseTime(const Aws::Utils::DateTime& value) { SetReleaseTime(value); return *this;}
476 
480  inline Host& WithReleaseTime(Aws::Utils::DateTime&& value) { SetReleaseTime(std::move(value)); return *this;}
481 
482 
486  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
487 
491  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
492 
496  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
497 
501  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
502 
506  inline Host& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
507 
511  inline Host& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
512 
516  inline Host& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
517 
521  inline Host& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
522 
523 
528  inline const HostRecovery& GetHostRecovery() const{ return m_hostRecovery; }
529 
534  inline bool HostRecoveryHasBeenSet() const { return m_hostRecoveryHasBeenSet; }
535 
540  inline void SetHostRecovery(const HostRecovery& value) { m_hostRecoveryHasBeenSet = true; m_hostRecovery = value; }
541 
546  inline void SetHostRecovery(HostRecovery&& value) { m_hostRecoveryHasBeenSet = true; m_hostRecovery = std::move(value); }
547 
552  inline Host& WithHostRecovery(const HostRecovery& value) { SetHostRecovery(value); return *this;}
553 
558  inline Host& WithHostRecovery(HostRecovery&& value) { SetHostRecovery(std::move(value)); return *this;}
559 
560 
567  inline const AllowsMultipleInstanceTypes& GetAllowsMultipleInstanceTypes() const{ return m_allowsMultipleInstanceTypes; }
568 
575  inline bool AllowsMultipleInstanceTypesHasBeenSet() const { return m_allowsMultipleInstanceTypesHasBeenSet; }
576 
583  inline void SetAllowsMultipleInstanceTypes(const AllowsMultipleInstanceTypes& value) { m_allowsMultipleInstanceTypesHasBeenSet = true; m_allowsMultipleInstanceTypes = value; }
584 
591  inline void SetAllowsMultipleInstanceTypes(AllowsMultipleInstanceTypes&& value) { m_allowsMultipleInstanceTypesHasBeenSet = true; m_allowsMultipleInstanceTypes = std::move(value); }
592 
599  inline Host& WithAllowsMultipleInstanceTypes(const AllowsMultipleInstanceTypes& value) { SetAllowsMultipleInstanceTypes(value); return *this;}
600 
607  inline Host& WithAllowsMultipleInstanceTypes(AllowsMultipleInstanceTypes&& value) { SetAllowsMultipleInstanceTypes(std::move(value)); return *this;}
608 
609 
613  inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
614 
618  inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
619 
623  inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
624 
628  inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
629 
633  inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
634 
638  inline Host& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
639 
643  inline Host& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
644 
648  inline Host& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
649 
650 
654  inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
655 
659  inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
660 
664  inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; }
665 
669  inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); }
670 
674  inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); }
675 
679  inline Host& WithAvailabilityZoneId(const Aws::String& value) { SetAvailabilityZoneId(value); return *this;}
680 
684  inline Host& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
685 
689  inline Host& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
690 
691 
697  inline bool GetMemberOfServiceLinkedResourceGroup() const{ return m_memberOfServiceLinkedResourceGroup; }
698 
704  inline bool MemberOfServiceLinkedResourceGroupHasBeenSet() const { return m_memberOfServiceLinkedResourceGroupHasBeenSet; }
705 
711  inline void SetMemberOfServiceLinkedResourceGroup(bool value) { m_memberOfServiceLinkedResourceGroupHasBeenSet = true; m_memberOfServiceLinkedResourceGroup = value; }
712 
718  inline Host& WithMemberOfServiceLinkedResourceGroup(bool value) { SetMemberOfServiceLinkedResourceGroup(value); return *this;}
719 
720  private:
721 
722  AutoPlacement m_autoPlacement;
723  bool m_autoPlacementHasBeenSet;
724 
725  Aws::String m_availabilityZone;
726  bool m_availabilityZoneHasBeenSet;
727 
728  AvailableCapacity m_availableCapacity;
729  bool m_availableCapacityHasBeenSet;
730 
731  Aws::String m_clientToken;
732  bool m_clientTokenHasBeenSet;
733 
734  Aws::String m_hostId;
735  bool m_hostIdHasBeenSet;
736 
737  HostProperties m_hostProperties;
738  bool m_hostPropertiesHasBeenSet;
739 
740  Aws::String m_hostReservationId;
741  bool m_hostReservationIdHasBeenSet;
742 
743  Aws::Vector<HostInstance> m_instances;
744  bool m_instancesHasBeenSet;
745 
746  AllocationState m_state;
747  bool m_stateHasBeenSet;
748 
749  Aws::Utils::DateTime m_allocationTime;
750  bool m_allocationTimeHasBeenSet;
751 
752  Aws::Utils::DateTime m_releaseTime;
753  bool m_releaseTimeHasBeenSet;
754 
755  Aws::Vector<Tag> m_tags;
756  bool m_tagsHasBeenSet;
757 
758  HostRecovery m_hostRecovery;
759  bool m_hostRecoveryHasBeenSet;
760 
761  AllowsMultipleInstanceTypes m_allowsMultipleInstanceTypes;
762  bool m_allowsMultipleInstanceTypesHasBeenSet;
763 
764  Aws::String m_ownerId;
765  bool m_ownerIdHasBeenSet;
766 
767  Aws::String m_availabilityZoneId;
768  bool m_availabilityZoneIdHasBeenSet;
769 
770  bool m_memberOfServiceLinkedResourceGroup;
771  bool m_memberOfServiceLinkedResourceGroupHasBeenSet;
772  };
773 
774 } // namespace Model
775 } // namespace EC2
776 } // namespace Aws
Aws::EC2::Model::Host::AddTags
Host & AddTags(Tag &&value)
Definition: Host.h:521
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EC2::Model::Host::SetAutoPlacement
void SetAutoPlacement(AutoPlacement &&value)
Definition: Host.h:70
Aws::EC2::Model::Host::WithAutoPlacement
Host & WithAutoPlacement(AutoPlacement &&value)
Definition: Host.h:80
Aws::EC2::Model::Host::AddTags
Host & AddTags(const Tag &value)
Definition: Host.h:516
Aws::EC2::Model::Host::HostRecoveryHasBeenSet
bool HostRecoveryHasBeenSet() const
Definition: Host.h:534
Aws::EC2::Model::AllowsMultipleInstanceTypes
AllowsMultipleInstanceTypes
Definition: AllowsMultipleInstanceTypes.h:17
Aws::EC2::Model::Host::SetHostProperties
void SetHostProperties(HostProperties &&value)
Definition: Host.h:279
Aws::EC2::Model::Host::WithAvailabilityZone
Host & WithAvailabilityZone(const Aws::String &value)
Definition: Host.h:111
Aws::EC2::Model::Host::WithAllowsMultipleInstanceTypes
Host & WithAllowsMultipleInstanceTypes(const AllowsMultipleInstanceTypes &value)
Definition: Host.h:599
Aws::EC2::Model::Host::HostReservationIdHasBeenSet
bool HostReservationIdHasBeenSet() const
Definition: Host.h:302
Aws::EC2::Model::Host::MemberOfServiceLinkedResourceGroupHasBeenSet
bool MemberOfServiceLinkedResourceGroupHasBeenSet() const
Definition: Host.h:704
Aws::EC2::Model::Host::GetHostRecovery
const HostRecovery & GetHostRecovery() const
Definition: Host.h:528
Aws::EC2::Model::Host::WithTags
Host & WithTags(Aws::Vector< Tag > &&value)
Definition: Host.h:511
Aws::EC2::Model::Host::WithHostReservationId
Host & WithHostReservationId(const Aws::String &value)
Definition: Host.h:326
Aws::EC2::Model::Host::SetAvailabilityZone
void SetAvailabilityZone(Aws::String &&value)
Definition: Host.h:101
Aws::EC2::Model::Tag
Definition: Tag.h:32
Aws::EC2::Model::Host::WithOwnerId
Host & WithOwnerId(const Aws::String &value)
Definition: Host.h:638
Aws::EC2::Model::Host::OwnerIdHasBeenSet
bool OwnerIdHasBeenSet() const
Definition: Host.h:618
Aws::EC2::Model::Host::HostIdHasBeenSet
bool HostIdHasBeenSet() const
Definition: Host.h:228
Aws::EC2::Model::Host::AllowsMultipleInstanceTypesHasBeenSet
bool AllowsMultipleInstanceTypesHasBeenSet() const
Definition: Host.h:575
Aws::EC2::Model::Host::HostPropertiesHasBeenSet
bool HostPropertiesHasBeenSet() const
Definition: Host.h:269
Aws::EC2::Model::Host::WithReleaseTime
Host & WithReleaseTime(const Aws::Utils::DateTime &value)
Definition: Host.h:475
Aws::EC2::Model::Host::GetAutoPlacement
const AutoPlacement & GetAutoPlacement() const
Definition: Host.h:55
DateTime.h
Aws::EC2::Model::Host::SetMemberOfServiceLinkedResourceGroup
void SetMemberOfServiceLinkedResourceGroup(bool value)
Definition: Host.h:711
Aws::EC2::Model::Host::WithState
Host & WithState(AllocationState &&value)
Definition: Host.h:418
Aws::EC2::Model::Host::WithHostId
Host & WithHostId(Aws::String &&value)
Definition: Host.h:253
Aws::EC2::Model::Host::WithOwnerId
Host & WithOwnerId(const char *value)
Definition: Host.h:648
HostInstance.h
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::Host::SetHostRecovery
void SetHostRecovery(HostRecovery &&value)
Definition: Host.h:546
Aws::EC2::Model::Host::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: Host.h:185
Aws::EC2::Model::Host::WithState
Host & WithState(const AllocationState &value)
Definition: Host.h:413
Aws::EC2::Model::Host::SetClientToken
void SetClientToken(const char *value)
Definition: Host.h:193
Aws::EC2::Model::Host::AvailabilityZoneIdHasBeenSet
bool AvailabilityZoneIdHasBeenSet() const
Definition: Host.h:659
Aws::EC2::Model::Host::SetAllowsMultipleInstanceTypes
void SetAllowsMultipleInstanceTypes(AllowsMultipleInstanceTypes &&value)
Definition: Host.h:591
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::Host::WithReleaseTime
Host & WithReleaseTime(Aws::Utils::DateTime &&value)
Definition: Host.h:480
Aws::EC2::Model::Host::StateHasBeenSet
bool StateHasBeenSet() const
Definition: Host.h:398
Aws::EC2::Model::Host::SetAllocationTime
void SetAllocationTime(Aws::Utils::DateTime &&value)
Definition: Host.h:439
Aws::EC2::Model::Host::Host
Host()
Aws::EC2::Model::Host::InstancesHasBeenSet
bool InstancesHasBeenSet() const
Definition: Host.h:351
HostRecovery.h
AWSStreamFwd.h
Aws::EC2::Model::Host::operator=
Host & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::Host::SetHostId
void SetHostId(const char *value)
Definition: Host.h:243
Aws::EC2::Model::Host::WithAvailableCapacity
Host & WithAvailableCapacity(const AvailableCapacity &value)
Definition: Host.h:147
Aws::EC2::Model::Host::GetHostReservationId
const Aws::String & GetHostReservationId() const
Definition: Host.h:296
Aws::EC2::Model::Host::WithHostId
Host & WithHostId(const char *value)
Definition: Host.h:258
Aws::EC2::Model::Host::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWSVector.h
Tag.h
Aws::EC2::Model::HostRecovery
HostRecovery
Definition: HostRecovery.h:17
Aws::EC2::Model::Host::WithHostReservationId
Host & WithHostReservationId(const char *value)
Definition: Host.h:338
Aws::EC2::Model::Host::WithHostProperties
Host & WithHostProperties(HostProperties &&value)
Definition: Host.h:289
Aws::EC2::Model::Host::SetAutoPlacement
void SetAutoPlacement(const AutoPlacement &value)
Definition: Host.h:65
Aws::EC2::Model::Host::GetAvailableCapacity
const AvailableCapacity & GetAvailableCapacity() const
Definition: Host.h:127
Aws::EC2::Model::Host::WithHostProperties
Host & WithHostProperties(const HostProperties &value)
Definition: Host.h:284
Aws::EC2::Model::Host::GetAllocationTime
const Aws::Utils::DateTime & GetAllocationTime() const
Definition: Host.h:424
Aws::EC2::Model::AllocationState
AllocationState
Definition: AllocationState.h:17
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::Host::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: Host.h:486
Aws::EC2::Model::Host::SetOwnerId
void SetOwnerId(Aws::String &&value)
Definition: Host.h:628
Aws::EC2::Model::Host::SetHostId
void SetHostId(const Aws::String &value)
Definition: Host.h:233
Aws::EC2::Model::Host::SetOwnerId
void SetOwnerId(const char *value)
Definition: Host.h:633
Aws::EC2::Model::Host::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::Host::WithInstances
Host & WithInstances(const Aws::Vector< HostInstance > &value)
Definition: Host.h:369
Aws::EC2::Model::AutoPlacement
AutoPlacement
Definition: AutoPlacement.h:17
Aws::EC2::Model::Host::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: Host.h:491
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::Host::WithAvailableCapacity
Host & WithAvailableCapacity(AvailableCapacity &&value)
Definition: Host.h:152
Aws::EC2::Model::HostInstance
Definition: HostInstance.h:32
Aws::EC2::Model::Host::SetAvailabilityZoneId
void SetAvailabilityZoneId(Aws::String &&value)
Definition: Host.h:669
Aws::EC2::Model::Host::GetInstances
const Aws::Vector< HostInstance > & GetInstances() const
Definition: Host.h:345
Aws::EC2::Model::Host::SetHostId
void SetHostId(Aws::String &&value)
Definition: Host.h:238
Aws::EC2::Model::Host::WithClientToken
Host & WithClientToken(Aws::String &&value)
Definition: Host.h:209
Aws::EC2::Model::Host::WithAllocationTime
Host & WithAllocationTime(const Aws::Utils::DateTime &value)
Definition: Host.h:444
Aws::EC2::Model::Host::AddInstances
Host & AddInstances(const HostInstance &value)
Definition: Host.h:381
Aws::EC2::Model::Host::WithAvailabilityZone
Host & WithAvailabilityZone(Aws::String &&value)
Definition: Host.h:116
Aws::EC2::Model::Host::GetHostProperties
const HostProperties & GetHostProperties() const
Definition: Host.h:264
Aws::EC2::Model::Host::SetHostProperties
void SetHostProperties(const HostProperties &value)
Definition: Host.h:274
Aws::EC2::Model::Host::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: Host.h:169
Aws::EC2::Model::Host::SetOwnerId
void SetOwnerId(const Aws::String &value)
Definition: Host.h:623
Aws::EC2::Model::Host::AddInstances
Host & AddInstances(HostInstance &&value)
Definition: Host.h:387
AWSString.h
Aws::EC2::Model::Host::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: Host.h:501
AutoPlacement.h
Aws::EC2::Model::Host::AvailabilityZoneHasBeenSet
bool AvailabilityZoneHasBeenSet() const
Definition: Host.h:91
Aws::EC2::Model::Host::WithClientToken
Host & WithClientToken(const char *value)
Definition: Host.h:217
Aws::EC2::Model::Host::GetReleaseTime
const Aws::Utils::DateTime & GetReleaseTime() const
Definition: Host.h:455
Aws::EC2::Model::Host::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: Host.h:177
AllocationState.h
Aws::EC2::Model::Host::SetInstances
void SetInstances(Aws::Vector< HostInstance > &&value)
Definition: Host.h:363
Aws::EC2::Model::Host::WithHostReservationId
Host & WithHostReservationId(Aws::String &&value)
Definition: Host.h:332
Aws::EC2::Model::Host
Definition: Host.h:42
HostProperties.h
Aws::EC2::Model::Host::AutoPlacementHasBeenSet
bool AutoPlacementHasBeenSet() const
Definition: Host.h:60
Aws::EC2::Model::Host::SetHostReservationId
void SetHostReservationId(const Aws::String &value)
Definition: Host.h:308
Aws::EC2::Model::Host::Host
Host(const Aws::Utils::Xml::XmlNode &xmlNode)
AvailableCapacity.h
Aws::EC2::Model::Host::SetAvailabilityZoneId
void SetAvailabilityZoneId(const char *value)
Definition: Host.h:674
Aws::EC2::Model::Host::WithAllocationTime
Host & WithAllocationTime(Aws::Utils::DateTime &&value)
Definition: Host.h:449
Aws::EC2::Model::Host::SetAvailableCapacity
void SetAvailableCapacity(const AvailableCapacity &value)
Definition: Host.h:137
Aws::EC2::Model::Host::WithHostRecovery
Host & WithHostRecovery(const HostRecovery &value)
Definition: Host.h:552
Aws::EC2::Model::Host::SetAvailableCapacity
void SetAvailableCapacity(AvailableCapacity &&value)
Definition: Host.h:142
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::Host::SetAvailabilityZoneId
void SetAvailabilityZoneId(const Aws::String &value)
Definition: Host.h:664
Aws::EC2::Model::Host::WithAllowsMultipleInstanceTypes
Host & WithAllowsMultipleInstanceTypes(AllowsMultipleInstanceTypes &&value)
Definition: Host.h:607
Aws::EC2::Model::Host::WithTags
Host & WithTags(const Aws::Vector< Tag > &value)
Definition: Host.h:506
Aws::EC2::Model::Host::SetInstances
void SetInstances(const Aws::Vector< HostInstance > &value)
Definition: Host.h:357
Aws::EC2::Model::Host::GetState
const AllocationState & GetState() const
Definition: Host.h:393
Aws::EC2::Model::Host::SetAvailabilityZone
void SetAvailabilityZone(const char *value)
Definition: Host.h:106
Aws::EC2::Model::Host::WithAvailabilityZone
Host & WithAvailabilityZone(const char *value)
Definition: Host.h:121
Aws::EC2::Model::Host::WithAvailabilityZoneId
Host & WithAvailabilityZoneId(const char *value)
Definition: Host.h:689
Aws::EC2::Model::Host::GetAvailabilityZoneId
const Aws::String & GetAvailabilityZoneId() const
Definition: Host.h:654
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::Host::GetOwnerId
const Aws::String & GetOwnerId() const
Definition: Host.h:613
Aws::EC2::Model::Host::SetState
void SetState(const AllocationState &value)
Definition: Host.h:403
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::Host::WithHostId
Host & WithHostId(const Aws::String &value)
Definition: Host.h:248
Aws::EC2::Model::Host::GetAllowsMultipleInstanceTypes
const AllowsMultipleInstanceTypes & GetAllowsMultipleInstanceTypes() const
Definition: Host.h:567
Aws::EC2::Model::Host::SetAvailabilityZone
void SetAvailabilityZone(const Aws::String &value)
Definition: Host.h:96
Aws::EC2::Model::Host::WithAutoPlacement
Host & WithAutoPlacement(const AutoPlacement &value)
Definition: Host.h:75
Aws::EC2::Model::Host::SetReleaseTime
void SetReleaseTime(const Aws::Utils::DateTime &value)
Definition: Host.h:465
Aws::EC2::Model::Host::SetHostReservationId
void SetHostReservationId(const char *value)
Definition: Host.h:320
Aws::EC2::Model::Host::SetHostReservationId
void SetHostReservationId(Aws::String &&value)
Definition: Host.h:314
Aws::EC2::Model::Host::WithClientToken
Host & WithClientToken(const Aws::String &value)
Definition: Host.h:201
Aws::EC2::Model::HostProperties
Definition: HostProperties.h:32
Aws::EC2::Model::Host::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: Host.h:496
Aws::EC2::Model::Host::SetHostRecovery
void SetHostRecovery(const HostRecovery &value)
Definition: Host.h:540
Aws::EC2::Model::Host::WithHostRecovery
Host & WithHostRecovery(HostRecovery &&value)
Definition: Host.h:558
Aws::EC2::Model::Host::WithMemberOfServiceLinkedResourceGroup
Host & WithMemberOfServiceLinkedResourceGroup(bool value)
Definition: Host.h:718
Aws::EC2::Model::Host::SetReleaseTime
void SetReleaseTime(Aws::Utils::DateTime &&value)
Definition: Host.h:470
Aws::EC2::Model::Host::WithOwnerId
Host & WithOwnerId(Aws::String &&value)
Definition: Host.h:643
EC2_EXPORTS.h
Aws::EC2::Model::Host::ReleaseTimeHasBeenSet
bool ReleaseTimeHasBeenSet() const
Definition: Host.h:460
AllowsMultipleInstanceTypes.h
Aws::EC2::Model::Host::GetClientToken
const Aws::String & GetClientToken() const
Definition: Host.h:161
Aws::EC2::Model::Host::AvailableCapacityHasBeenSet
bool AvailableCapacityHasBeenSet() const
Definition: Host.h:132
Aws::EC2::Model::Host::GetAvailabilityZone
const Aws::String & GetAvailabilityZone() const
Definition: Host.h:86
Aws::EC2::Model::Host::SetAllocationTime
void SetAllocationTime(const Aws::Utils::DateTime &value)
Definition: Host.h:434
Aws::EC2::Model::AvailableCapacity
Definition: AvailableCapacity.h:34
Aws::EC2::Model::Host::AllocationTimeHasBeenSet
bool AllocationTimeHasBeenSet() const
Definition: Host.h:429
Aws::EC2::Model::Host::SetAllowsMultipleInstanceTypes
void SetAllowsMultipleInstanceTypes(const AllowsMultipleInstanceTypes &value)
Definition: Host.h:583
Aws::EC2::Model::Host::WithInstances
Host & WithInstances(Aws::Vector< HostInstance > &&value)
Definition: Host.h:375
Aws::EC2::Model::Host::GetHostId
const Aws::String & GetHostId() const
Definition: Host.h:223
Aws::EC2::Model::Host::GetMemberOfServiceLinkedResourceGroup
bool GetMemberOfServiceLinkedResourceGroup() const
Definition: Host.h:697
Aws::EC2::Model::Host::WithAvailabilityZoneId
Host & WithAvailabilityZoneId(Aws::String &&value)
Definition: Host.h:684
Aws::EC2::Model::Host::SetState
void SetState(AllocationState &&value)
Definition: Host.h:408
Aws::EC2::Model::Host::WithAvailabilityZoneId
Host & WithAvailabilityZoneId(const Aws::String &value)
Definition: Host.h:679