AWS SDK for C++  1.9.66
AWS SDK for C++
FleetData.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
20 #include <aws/ec2/model/Tag.h>
23 #include <utility>
24 
25 namespace Aws
26 {
27 namespace Utils
28 {
29 namespace Xml
30 {
31  class XmlNode;
32 } // namespace Xml
33 } // namespace Utils
34 namespace EC2
35 {
36 namespace Model
37 {
38 
45  {
46  public:
50 
51  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
52  void OutputToStream(Aws::OStream& oStream, const char* location) const;
53 
54 
63  inline const FleetActivityStatus& GetActivityStatus() const{ return m_activityStatus; }
64 
73  inline bool ActivityStatusHasBeenSet() const { return m_activityStatusHasBeenSet; }
74 
83  inline void SetActivityStatus(const FleetActivityStatus& value) { m_activityStatusHasBeenSet = true; m_activityStatus = value; }
84 
93  inline void SetActivityStatus(FleetActivityStatus&& value) { m_activityStatusHasBeenSet = true; m_activityStatus = std::move(value); }
94 
103  inline FleetData& WithActivityStatus(const FleetActivityStatus& value) { SetActivityStatus(value); return *this;}
104 
113  inline FleetData& WithActivityStatus(FleetActivityStatus&& value) { SetActivityStatus(std::move(value)); return *this;}
114 
115 
119  inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
120 
124  inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
125 
129  inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
130 
134  inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
135 
139  inline FleetData& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
140 
144  inline FleetData& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
145 
146 
150  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
151 
155  inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
156 
160  inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
161 
165  inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
166 
170  inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
171 
175  inline FleetData& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
176 
180  inline FleetData& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
181 
185  inline FleetData& WithFleetId(const char* value) { SetFleetId(value); return *this;}
186 
187 
191  inline const FleetStateCode& GetFleetState() const{ return m_fleetState; }
192 
196  inline bool FleetStateHasBeenSet() const { return m_fleetStateHasBeenSet; }
197 
201  inline void SetFleetState(const FleetStateCode& value) { m_fleetStateHasBeenSet = true; m_fleetState = value; }
202 
206  inline void SetFleetState(FleetStateCode&& value) { m_fleetStateHasBeenSet = true; m_fleetState = std::move(value); }
207 
211  inline FleetData& WithFleetState(const FleetStateCode& value) { SetFleetState(value); return *this;}
212 
216  inline FleetData& WithFleetState(FleetStateCode&& value) { SetFleetState(std::move(value)); return *this;}
217 
218 
225  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
226 
233  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
234 
241  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
242 
249  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
250 
257  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
258 
265  inline FleetData& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
266 
273  inline FleetData& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
274 
281  inline FleetData& WithClientToken(const char* value) { SetClientToken(value); return *this;}
282 
283 
289  inline const FleetExcessCapacityTerminationPolicy& GetExcessCapacityTerminationPolicy() const{ return m_excessCapacityTerminationPolicy; }
290 
296  inline bool ExcessCapacityTerminationPolicyHasBeenSet() const { return m_excessCapacityTerminationPolicyHasBeenSet; }
297 
303  inline void SetExcessCapacityTerminationPolicy(const FleetExcessCapacityTerminationPolicy& value) { m_excessCapacityTerminationPolicyHasBeenSet = true; m_excessCapacityTerminationPolicy = value; }
304 
310  inline void SetExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy&& value) { m_excessCapacityTerminationPolicyHasBeenSet = true; m_excessCapacityTerminationPolicy = std::move(value); }
311 
317  inline FleetData& WithExcessCapacityTerminationPolicy(const FleetExcessCapacityTerminationPolicy& value) { SetExcessCapacityTerminationPolicy(value); return *this;}
318 
324  inline FleetData& WithExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy&& value) { SetExcessCapacityTerminationPolicy(std::move(value)); return *this;}
325 
326 
331  inline double GetFulfilledCapacity() const{ return m_fulfilledCapacity; }
332 
337  inline bool FulfilledCapacityHasBeenSet() const { return m_fulfilledCapacityHasBeenSet; }
338 
343  inline void SetFulfilledCapacity(double value) { m_fulfilledCapacityHasBeenSet = true; m_fulfilledCapacity = value; }
344 
349  inline FleetData& WithFulfilledCapacity(double value) { SetFulfilledCapacity(value); return *this;}
350 
351 
356  inline double GetFulfilledOnDemandCapacity() const{ return m_fulfilledOnDemandCapacity; }
357 
362  inline bool FulfilledOnDemandCapacityHasBeenSet() const { return m_fulfilledOnDemandCapacityHasBeenSet; }
363 
368  inline void SetFulfilledOnDemandCapacity(double value) { m_fulfilledOnDemandCapacityHasBeenSet = true; m_fulfilledOnDemandCapacity = value; }
369 
374  inline FleetData& WithFulfilledOnDemandCapacity(double value) { SetFulfilledOnDemandCapacity(value); return *this;}
375 
376 
380  inline const Aws::Vector<FleetLaunchTemplateConfig>& GetLaunchTemplateConfigs() const{ return m_launchTemplateConfigs; }
381 
385  inline bool LaunchTemplateConfigsHasBeenSet() const { return m_launchTemplateConfigsHasBeenSet; }
386 
390  inline void SetLaunchTemplateConfigs(const Aws::Vector<FleetLaunchTemplateConfig>& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs = value; }
391 
395  inline void SetLaunchTemplateConfigs(Aws::Vector<FleetLaunchTemplateConfig>&& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs = std::move(value); }
396 
400  inline FleetData& WithLaunchTemplateConfigs(const Aws::Vector<FleetLaunchTemplateConfig>& value) { SetLaunchTemplateConfigs(value); return *this;}
401 
405  inline FleetData& WithLaunchTemplateConfigs(Aws::Vector<FleetLaunchTemplateConfig>&& value) { SetLaunchTemplateConfigs(std::move(value)); return *this;}
406 
410  inline FleetData& AddLaunchTemplateConfigs(const FleetLaunchTemplateConfig& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs.push_back(value); return *this; }
411 
415  inline FleetData& AddLaunchTemplateConfigs(FleetLaunchTemplateConfig&& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs.push_back(std::move(value)); return *this; }
416 
417 
425  inline const TargetCapacitySpecification& GetTargetCapacitySpecification() const{ return m_targetCapacitySpecification; }
426 
434  inline bool TargetCapacitySpecificationHasBeenSet() const { return m_targetCapacitySpecificationHasBeenSet; }
435 
443  inline void SetTargetCapacitySpecification(const TargetCapacitySpecification& value) { m_targetCapacitySpecificationHasBeenSet = true; m_targetCapacitySpecification = value; }
444 
452  inline void SetTargetCapacitySpecification(TargetCapacitySpecification&& value) { m_targetCapacitySpecificationHasBeenSet = true; m_targetCapacitySpecification = std::move(value); }
453 
461  inline FleetData& WithTargetCapacitySpecification(const TargetCapacitySpecification& value) { SetTargetCapacitySpecification(value); return *this;}
462 
470  inline FleetData& WithTargetCapacitySpecification(TargetCapacitySpecification&& value) { SetTargetCapacitySpecification(std::move(value)); return *this;}
471 
472 
477  inline bool GetTerminateInstancesWithExpiration() const{ return m_terminateInstancesWithExpiration; }
478 
483  inline bool TerminateInstancesWithExpirationHasBeenSet() const { return m_terminateInstancesWithExpirationHasBeenSet; }
484 
489  inline void SetTerminateInstancesWithExpiration(bool value) { m_terminateInstancesWithExpirationHasBeenSet = true; m_terminateInstancesWithExpiration = value; }
490 
495  inline FleetData& WithTerminateInstancesWithExpiration(bool value) { SetTerminateInstancesWithExpiration(value); return *this;}
496 
497 
509  inline const FleetType& GetType() const{ return m_type; }
510 
522  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
523 
535  inline void SetType(const FleetType& value) { m_typeHasBeenSet = true; m_type = value; }
536 
548  inline void SetType(FleetType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
549 
561  inline FleetData& WithType(const FleetType& value) { SetType(value); return *this;}
562 
574  inline FleetData& WithType(FleetType&& value) { SetType(std::move(value)); return *this;}
575 
576 
582  inline const Aws::Utils::DateTime& GetValidFrom() const{ return m_validFrom; }
583 
589  inline bool ValidFromHasBeenSet() const { return m_validFromHasBeenSet; }
590 
596  inline void SetValidFrom(const Aws::Utils::DateTime& value) { m_validFromHasBeenSet = true; m_validFrom = value; }
597 
603  inline void SetValidFrom(Aws::Utils::DateTime&& value) { m_validFromHasBeenSet = true; m_validFrom = std::move(value); }
604 
610  inline FleetData& WithValidFrom(const Aws::Utils::DateTime& value) { SetValidFrom(value); return *this;}
611 
617  inline FleetData& WithValidFrom(Aws::Utils::DateTime&& value) { SetValidFrom(std::move(value)); return *this;}
618 
619 
626  inline const Aws::Utils::DateTime& GetValidUntil() const{ return m_validUntil; }
627 
634  inline bool ValidUntilHasBeenSet() const { return m_validUntilHasBeenSet; }
635 
642  inline void SetValidUntil(const Aws::Utils::DateTime& value) { m_validUntilHasBeenSet = true; m_validUntil = value; }
643 
650  inline void SetValidUntil(Aws::Utils::DateTime&& value) { m_validUntilHasBeenSet = true; m_validUntil = std::move(value); }
651 
658  inline FleetData& WithValidUntil(const Aws::Utils::DateTime& value) { SetValidUntil(value); return *this;}
659 
666  inline FleetData& WithValidUntil(Aws::Utils::DateTime&& value) { SetValidUntil(std::move(value)); return *this;}
667 
668 
676  inline bool GetReplaceUnhealthyInstances() const{ return m_replaceUnhealthyInstances; }
677 
685  inline bool ReplaceUnhealthyInstancesHasBeenSet() const { return m_replaceUnhealthyInstancesHasBeenSet; }
686 
694  inline void SetReplaceUnhealthyInstances(bool value) { m_replaceUnhealthyInstancesHasBeenSet = true; m_replaceUnhealthyInstances = value; }
695 
703  inline FleetData& WithReplaceUnhealthyInstances(bool value) { SetReplaceUnhealthyInstances(value); return *this;}
704 
705 
709  inline const SpotOptions& GetSpotOptions() const{ return m_spotOptions; }
710 
714  inline bool SpotOptionsHasBeenSet() const { return m_spotOptionsHasBeenSet; }
715 
719  inline void SetSpotOptions(const SpotOptions& value) { m_spotOptionsHasBeenSet = true; m_spotOptions = value; }
720 
724  inline void SetSpotOptions(SpotOptions&& value) { m_spotOptionsHasBeenSet = true; m_spotOptions = std::move(value); }
725 
729  inline FleetData& WithSpotOptions(const SpotOptions& value) { SetSpotOptions(value); return *this;}
730 
734  inline FleetData& WithSpotOptions(SpotOptions&& value) { SetSpotOptions(std::move(value)); return *this;}
735 
736 
740  inline const OnDemandOptions& GetOnDemandOptions() const{ return m_onDemandOptions; }
741 
745  inline bool OnDemandOptionsHasBeenSet() const { return m_onDemandOptionsHasBeenSet; }
746 
750  inline void SetOnDemandOptions(const OnDemandOptions& value) { m_onDemandOptionsHasBeenSet = true; m_onDemandOptions = value; }
751 
755  inline void SetOnDemandOptions(OnDemandOptions&& value) { m_onDemandOptionsHasBeenSet = true; m_onDemandOptions = std::move(value); }
756 
760  inline FleetData& WithOnDemandOptions(const OnDemandOptions& value) { SetOnDemandOptions(value); return *this;}
761 
765  inline FleetData& WithOnDemandOptions(OnDemandOptions&& value) { SetOnDemandOptions(std::move(value)); return *this;}
766 
767 
771  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
772 
776  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
777 
781  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
782 
786  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
787 
791  inline FleetData& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
792 
796  inline FleetData& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
797 
801  inline FleetData& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
802 
806  inline FleetData& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
807 
808 
813  inline const Aws::Vector<DescribeFleetError>& GetErrors() const{ return m_errors; }
814 
819  inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
820 
825  inline void SetErrors(const Aws::Vector<DescribeFleetError>& value) { m_errorsHasBeenSet = true; m_errors = value; }
826 
831  inline void SetErrors(Aws::Vector<DescribeFleetError>&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); }
832 
837  inline FleetData& WithErrors(const Aws::Vector<DescribeFleetError>& value) { SetErrors(value); return *this;}
838 
843  inline FleetData& WithErrors(Aws::Vector<DescribeFleetError>&& value) { SetErrors(std::move(value)); return *this;}
844 
849  inline FleetData& AddErrors(const DescribeFleetError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
850 
855  inline FleetData& AddErrors(DescribeFleetError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; }
856 
857 
862  inline const Aws::Vector<DescribeFleetsInstances>& GetInstances() const{ return m_instances; }
863 
868  inline bool InstancesHasBeenSet() const { return m_instancesHasBeenSet; }
869 
874  inline void SetInstances(const Aws::Vector<DescribeFleetsInstances>& value) { m_instancesHasBeenSet = true; m_instances = value; }
875 
880  inline void SetInstances(Aws::Vector<DescribeFleetsInstances>&& value) { m_instancesHasBeenSet = true; m_instances = std::move(value); }
881 
886  inline FleetData& WithInstances(const Aws::Vector<DescribeFleetsInstances>& value) { SetInstances(value); return *this;}
887 
892  inline FleetData& WithInstances(Aws::Vector<DescribeFleetsInstances>&& value) { SetInstances(std::move(value)); return *this;}
893 
898  inline FleetData& AddInstances(const DescribeFleetsInstances& value) { m_instancesHasBeenSet = true; m_instances.push_back(value); return *this; }
899 
904  inline FleetData& AddInstances(DescribeFleetsInstances&& value) { m_instancesHasBeenSet = true; m_instances.push_back(std::move(value)); return *this; }
905 
906 
910  inline const Aws::String& GetContext() const{ return m_context; }
911 
915  inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; }
916 
920  inline void SetContext(const Aws::String& value) { m_contextHasBeenSet = true; m_context = value; }
921 
925  inline void SetContext(Aws::String&& value) { m_contextHasBeenSet = true; m_context = std::move(value); }
926 
930  inline void SetContext(const char* value) { m_contextHasBeenSet = true; m_context.assign(value); }
931 
935  inline FleetData& WithContext(const Aws::String& value) { SetContext(value); return *this;}
936 
940  inline FleetData& WithContext(Aws::String&& value) { SetContext(std::move(value)); return *this;}
941 
945  inline FleetData& WithContext(const char* value) { SetContext(value); return *this;}
946 
947  private:
948 
949  FleetActivityStatus m_activityStatus;
950  bool m_activityStatusHasBeenSet;
951 
952  Aws::Utils::DateTime m_createTime;
953  bool m_createTimeHasBeenSet;
954 
955  Aws::String m_fleetId;
956  bool m_fleetIdHasBeenSet;
957 
958  FleetStateCode m_fleetState;
959  bool m_fleetStateHasBeenSet;
960 
961  Aws::String m_clientToken;
962  bool m_clientTokenHasBeenSet;
963 
964  FleetExcessCapacityTerminationPolicy m_excessCapacityTerminationPolicy;
965  bool m_excessCapacityTerminationPolicyHasBeenSet;
966 
967  double m_fulfilledCapacity;
968  bool m_fulfilledCapacityHasBeenSet;
969 
970  double m_fulfilledOnDemandCapacity;
971  bool m_fulfilledOnDemandCapacityHasBeenSet;
972 
973  Aws::Vector<FleetLaunchTemplateConfig> m_launchTemplateConfigs;
974  bool m_launchTemplateConfigsHasBeenSet;
975 
976  TargetCapacitySpecification m_targetCapacitySpecification;
977  bool m_targetCapacitySpecificationHasBeenSet;
978 
979  bool m_terminateInstancesWithExpiration;
980  bool m_terminateInstancesWithExpirationHasBeenSet;
981 
982  FleetType m_type;
983  bool m_typeHasBeenSet;
984 
985  Aws::Utils::DateTime m_validFrom;
986  bool m_validFromHasBeenSet;
987 
988  Aws::Utils::DateTime m_validUntil;
989  bool m_validUntilHasBeenSet;
990 
991  bool m_replaceUnhealthyInstances;
992  bool m_replaceUnhealthyInstancesHasBeenSet;
993 
994  SpotOptions m_spotOptions;
995  bool m_spotOptionsHasBeenSet;
996 
997  OnDemandOptions m_onDemandOptions;
998  bool m_onDemandOptionsHasBeenSet;
999 
1000  Aws::Vector<Tag> m_tags;
1001  bool m_tagsHasBeenSet;
1002 
1004  bool m_errorsHasBeenSet;
1005 
1007  bool m_instancesHasBeenSet;
1008 
1009  Aws::String m_context;
1010  bool m_contextHasBeenSet;
1011  };
1012 
1013 } // namespace Model
1014 } // namespace EC2
1015 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
SpotOptions.h
Aws::EC2::Model::FleetData::FulfilledCapacityHasBeenSet
bool FulfilledCapacityHasBeenSet() const
Definition: FleetData.h:337
Aws::EC2::Model::FleetData::SetTerminateInstancesWithExpiration
void SetTerminateInstancesWithExpiration(bool value)
Definition: FleetData.h:489
Aws::EC2::Model::FleetData::CreateTimeHasBeenSet
bool CreateTimeHasBeenSet() const
Definition: FleetData.h:124
Aws::EC2::Model::FleetData::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: FleetData.h:776
Aws::EC2::Model::FleetData::GetFulfilledCapacity
double GetFulfilledCapacity() const
Definition: FleetData.h:331
Aws::EC2::Model::FleetData::WithFleetId
FleetData & WithFleetId(const char *value)
Definition: FleetData.h:185
Aws::EC2::Model::FleetData::WithContext
FleetData & WithContext(const Aws::String &value)
Definition: FleetData.h:935
Aws::EC2::Model::FleetData::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: FleetData.h:160
Aws::EC2::Model::FleetData::WithContext
FleetData & WithContext(const char *value)
Definition: FleetData.h:945
Aws::EC2::Model::Tag
Definition: Tag.h:32
Aws::EC2::Model::FleetData::WithErrors
FleetData & WithErrors(Aws::Vector< DescribeFleetError > &&value)
Definition: FleetData.h:843
Aws::EC2::Model::FleetData::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: FleetData.h:241
Aws::EC2::Model::FleetData::SetFleetId
void SetFleetId(const char *value)
Definition: FleetData.h:170
Aws::EC2::Model::FleetData::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: FleetData.h:233
Aws::EC2::Model::FleetData::WithExcessCapacityTerminationPolicy
FleetData & WithExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy &&value)
Definition: FleetData.h:324
Aws::EC2::Model::FleetData::SetReplaceUnhealthyInstances
void SetReplaceUnhealthyInstances(bool value)
Definition: FleetData.h:694
Aws::EC2::Model::FleetData::SetContext
void SetContext(const char *value)
Definition: FleetData.h:930
Aws::EC2::Model::FleetData::GetContext
const Aws::String & GetContext() const
Definition: FleetData.h:910
Aws::EC2::Model::FleetData::WithValidFrom
FleetData & WithValidFrom(const Aws::Utils::DateTime &value)
Definition: FleetData.h:610
Aws::EC2::Model::FleetData::GetExcessCapacityTerminationPolicy
const FleetExcessCapacityTerminationPolicy & GetExcessCapacityTerminationPolicy() const
Definition: FleetData.h:289
Aws::EC2::Model::FleetData::GetFulfilledOnDemandCapacity
double GetFulfilledOnDemandCapacity() const
Definition: FleetData.h:356
Aws::EC2::Model::FleetData::WithTargetCapacitySpecification
FleetData & WithTargetCapacitySpecification(const TargetCapacitySpecification &value)
Definition: FleetData.h:461
Aws::EC2::Model::FleetData::WithFulfilledCapacity
FleetData & WithFulfilledCapacity(double value)
Definition: FleetData.h:349
TargetCapacitySpecification.h
Aws::EC2::Model::FleetData::GetOnDemandOptions
const OnDemandOptions & GetOnDemandOptions() const
Definition: FleetData.h:740
Aws::EC2::Model::FleetData::operator=
FleetData & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DateTime.h
Aws::EC2::Model::FleetData::SetFulfilledCapacity
void SetFulfilledCapacity(double value)
Definition: FleetData.h:343
Aws::EC2::Model::FleetData::InstancesHasBeenSet
bool InstancesHasBeenSet() const
Definition: FleetData.h:868
Aws::EC2::Model::FleetData::WithType
FleetData & WithType(const FleetType &value)
Definition: FleetData.h:561
Aws::EC2::Model::FleetData::TargetCapacitySpecificationHasBeenSet
bool TargetCapacitySpecificationHasBeenSet() const
Definition: FleetData.h:434
Aws::EC2::Model::FleetData::FleetData
FleetData(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::FleetData::GetErrors
const Aws::Vector< DescribeFleetError > & GetErrors() const
Definition: FleetData.h:813
Aws::EC2::Model::FleetData::AddErrors
FleetData & AddErrors(const DescribeFleetError &value)
Definition: FleetData.h:849
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::FleetData::SetFleetState
void SetFleetState(FleetStateCode &&value)
Definition: FleetData.h:206
Aws::EC2::Model::FleetData::AddInstances
FleetData & AddInstances(const DescribeFleetsInstances &value)
Definition: FleetData.h:898
Aws::EC2::Model::FleetData::AddLaunchTemplateConfigs
FleetData & AddLaunchTemplateConfigs(FleetLaunchTemplateConfig &&value)
Definition: FleetData.h:415
Aws::EC2::Model::FleetData::WithType
FleetData & WithType(FleetType &&value)
Definition: FleetData.h:574
Aws::EC2::Model::FleetData::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: FleetData.h:786
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::FleetData::SetClientToken
void SetClientToken(const char *value)
Definition: FleetData.h:257
Aws::EC2::Model::FleetData::SetTargetCapacitySpecification
void SetTargetCapacitySpecification(TargetCapacitySpecification &&value)
Definition: FleetData.h:452
Aws::EC2::Model::FleetData::WithLaunchTemplateConfigs
FleetData & WithLaunchTemplateConfigs(const Aws::Vector< FleetLaunchTemplateConfig > &value)
Definition: FleetData.h:400
AWSStreamFwd.h
Aws::EC2::Model::FleetData::GetType
const FleetType & GetType() const
Definition: FleetData.h:509
Aws::EC2::Model::FleetData::GetReplaceUnhealthyInstances
bool GetReplaceUnhealthyInstances() const
Definition: FleetData.h:676
Aws::EC2::Model::FleetData::SetSpotOptions
void SetSpotOptions(const SpotOptions &value)
Definition: FleetData.h:719
Aws::EC2::Model::FleetExcessCapacityTerminationPolicy
FleetExcessCapacityTerminationPolicy
Definition: FleetExcessCapacityTerminationPolicy.h:17
Aws::EC2::Model::FleetData::WithFleetState
FleetData & WithFleetState(FleetStateCode &&value)
Definition: FleetData.h:216
Aws::EC2::Model::FleetData::AddTags
FleetData & AddTags(const Tag &value)
Definition: FleetData.h:801
AWSVector.h
Tag.h
Aws::EC2::Model::FleetData::WithFleetId
FleetData & WithFleetId(const Aws::String &value)
Definition: FleetData.h:175
Aws::EC2::Model::FleetStateCode
FleetStateCode
Definition: FleetStateCode.h:17
Aws::EC2::Model::FleetData::WithActivityStatus
FleetData & WithActivityStatus(const FleetActivityStatus &value)
Definition: FleetData.h:103
Aws::EC2::Model::FleetData::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::FleetData::SetCreateTime
void SetCreateTime(Aws::Utils::DateTime &&value)
Definition: FleetData.h:134
Aws::EC2::Model::FleetData::SetLaunchTemplateConfigs
void SetLaunchTemplateConfigs(const Aws::Vector< FleetLaunchTemplateConfig > &value)
Definition: FleetData.h:390
Aws::EC2::Model::FleetLaunchTemplateConfig
Definition: FleetLaunchTemplateConfig.h:34
Aws::EC2::Model::FleetData::SetInstances
void SetInstances(Aws::Vector< DescribeFleetsInstances > &&value)
Definition: FleetData.h:880
Aws::EC2::Model::FleetData::SetExcessCapacityTerminationPolicy
void SetExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy &&value)
Definition: FleetData.h:310
Aws::EC2::Model::FleetData::SetActivityStatus
void SetActivityStatus(const FleetActivityStatus &value)
Definition: FleetData.h:83
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::FleetData::GetCreateTime
const Aws::Utils::DateTime & GetCreateTime() const
Definition: FleetData.h:119
Aws::EC2::Model::FleetData::SetInstances
void SetInstances(const Aws::Vector< DescribeFleetsInstances > &value)
Definition: FleetData.h:874
Aws::EC2::Model::FleetData::GetValidFrom
const Aws::Utils::DateTime & GetValidFrom() const
Definition: FleetData.h:582
Aws::EC2::Model::FleetData::ValidFromHasBeenSet
bool ValidFromHasBeenSet() const
Definition: FleetData.h:589
DescribeFleetsInstances.h
Aws::EC2::Model::FleetData::WithOnDemandOptions
FleetData & WithOnDemandOptions(const OnDemandOptions &value)
Definition: FleetData.h:760
Aws::EC2::Model::DescribeFleetsInstances
Definition: DescribeFleetsInstances.h:38
Aws::EC2::Model::FleetData::SetSpotOptions
void SetSpotOptions(SpotOptions &&value)
Definition: FleetData.h:724
Aws::EC2::Model::FleetData::WithInstances
FleetData & WithInstances(const Aws::Vector< DescribeFleetsInstances > &value)
Definition: FleetData.h:886
Aws::EC2::Model::FleetData::FleetStateHasBeenSet
bool FleetStateHasBeenSet() const
Definition: FleetData.h:196
Aws::EC2::Model::FleetData::WithCreateTime
FleetData & WithCreateTime(Aws::Utils::DateTime &&value)
Definition: FleetData.h:144
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::FleetData::WithTerminateInstancesWithExpiration
FleetData & WithTerminateInstancesWithExpiration(bool value)
Definition: FleetData.h:495
Aws::EC2::Model::FleetData::WithErrors
FleetData & WithErrors(const Aws::Vector< DescribeFleetError > &value)
Definition: FleetData.h:837
Aws::EC2::Model::FleetData::SetValidUntil
void SetValidUntil(Aws::Utils::DateTime &&value)
Definition: FleetData.h:650
Aws::EC2::Model::FleetData::GetSpotOptions
const SpotOptions & GetSpotOptions() const
Definition: FleetData.h:709
Aws::EC2::Model::FleetActivityStatus
FleetActivityStatus
Definition: FleetActivityStatus.h:17
Aws::EC2::Model::FleetData::SetFleetState
void SetFleetState(const FleetStateCode &value)
Definition: FleetData.h:201
Aws::EC2::Model::FleetData::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: FleetData.h:781
Aws::EC2::Model::FleetData::ContextHasBeenSet
bool ContextHasBeenSet() const
Definition: FleetData.h:915
Aws::EC2::Model::FleetData::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: FleetData.h:771
Aws::EC2::Model::FleetData::SetValidUntil
void SetValidUntil(const Aws::Utils::DateTime &value)
Definition: FleetData.h:642
Aws::EC2::Model::FleetData::SetLaunchTemplateConfigs
void SetLaunchTemplateConfigs(Aws::Vector< FleetLaunchTemplateConfig > &&value)
Definition: FleetData.h:395
Aws::EC2::Model::FleetData::GetFleetId
const Aws::String & GetFleetId() const
Definition: FleetData.h:150
Aws::EC2::Model::FleetData::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::FleetData::ErrorsHasBeenSet
bool ErrorsHasBeenSet() const
Definition: FleetData.h:819
FleetType.h
Aws::EC2::Model::FleetData::WithExcessCapacityTerminationPolicy
FleetData & WithExcessCapacityTerminationPolicy(const FleetExcessCapacityTerminationPolicy &value)
Definition: FleetData.h:317
Aws::EC2::Model::OnDemandOptions
Definition: OnDemandOptions.h:35
Aws::EC2::Model::FleetData::SpotOptionsHasBeenSet
bool SpotOptionsHasBeenSet() const
Definition: FleetData.h:714
Aws::EC2::Model::FleetData::WithCreateTime
FleetData & WithCreateTime(const Aws::Utils::DateTime &value)
Definition: FleetData.h:139
Aws::EC2::Model::FleetData::WithClientToken
FleetData & WithClientToken(Aws::String &&value)
Definition: FleetData.h:273
Aws::EC2::Model::FleetData::SetContext
void SetContext(const Aws::String &value)
Definition: FleetData.h:920
Aws::EC2::Model::FleetData::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: FleetData.h:522
AWSString.h
Aws::EC2::Model::FleetData::SetActivityStatus
void SetActivityStatus(FleetActivityStatus &&value)
Definition: FleetData.h:93
Aws::EC2::Model::FleetData::TerminateInstancesWithExpirationHasBeenSet
bool TerminateInstancesWithExpirationHasBeenSet() const
Definition: FleetData.h:483
Aws::EC2::Model::FleetData::FleetIdHasBeenSet
bool FleetIdHasBeenSet() const
Definition: FleetData.h:155
Aws::EC2::Model::FleetData::ActivityStatusHasBeenSet
bool ActivityStatusHasBeenSet() const
Definition: FleetData.h:73
Aws::EC2::Model::FleetData::AddTags
FleetData & AddTags(Tag &&value)
Definition: FleetData.h:806
Aws::EC2::Model::FleetData::SetValidFrom
void SetValidFrom(const Aws::Utils::DateTime &value)
Definition: FleetData.h:596
FleetStateCode.h
FleetLaunchTemplateConfig.h
Aws::EC2::Model::FleetData::WithActivityStatus
FleetData & WithActivityStatus(FleetActivityStatus &&value)
Definition: FleetData.h:113
Aws::EC2::Model::FleetData::SetContext
void SetContext(Aws::String &&value)
Definition: FleetData.h:925
Aws::EC2::Model::FleetData::WithClientToken
FleetData & WithClientToken(const char *value)
Definition: FleetData.h:281
Aws::EC2::Model::TargetCapacitySpecification
Definition: TargetCapacitySpecification.h:47
Aws::EC2::Model::FleetData::GetTerminateInstancesWithExpiration
bool GetTerminateInstancesWithExpiration() const
Definition: FleetData.h:477
Aws::EC2::Model::FleetData::WithClientToken
FleetData & WithClientToken(const Aws::String &value)
Definition: FleetData.h:265
Aws::EC2::Model::FleetData::AddErrors
FleetData & AddErrors(DescribeFleetError &&value)
Definition: FleetData.h:855
DescribeFleetError.h
Aws::EC2::Model::FleetData::ValidUntilHasBeenSet
bool ValidUntilHasBeenSet() const
Definition: FleetData.h:634
Aws::EC2::Model::FleetData::WithValidUntil
FleetData & WithValidUntil(const Aws::Utils::DateTime &value)
Definition: FleetData.h:658
Aws::EC2::Model::FleetData::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: FleetData.h:249
Aws::EC2::Model::FleetData::SetType
void SetType(FleetType &&value)
Definition: FleetData.h:548
Aws::EC2::Model::FleetData::WithContext
FleetData & WithContext(Aws::String &&value)
Definition: FleetData.h:940
Aws::EC2::Model::FleetData::AddInstances
FleetData & AddInstances(DescribeFleetsInstances &&value)
Definition: FleetData.h:904
Aws::EC2::Model::FleetData::WithTargetCapacitySpecification
FleetData & WithTargetCapacitySpecification(TargetCapacitySpecification &&value)
Definition: FleetData.h:470
Aws::EC2::Model::FleetData::WithFleetState
FleetData & WithFleetState(const FleetStateCode &value)
Definition: FleetData.h:211
Aws::EC2::Model::DescribeFleetError
Definition: DescribeFleetError.h:35
Aws::EC2::Model::FleetData::WithInstances
FleetData & WithInstances(Aws::Vector< DescribeFleetsInstances > &&value)
Definition: FleetData.h:892
Aws::EC2::Model::FleetData::GetLaunchTemplateConfigs
const Aws::Vector< FleetLaunchTemplateConfig > & GetLaunchTemplateConfigs() const
Definition: FleetData.h:380
Aws::EC2::Model::FleetData::WithValidFrom
FleetData & WithValidFrom(Aws::Utils::DateTime &&value)
Definition: FleetData.h:617
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::FleetData::SetFulfilledOnDemandCapacity
void SetFulfilledOnDemandCapacity(double value)
Definition: FleetData.h:368
Aws::EC2::Model::FleetData::WithSpotOptions
FleetData & WithSpotOptions(const SpotOptions &value)
Definition: FleetData.h:729
Aws::EC2::Model::FleetData::FulfilledOnDemandCapacityHasBeenSet
bool FulfilledOnDemandCapacityHasBeenSet() const
Definition: FleetData.h:362
FleetActivityStatus.h
Aws::EC2::Model::FleetData::SetTargetCapacitySpecification
void SetTargetCapacitySpecification(const TargetCapacitySpecification &value)
Definition: FleetData.h:443
OnDemandOptions.h
Aws::EC2::Model::FleetData::ExcessCapacityTerminationPolicyHasBeenSet
bool ExcessCapacityTerminationPolicyHasBeenSet() const
Definition: FleetData.h:296
Aws::EC2::Model::FleetData::SetType
void SetType(const FleetType &value)
Definition: FleetData.h:535
Aws::EC2::Model::FleetData::WithFleetId
FleetData & WithFleetId(Aws::String &&value)
Definition: FleetData.h:180
Aws::EC2::Model::FleetData::WithSpotOptions
FleetData & WithSpotOptions(SpotOptions &&value)
Definition: FleetData.h:734
Aws::EC2::Model::FleetData::SetErrors
void SetErrors(const Aws::Vector< DescribeFleetError > &value)
Definition: FleetData.h:825
Aws::EC2::Model::FleetData::OnDemandOptionsHasBeenSet
bool OnDemandOptionsHasBeenSet() const
Definition: FleetData.h:745
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::FleetData::GetClientToken
const Aws::String & GetClientToken() const
Definition: FleetData.h:225
Aws::EC2::Model::FleetData::WithOnDemandOptions
FleetData & WithOnDemandOptions(OnDemandOptions &&value)
Definition: FleetData.h:765
Aws::EC2::Model::FleetData::SetCreateTime
void SetCreateTime(const Aws::Utils::DateTime &value)
Definition: FleetData.h:129
Aws::EC2::Model::FleetData::SetExcessCapacityTerminationPolicy
void SetExcessCapacityTerminationPolicy(const FleetExcessCapacityTerminationPolicy &value)
Definition: FleetData.h:303
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::FleetData::WithFulfilledOnDemandCapacity
FleetData & WithFulfilledOnDemandCapacity(double value)
Definition: FleetData.h:374
Aws::EC2::Model::FleetData::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: FleetData.h:165
Aws::EC2::Model::FleetData::GetValidUntil
const Aws::Utils::DateTime & GetValidUntil() const
Definition: FleetData.h:626
Aws::EC2::Model::FleetData::ReplaceUnhealthyInstancesHasBeenSet
bool ReplaceUnhealthyInstancesHasBeenSet() const
Definition: FleetData.h:685
Aws::EC2::Model::FleetData::LaunchTemplateConfigsHasBeenSet
bool LaunchTemplateConfigsHasBeenSet() const
Definition: FleetData.h:385
Aws::EC2::Model::FleetData::WithTags
FleetData & WithTags(const Aws::Vector< Tag > &value)
Definition: FleetData.h:791
Aws::EC2::Model::FleetData::GetTargetCapacitySpecification
const TargetCapacitySpecification & GetTargetCapacitySpecification() const
Definition: FleetData.h:425
Aws::EC2::Model::FleetData::AddLaunchTemplateConfigs
FleetData & AddLaunchTemplateConfigs(const FleetLaunchTemplateConfig &value)
Definition: FleetData.h:410
Aws::EC2::Model::FleetData::SetOnDemandOptions
void SetOnDemandOptions(const OnDemandOptions &value)
Definition: FleetData.h:750
Aws::EC2::Model::FleetData::WithLaunchTemplateConfigs
FleetData & WithLaunchTemplateConfigs(Aws::Vector< FleetLaunchTemplateConfig > &&value)
Definition: FleetData.h:405
Aws::EC2::Model::FleetData::SetValidFrom
void SetValidFrom(Aws::Utils::DateTime &&value)
Definition: FleetData.h:603
Aws::EC2::Model::FleetData::WithReplaceUnhealthyInstances
FleetData & WithReplaceUnhealthyInstances(bool value)
Definition: FleetData.h:703
EC2_EXPORTS.h
Aws::EC2::Model::FleetData::WithTags
FleetData & WithTags(Aws::Vector< Tag > &&value)
Definition: FleetData.h:796
Aws::EC2::Model::FleetData::SetErrors
void SetErrors(Aws::Vector< DescribeFleetError > &&value)
Definition: FleetData.h:831
FleetExcessCapacityTerminationPolicy.h
Aws::EC2::Model::FleetData::GetActivityStatus
const FleetActivityStatus & GetActivityStatus() const
Definition: FleetData.h:63
Aws::EC2::Model::FleetData::SetOnDemandOptions
void SetOnDemandOptions(OnDemandOptions &&value)
Definition: FleetData.h:755
Aws::EC2::Model::FleetData::FleetData
FleetData()
Aws::EC2::Model::FleetData::WithValidUntil
FleetData & WithValidUntil(Aws::Utils::DateTime &&value)
Definition: FleetData.h:666
Aws::EC2::Model::FleetData
Definition: FleetData.h:45
Aws::EC2::Model::FleetType
FleetType
Definition: FleetType.h:17
Aws::EC2::Model::SpotOptions
Definition: SpotOptions.h:36
Aws::EC2::Model::FleetData::GetFleetState
const FleetStateCode & GetFleetState() const
Definition: FleetData.h:191
Aws::EC2::Model::FleetData::GetInstances
const Aws::Vector< DescribeFleetsInstances > & GetInstances() const
Definition: FleetData.h:862