AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FleetData.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/FleetActivityStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ec2/model/FleetStateCode.h>
13#include <aws/ec2/model/FleetExcessCapacityTerminationPolicy.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/ec2/model/TargetCapacitySpecification.h>
16#include <aws/ec2/model/FleetType.h>
17#include <aws/ec2/model/SpotOptions.h>
18#include <aws/ec2/model/OnDemandOptions.h>
19#include <aws/ec2/model/FleetLaunchTemplateConfig.h>
20#include <aws/ec2/model/Tag.h>
21#include <aws/ec2/model/DescribeFleetError.h>
22#include <aws/ec2/model/DescribeFleetsInstances.h>
23#include <utility>
24
25namespace Aws
26{
27namespace Utils
28{
29namespace Xml
30{
31 class XmlNode;
32} // namespace Xml
33} // namespace Utils
34namespace EC2
35{
36namespace Model
37{
38
45 {
46 public:
47 AWS_EC2_API FleetData();
48 AWS_EC2_API FleetData(const Aws::Utils::Xml::XmlNode& xmlNode);
49 AWS_EC2_API FleetData& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
50
51 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
52 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
53
54
56
64 inline const FleetActivityStatus& GetActivityStatus() const{ return m_activityStatus; }
65 inline bool ActivityStatusHasBeenSet() const { return m_activityStatusHasBeenSet; }
66 inline void SetActivityStatus(const FleetActivityStatus& value) { m_activityStatusHasBeenSet = true; m_activityStatus = value; }
67 inline void SetActivityStatus(FleetActivityStatus&& value) { m_activityStatusHasBeenSet = true; m_activityStatus = std::move(value); }
68 inline FleetData& WithActivityStatus(const FleetActivityStatus& value) { SetActivityStatus(value); return *this;}
69 inline FleetData& WithActivityStatus(FleetActivityStatus&& value) { SetActivityStatus(std::move(value)); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
77 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
78 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
79 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
80 inline FleetData& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
81 inline FleetData& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
83
85
88 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
89 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
90 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
91 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
92 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
93 inline FleetData& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
94 inline FleetData& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
95 inline FleetData& WithFleetId(const char* value) { SetFleetId(value); return *this;}
97
99
102 inline const FleetStateCode& GetFleetState() const{ return m_fleetState; }
103 inline bool FleetStateHasBeenSet() const { return m_fleetStateHasBeenSet; }
104 inline void SetFleetState(const FleetStateCode& value) { m_fleetStateHasBeenSet = true; m_fleetState = value; }
105 inline void SetFleetState(FleetStateCode&& value) { m_fleetStateHasBeenSet = true; m_fleetState = std::move(value); }
106 inline FleetData& WithFleetState(const FleetStateCode& value) { SetFleetState(value); return *this;}
107 inline FleetData& WithFleetState(FleetStateCode&& value) { SetFleetState(std::move(value)); return *this;}
109
111
117 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
118 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
119 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
120 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
121 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
122 inline FleetData& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
123 inline FleetData& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
124 inline FleetData& WithClientToken(const char* value) { SetClientToken(value); return *this;}
126
128
133 inline const FleetExcessCapacityTerminationPolicy& GetExcessCapacityTerminationPolicy() const{ return m_excessCapacityTerminationPolicy; }
134 inline bool ExcessCapacityTerminationPolicyHasBeenSet() const { return m_excessCapacityTerminationPolicyHasBeenSet; }
135 inline void SetExcessCapacityTerminationPolicy(const FleetExcessCapacityTerminationPolicy& value) { m_excessCapacityTerminationPolicyHasBeenSet = true; m_excessCapacityTerminationPolicy = value; }
136 inline void SetExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy&& value) { m_excessCapacityTerminationPolicyHasBeenSet = true; m_excessCapacityTerminationPolicy = std::move(value); }
140
142
146 inline double GetFulfilledCapacity() const{ return m_fulfilledCapacity; }
147 inline bool FulfilledCapacityHasBeenSet() const { return m_fulfilledCapacityHasBeenSet; }
148 inline void SetFulfilledCapacity(double value) { m_fulfilledCapacityHasBeenSet = true; m_fulfilledCapacity = value; }
149 inline FleetData& WithFulfilledCapacity(double value) { SetFulfilledCapacity(value); return *this;}
151
153
157 inline double GetFulfilledOnDemandCapacity() const{ return m_fulfilledOnDemandCapacity; }
158 inline bool FulfilledOnDemandCapacityHasBeenSet() const { return m_fulfilledOnDemandCapacityHasBeenSet; }
159 inline void SetFulfilledOnDemandCapacity(double value) { m_fulfilledOnDemandCapacityHasBeenSet = true; m_fulfilledOnDemandCapacity = value; }
160 inline FleetData& WithFulfilledOnDemandCapacity(double value) { SetFulfilledOnDemandCapacity(value); return *this;}
162
164
167 inline const Aws::Vector<FleetLaunchTemplateConfig>& GetLaunchTemplateConfigs() const{ return m_launchTemplateConfigs; }
168 inline bool LaunchTemplateConfigsHasBeenSet() const { return m_launchTemplateConfigsHasBeenSet; }
169 inline void SetLaunchTemplateConfigs(const Aws::Vector<FleetLaunchTemplateConfig>& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs = value; }
170 inline void SetLaunchTemplateConfigs(Aws::Vector<FleetLaunchTemplateConfig>&& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs = std::move(value); }
173 inline FleetData& AddLaunchTemplateConfigs(const FleetLaunchTemplateConfig& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs.push_back(value); return *this; }
174 inline FleetData& AddLaunchTemplateConfigs(FleetLaunchTemplateConfig&& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs.push_back(std::move(value)); return *this; }
176
178
185 inline const TargetCapacitySpecification& GetTargetCapacitySpecification() const{ return m_targetCapacitySpecification; }
186 inline bool TargetCapacitySpecificationHasBeenSet() const { return m_targetCapacitySpecificationHasBeenSet; }
187 inline void SetTargetCapacitySpecification(const TargetCapacitySpecification& value) { m_targetCapacitySpecificationHasBeenSet = true; m_targetCapacitySpecification = value; }
188 inline void SetTargetCapacitySpecification(TargetCapacitySpecification&& value) { m_targetCapacitySpecificationHasBeenSet = true; m_targetCapacitySpecification = std::move(value); }
192
194
198 inline bool GetTerminateInstancesWithExpiration() const{ return m_terminateInstancesWithExpiration; }
199 inline bool TerminateInstancesWithExpirationHasBeenSet() const { return m_terminateInstancesWithExpirationHasBeenSet; }
200 inline void SetTerminateInstancesWithExpiration(bool value) { m_terminateInstancesWithExpirationHasBeenSet = true; m_terminateInstancesWithExpiration = value; }
203
205
216 inline const FleetType& GetType() const{ return m_type; }
217 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
218 inline void SetType(const FleetType& value) { m_typeHasBeenSet = true; m_type = value; }
219 inline void SetType(FleetType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
220 inline FleetData& WithType(const FleetType& value) { SetType(value); return *this;}
221 inline FleetData& WithType(FleetType&& value) { SetType(std::move(value)); return *this;}
223
225
230 inline const Aws::Utils::DateTime& GetValidFrom() const{ return m_validFrom; }
231 inline bool ValidFromHasBeenSet() const { return m_validFromHasBeenSet; }
232 inline void SetValidFrom(const Aws::Utils::DateTime& value) { m_validFromHasBeenSet = true; m_validFrom = value; }
233 inline void SetValidFrom(Aws::Utils::DateTime&& value) { m_validFromHasBeenSet = true; m_validFrom = std::move(value); }
234 inline FleetData& WithValidFrom(const Aws::Utils::DateTime& value) { SetValidFrom(value); return *this;}
235 inline FleetData& WithValidFrom(Aws::Utils::DateTime&& value) { SetValidFrom(std::move(value)); return *this;}
237
239
245 inline const Aws::Utils::DateTime& GetValidUntil() const{ return m_validUntil; }
246 inline bool ValidUntilHasBeenSet() const { return m_validUntilHasBeenSet; }
247 inline void SetValidUntil(const Aws::Utils::DateTime& value) { m_validUntilHasBeenSet = true; m_validUntil = value; }
248 inline void SetValidUntil(Aws::Utils::DateTime&& value) { m_validUntilHasBeenSet = true; m_validUntil = std::move(value); }
249 inline FleetData& WithValidUntil(const Aws::Utils::DateTime& value) { SetValidUntil(value); return *this;}
250 inline FleetData& WithValidUntil(Aws::Utils::DateTime&& value) { SetValidUntil(std::move(value)); return *this;}
252
254
261 inline bool GetReplaceUnhealthyInstances() const{ return m_replaceUnhealthyInstances; }
262 inline bool ReplaceUnhealthyInstancesHasBeenSet() const { return m_replaceUnhealthyInstancesHasBeenSet; }
263 inline void SetReplaceUnhealthyInstances(bool value) { m_replaceUnhealthyInstancesHasBeenSet = true; m_replaceUnhealthyInstances = value; }
264 inline FleetData& WithReplaceUnhealthyInstances(bool value) { SetReplaceUnhealthyInstances(value); return *this;}
266
268
271 inline const SpotOptions& GetSpotOptions() const{ return m_spotOptions; }
272 inline bool SpotOptionsHasBeenSet() const { return m_spotOptionsHasBeenSet; }
273 inline void SetSpotOptions(const SpotOptions& value) { m_spotOptionsHasBeenSet = true; m_spotOptions = value; }
274 inline void SetSpotOptions(SpotOptions&& value) { m_spotOptionsHasBeenSet = true; m_spotOptions = std::move(value); }
275 inline FleetData& WithSpotOptions(const SpotOptions& value) { SetSpotOptions(value); return *this;}
276 inline FleetData& WithSpotOptions(SpotOptions&& value) { SetSpotOptions(std::move(value)); return *this;}
278
280
283 inline const OnDemandOptions& GetOnDemandOptions() const{ return m_onDemandOptions; }
284 inline bool OnDemandOptionsHasBeenSet() const { return m_onDemandOptionsHasBeenSet; }
285 inline void SetOnDemandOptions(const OnDemandOptions& value) { m_onDemandOptionsHasBeenSet = true; m_onDemandOptions = value; }
286 inline void SetOnDemandOptions(OnDemandOptions&& value) { m_onDemandOptionsHasBeenSet = true; m_onDemandOptions = std::move(value); }
287 inline FleetData& WithOnDemandOptions(const OnDemandOptions& value) { SetOnDemandOptions(value); return *this;}
288 inline FleetData& WithOnDemandOptions(OnDemandOptions&& value) { SetOnDemandOptions(std::move(value)); return *this;}
290
292
295 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
296 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
297 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
298 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
299 inline FleetData& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
300 inline FleetData& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
301 inline FleetData& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
302 inline FleetData& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
304
306
310 inline const Aws::Vector<DescribeFleetError>& GetErrors() const{ return m_errors; }
311 inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
312 inline void SetErrors(const Aws::Vector<DescribeFleetError>& value) { m_errorsHasBeenSet = true; m_errors = value; }
313 inline void SetErrors(Aws::Vector<DescribeFleetError>&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); }
314 inline FleetData& WithErrors(const Aws::Vector<DescribeFleetError>& value) { SetErrors(value); return *this;}
315 inline FleetData& WithErrors(Aws::Vector<DescribeFleetError>&& value) { SetErrors(std::move(value)); return *this;}
316 inline FleetData& AddErrors(const DescribeFleetError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
317 inline FleetData& AddErrors(DescribeFleetError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; }
319
321
325 inline const Aws::Vector<DescribeFleetsInstances>& GetInstances() const{ return m_instances; }
326 inline bool InstancesHasBeenSet() const { return m_instancesHasBeenSet; }
327 inline void SetInstances(const Aws::Vector<DescribeFleetsInstances>& value) { m_instancesHasBeenSet = true; m_instances = value; }
328 inline void SetInstances(Aws::Vector<DescribeFleetsInstances>&& value) { m_instancesHasBeenSet = true; m_instances = std::move(value); }
329 inline FleetData& WithInstances(const Aws::Vector<DescribeFleetsInstances>& value) { SetInstances(value); return *this;}
330 inline FleetData& WithInstances(Aws::Vector<DescribeFleetsInstances>&& value) { SetInstances(std::move(value)); return *this;}
331 inline FleetData& AddInstances(const DescribeFleetsInstances& value) { m_instancesHasBeenSet = true; m_instances.push_back(value); return *this; }
332 inline FleetData& AddInstances(DescribeFleetsInstances&& value) { m_instancesHasBeenSet = true; m_instances.push_back(std::move(value)); return *this; }
334
336
339 inline const Aws::String& GetContext() const{ return m_context; }
340 inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; }
341 inline void SetContext(const Aws::String& value) { m_contextHasBeenSet = true; m_context = value; }
342 inline void SetContext(Aws::String&& value) { m_contextHasBeenSet = true; m_context = std::move(value); }
343 inline void SetContext(const char* value) { m_contextHasBeenSet = true; m_context.assign(value); }
344 inline FleetData& WithContext(const Aws::String& value) { SetContext(value); return *this;}
345 inline FleetData& WithContext(Aws::String&& value) { SetContext(std::move(value)); return *this;}
346 inline FleetData& WithContext(const char* value) { SetContext(value); return *this;}
348 private:
349
350 FleetActivityStatus m_activityStatus;
351 bool m_activityStatusHasBeenSet = false;
352
353 Aws::Utils::DateTime m_createTime;
354 bool m_createTimeHasBeenSet = false;
355
356 Aws::String m_fleetId;
357 bool m_fleetIdHasBeenSet = false;
358
359 FleetStateCode m_fleetState;
360 bool m_fleetStateHasBeenSet = false;
361
362 Aws::String m_clientToken;
363 bool m_clientTokenHasBeenSet = false;
364
365 FleetExcessCapacityTerminationPolicy m_excessCapacityTerminationPolicy;
366 bool m_excessCapacityTerminationPolicyHasBeenSet = false;
367
368 double m_fulfilledCapacity;
369 bool m_fulfilledCapacityHasBeenSet = false;
370
371 double m_fulfilledOnDemandCapacity;
372 bool m_fulfilledOnDemandCapacityHasBeenSet = false;
373
374 Aws::Vector<FleetLaunchTemplateConfig> m_launchTemplateConfigs;
375 bool m_launchTemplateConfigsHasBeenSet = false;
376
377 TargetCapacitySpecification m_targetCapacitySpecification;
378 bool m_targetCapacitySpecificationHasBeenSet = false;
379
380 bool m_terminateInstancesWithExpiration;
381 bool m_terminateInstancesWithExpirationHasBeenSet = false;
382
383 FleetType m_type;
384 bool m_typeHasBeenSet = false;
385
386 Aws::Utils::DateTime m_validFrom;
387 bool m_validFromHasBeenSet = false;
388
389 Aws::Utils::DateTime m_validUntil;
390 bool m_validUntilHasBeenSet = false;
391
392 bool m_replaceUnhealthyInstances;
393 bool m_replaceUnhealthyInstancesHasBeenSet = false;
394
395 SpotOptions m_spotOptions;
396 bool m_spotOptionsHasBeenSet = false;
397
398 OnDemandOptions m_onDemandOptions;
399 bool m_onDemandOptionsHasBeenSet = false;
400
401 Aws::Vector<Tag> m_tags;
402 bool m_tagsHasBeenSet = false;
403
405 bool m_errorsHasBeenSet = false;
406
408 bool m_instancesHasBeenSet = false;
409
410 Aws::String m_context;
411 bool m_contextHasBeenSet = false;
412 };
413
414} // namespace Model
415} // namespace EC2
416} // namespace Aws
FleetData & WithActivityStatus(FleetActivityStatus &&value)
Definition FleetData.h:69
bool ErrorsHasBeenSet() const
Definition FleetData.h:311
FleetData & WithErrors(const Aws::Vector< DescribeFleetError > &value)
Definition FleetData.h:314
FleetData & WithExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy &&value)
Definition FleetData.h:138
bool TerminateInstancesWithExpirationHasBeenSet() const
Definition FleetData.h:199
const FleetType & GetType() const
Definition FleetData.h:216
void SetFulfilledCapacity(double value)
Definition FleetData.h:148
AWS_EC2_API FleetData(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API FleetData & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FleetData & WithContext(Aws::String &&value)
Definition FleetData.h:345
void SetValidUntil(const Aws::Utils::DateTime &value)
Definition FleetData.h:247
FleetData & WithType(const FleetType &value)
Definition FleetData.h:220
FleetData & WithTerminateInstancesWithExpiration(bool value)
Definition FleetData.h:201
const FleetActivityStatus & GetActivityStatus() const
Definition FleetData.h:64
FleetData & WithCreateTime(Aws::Utils::DateTime &&value)
Definition FleetData.h:81
const TargetCapacitySpecification & GetTargetCapacitySpecification() const
Definition FleetData.h:185
FleetData & WithFleetId(const Aws::String &value)
Definition FleetData.h:93
const Aws::Vector< DescribeFleetError > & GetErrors() const
Definition FleetData.h:310
FleetData & WithValidFrom(const Aws::Utils::DateTime &value)
Definition FleetData.h:234
void SetFleetId(Aws::String &&value)
Definition FleetData.h:91
void SetActivityStatus(FleetActivityStatus &&value)
Definition FleetData.h:67
void SetType(const FleetType &value)
Definition FleetData.h:218
bool SpotOptionsHasBeenSet() const
Definition FleetData.h:272
bool ActivityStatusHasBeenSet() const
Definition FleetData.h:65
bool GetReplaceUnhealthyInstances() const
Definition FleetData.h:261
FleetData & WithSpotOptions(SpotOptions &&value)
Definition FleetData.h:276
bool ReplaceUnhealthyInstancesHasBeenSet() const
Definition FleetData.h:262
void SetReplaceUnhealthyInstances(bool value)
Definition FleetData.h:263
const FleetStateCode & GetFleetState() const
Definition FleetData.h:102
bool TargetCapacitySpecificationHasBeenSet() const
Definition FleetData.h:186
double GetFulfilledOnDemandCapacity() const
Definition FleetData.h:157
void SetActivityStatus(const FleetActivityStatus &value)
Definition FleetData.h:66
const Aws::String & GetContext() const
Definition FleetData.h:339
void SetValidUntil(Aws::Utils::DateTime &&value)
Definition FleetData.h:248
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTags(const Aws::Vector< Tag > &value)
Definition FleetData.h:297
FleetData & WithFleetState(FleetStateCode &&value)
Definition FleetData.h:107
FleetData & WithValidUntil(Aws::Utils::DateTime &&value)
Definition FleetData.h:250
const Aws::String & GetFleetId() const
Definition FleetData.h:88
FleetData & WithValidUntil(const Aws::Utils::DateTime &value)
Definition FleetData.h:249
const Aws::Utils::DateTime & GetValidFrom() const
Definition FleetData.h:230
FleetData & AddTags(Tag &&value)
Definition FleetData.h:302
const Aws::Utils::DateTime & GetValidUntil() const
Definition FleetData.h:245
void SetLaunchTemplateConfigs(const Aws::Vector< FleetLaunchTemplateConfig > &value)
Definition FleetData.h:169
const OnDemandOptions & GetOnDemandOptions() const
Definition FleetData.h:283
void SetInstances(Aws::Vector< DescribeFleetsInstances > &&value)
Definition FleetData.h:328
void SetOnDemandOptions(const OnDemandOptions &value)
Definition FleetData.h:285
bool TypeHasBeenSet() const
Definition FleetData.h:217
const Aws::Vector< Tag > & GetTags() const
Definition FleetData.h:295
void SetExcessCapacityTerminationPolicy(const FleetExcessCapacityTerminationPolicy &value)
Definition FleetData.h:135
FleetData & WithActivityStatus(const FleetActivityStatus &value)
Definition FleetData.h:68
void SetExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy &&value)
Definition FleetData.h:136
bool LaunchTemplateConfigsHasBeenSet() const
Definition FleetData.h:168
const Aws::Utils::DateTime & GetCreateTime() const
Definition FleetData.h:76
FleetData & AddInstances(DescribeFleetsInstances &&value)
Definition FleetData.h:332
FleetData & AddLaunchTemplateConfigs(const FleetLaunchTemplateConfig &value)
Definition FleetData.h:173
FleetData & WithFulfilledOnDemandCapacity(double value)
Definition FleetData.h:160
double GetFulfilledCapacity() const
Definition FleetData.h:146
FleetData & WithLaunchTemplateConfigs(Aws::Vector< FleetLaunchTemplateConfig > &&value)
Definition FleetData.h:172
void SetTargetCapacitySpecification(const TargetCapacitySpecification &value)
Definition FleetData.h:187
void SetCreateTime(const Aws::Utils::DateTime &value)
Definition FleetData.h:78
bool CreateTimeHasBeenSet() const
Definition FleetData.h:77
bool ValidFromHasBeenSet() const
Definition FleetData.h:231
FleetData & AddErrors(DescribeFleetError &&value)
Definition FleetData.h:317
FleetData & WithInstances(const Aws::Vector< DescribeFleetsInstances > &value)
Definition FleetData.h:329
bool FleetIdHasBeenSet() const
Definition FleetData.h:89
void SetOnDemandOptions(OnDemandOptions &&value)
Definition FleetData.h:286
void SetClientToken(const char *value)
Definition FleetData.h:121
FleetData & WithTargetCapacitySpecification(TargetCapacitySpecification &&value)
Definition FleetData.h:190
const Aws::Vector< DescribeFleetsInstances > & GetInstances() const
Definition FleetData.h:325
FleetData & AddTags(const Tag &value)
Definition FleetData.h:301
void SetContext(const Aws::String &value)
Definition FleetData.h:341
void SetContext(Aws::String &&value)
Definition FleetData.h:342
void SetErrors(const Aws::Vector< DescribeFleetError > &value)
Definition FleetData.h:312
bool GetTerminateInstancesWithExpiration() const
Definition FleetData.h:198
void SetValidFrom(Aws::Utils::DateTime &&value)
Definition FleetData.h:233
FleetData & WithClientToken(Aws::String &&value)
Definition FleetData.h:123
void SetTerminateInstancesWithExpiration(bool value)
Definition FleetData.h:200
void SetErrors(Aws::Vector< DescribeFleetError > &&value)
Definition FleetData.h:313
void SetClientToken(Aws::String &&value)
Definition FleetData.h:120
FleetData & WithErrors(Aws::Vector< DescribeFleetError > &&value)
Definition FleetData.h:315
FleetData & WithType(FleetType &&value)
Definition FleetData.h:221
bool InstancesHasBeenSet() const
Definition FleetData.h:326
const FleetExcessCapacityTerminationPolicy & GetExcessCapacityTerminationPolicy() const
Definition FleetData.h:133
bool FleetStateHasBeenSet() const
Definition FleetData.h:103
FleetData & WithClientToken(const Aws::String &value)
Definition FleetData.h:122
FleetData & WithFleetId(const char *value)
Definition FleetData.h:95
FleetData & WithReplaceUnhealthyInstances(bool value)
Definition FleetData.h:264
void SetFleetId(const char *value)
Definition FleetData.h:92
bool FulfilledOnDemandCapacityHasBeenSet() const
Definition FleetData.h:158
FleetData & AddErrors(const DescribeFleetError &value)
Definition FleetData.h:316
void SetFleetId(const Aws::String &value)
Definition FleetData.h:90
void SetValidFrom(const Aws::Utils::DateTime &value)
Definition FleetData.h:232
void SetFleetState(FleetStateCode &&value)
Definition FleetData.h:105
bool ValidUntilHasBeenSet() const
Definition FleetData.h:246
FleetData & WithValidFrom(Aws::Utils::DateTime &&value)
Definition FleetData.h:235
FleetData & WithSpotOptions(const SpotOptions &value)
Definition FleetData.h:275
FleetData & WithCreateTime(const Aws::Utils::DateTime &value)
Definition FleetData.h:80
void SetFleetState(const FleetStateCode &value)
Definition FleetData.h:104
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetFulfilledOnDemandCapacity(double value)
Definition FleetData.h:159
const Aws::String & GetClientToken() const
Definition FleetData.h:117
bool OnDemandOptionsHasBeenSet() const
Definition FleetData.h:284
const SpotOptions & GetSpotOptions() const
Definition FleetData.h:271
void SetType(FleetType &&value)
Definition FleetData.h:219
bool ExcessCapacityTerminationPolicyHasBeenSet() const
Definition FleetData.h:134
bool ContextHasBeenSet() const
Definition FleetData.h:340
FleetData & WithFleetState(const FleetStateCode &value)
Definition FleetData.h:106
FleetData & WithTags(Aws::Vector< Tag > &&value)
Definition FleetData.h:300
FleetData & WithExcessCapacityTerminationPolicy(const FleetExcessCapacityTerminationPolicy &value)
Definition FleetData.h:137
bool ClientTokenHasBeenSet() const
Definition FleetData.h:118
FleetData & WithTargetCapacitySpecification(const TargetCapacitySpecification &value)
Definition FleetData.h:189
FleetData & WithTags(const Aws::Vector< Tag > &value)
Definition FleetData.h:299
FleetData & WithOnDemandOptions(OnDemandOptions &&value)
Definition FleetData.h:288
void SetCreateTime(Aws::Utils::DateTime &&value)
Definition FleetData.h:79
FleetData & AddLaunchTemplateConfigs(FleetLaunchTemplateConfig &&value)
Definition FleetData.h:174
bool TagsHasBeenSet() const
Definition FleetData.h:296
FleetData & WithInstances(Aws::Vector< DescribeFleetsInstances > &&value)
Definition FleetData.h:330
FleetData & WithLaunchTemplateConfigs(const Aws::Vector< FleetLaunchTemplateConfig > &value)
Definition FleetData.h:171
bool FulfilledCapacityHasBeenSet() const
Definition FleetData.h:147
FleetData & WithOnDemandOptions(const OnDemandOptions &value)
Definition FleetData.h:287
FleetData & WithFleetId(Aws::String &&value)
Definition FleetData.h:94
void SetSpotOptions(SpotOptions &&value)
Definition FleetData.h:274
void SetInstances(const Aws::Vector< DescribeFleetsInstances > &value)
Definition FleetData.h:327
const Aws::Vector< FleetLaunchTemplateConfig > & GetLaunchTemplateConfigs() const
Definition FleetData.h:167
FleetData & WithContext(const Aws::String &value)
Definition FleetData.h:344
void SetLaunchTemplateConfigs(Aws::Vector< FleetLaunchTemplateConfig > &&value)
Definition FleetData.h:170
FleetData & WithContext(const char *value)
Definition FleetData.h:346
void SetClientToken(const Aws::String &value)
Definition FleetData.h:119
FleetData & WithFulfilledCapacity(double value)
Definition FleetData.h:149
void SetSpotOptions(const SpotOptions &value)
Definition FleetData.h:273
void SetTargetCapacitySpecification(TargetCapacitySpecification &&value)
Definition FleetData.h:188
FleetData & WithClientToken(const char *value)
Definition FleetData.h:124
FleetData & AddInstances(const DescribeFleetsInstances &value)
Definition FleetData.h:331
void SetContext(const char *value)
Definition FleetData.h:343
void SetTags(Aws::Vector< Tag > &&value)
Definition FleetData.h:298
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