AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FleetAttributes.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/model/FleetType.h>
10#include <aws/gamelift/model/EC2InstanceType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/gamelift/model/FleetStatus.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/gamelift/model/ProtectionPolicy.h>
15#include <aws/gamelift/model/OperatingSystem.h>
16#include <aws/gamelift/model/ResourceCreationLimitPolicy.h>
17#include <aws/gamelift/model/CertificateConfiguration.h>
18#include <aws/gamelift/model/ComputeType.h>
19#include <aws/gamelift/model/AnywhereConfiguration.h>
20#include <aws/gamelift/model/InstanceRoleCredentialsProvider.h>
21#include <aws/gamelift/model/ContainerGroupsAttributes.h>
22#include <aws/gamelift/model/FleetAction.h>
23#include <utility>
24
25namespace Aws
26{
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32 class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace GameLift
36{
37namespace Model
38{
39
58 {
59 public:
60 AWS_GAMELIFT_API FleetAttributes();
61 AWS_GAMELIFT_API FleetAttributes(Aws::Utils::Json::JsonView jsonValue);
63 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
64
65
67
70 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
71 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
72 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
73 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
74 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
75 inline FleetAttributes& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
76 inline FleetAttributes& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
77 inline FleetAttributes& WithFleetId(const char* value) { SetFleetId(value); return *this;}
79
81
90 inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
91 inline bool FleetArnHasBeenSet() const { return m_fleetArnHasBeenSet; }
92 inline void SetFleetArn(const Aws::String& value) { m_fleetArnHasBeenSet = true; m_fleetArn = value; }
93 inline void SetFleetArn(Aws::String&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::move(value); }
94 inline void SetFleetArn(const char* value) { m_fleetArnHasBeenSet = true; m_fleetArn.assign(value); }
95 inline FleetAttributes& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
96 inline FleetAttributes& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
97 inline FleetAttributes& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
99
101
108 inline const FleetType& GetFleetType() const{ return m_fleetType; }
109 inline bool FleetTypeHasBeenSet() const { return m_fleetTypeHasBeenSet; }
110 inline void SetFleetType(const FleetType& value) { m_fleetTypeHasBeenSet = true; m_fleetType = value; }
111 inline void SetFleetType(FleetType&& value) { m_fleetTypeHasBeenSet = true; m_fleetType = std::move(value); }
112 inline FleetAttributes& WithFleetType(const FleetType& value) { SetFleetType(value); return *this;}
113 inline FleetAttributes& WithFleetType(FleetType&& value) { SetFleetType(std::move(value)); return *this;}
115
117
125 inline const EC2InstanceType& GetInstanceType() const{ return m_instanceType; }
126 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
127 inline void SetInstanceType(const EC2InstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
128 inline void SetInstanceType(EC2InstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
129 inline FleetAttributes& WithInstanceType(const EC2InstanceType& value) { SetInstanceType(value); return *this;}
130 inline FleetAttributes& WithInstanceType(EC2InstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
132
134
137 inline const Aws::String& GetDescription() const{ return m_description; }
138 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
139 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
140 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
141 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
142 inline FleetAttributes& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
143 inline FleetAttributes& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
144 inline FleetAttributes& WithDescription(const char* value) { SetDescription(value); return *this;}
146
148
152 inline const Aws::String& GetName() const{ return m_name; }
153 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
154 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
155 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
156 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
157 inline FleetAttributes& WithName(const Aws::String& value) { SetName(value); return *this;}
158 inline FleetAttributes& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
159 inline FleetAttributes& WithName(const char* value) { SetName(value); return *this;}
161
163
168 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
169 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
170 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
171 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
172 inline FleetAttributes& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
173 inline FleetAttributes& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
175
177
182 inline const Aws::Utils::DateTime& GetTerminationTime() const{ return m_terminationTime; }
183 inline bool TerminationTimeHasBeenSet() const { return m_terminationTimeHasBeenSet; }
184 inline void SetTerminationTime(const Aws::Utils::DateTime& value) { m_terminationTimeHasBeenSet = true; m_terminationTime = value; }
185 inline void SetTerminationTime(Aws::Utils::DateTime&& value) { m_terminationTimeHasBeenSet = true; m_terminationTime = std::move(value); }
186 inline FleetAttributes& WithTerminationTime(const Aws::Utils::DateTime& value) { SetTerminationTime(value); return *this;}
187 inline FleetAttributes& WithTerminationTime(Aws::Utils::DateTime&& value) { SetTerminationTime(std::move(value)); return *this;}
189
191
206 inline const FleetStatus& GetStatus() const{ return m_status; }
207 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
208 inline void SetStatus(const FleetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
209 inline void SetStatus(FleetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
210 inline FleetAttributes& WithStatus(const FleetStatus& value) { SetStatus(value); return *this;}
211 inline FleetAttributes& WithStatus(FleetStatus&& value) { SetStatus(std::move(value)); return *this;}
213
215
220 inline const Aws::String& GetBuildId() const{ return m_buildId; }
221 inline bool BuildIdHasBeenSet() const { return m_buildIdHasBeenSet; }
222 inline void SetBuildId(const Aws::String& value) { m_buildIdHasBeenSet = true; m_buildId = value; }
223 inline void SetBuildId(Aws::String&& value) { m_buildIdHasBeenSet = true; m_buildId = std::move(value); }
224 inline void SetBuildId(const char* value) { m_buildIdHasBeenSet = true; m_buildId.assign(value); }
225 inline FleetAttributes& WithBuildId(const Aws::String& value) { SetBuildId(value); return *this;}
226 inline FleetAttributes& WithBuildId(Aws::String&& value) { SetBuildId(std::move(value)); return *this;}
227 inline FleetAttributes& WithBuildId(const char* value) { SetBuildId(value); return *this;}
229
231
239 inline const Aws::String& GetBuildArn() const{ return m_buildArn; }
240 inline bool BuildArnHasBeenSet() const { return m_buildArnHasBeenSet; }
241 inline void SetBuildArn(const Aws::String& value) { m_buildArnHasBeenSet = true; m_buildArn = value; }
242 inline void SetBuildArn(Aws::String&& value) { m_buildArnHasBeenSet = true; m_buildArn = std::move(value); }
243 inline void SetBuildArn(const char* value) { m_buildArnHasBeenSet = true; m_buildArn.assign(value); }
244 inline FleetAttributes& WithBuildArn(const Aws::String& value) { SetBuildArn(value); return *this;}
245 inline FleetAttributes& WithBuildArn(Aws::String&& value) { SetBuildArn(std::move(value)); return *this;}
246 inline FleetAttributes& WithBuildArn(const char* value) { SetBuildArn(value); return *this;}
248
250
255 inline const Aws::String& GetScriptId() const{ return m_scriptId; }
256 inline bool ScriptIdHasBeenSet() const { return m_scriptIdHasBeenSet; }
257 inline void SetScriptId(const Aws::String& value) { m_scriptIdHasBeenSet = true; m_scriptId = value; }
258 inline void SetScriptId(Aws::String&& value) { m_scriptIdHasBeenSet = true; m_scriptId = std::move(value); }
259 inline void SetScriptId(const char* value) { m_scriptIdHasBeenSet = true; m_scriptId.assign(value); }
260 inline FleetAttributes& WithScriptId(const Aws::String& value) { SetScriptId(value); return *this;}
261 inline FleetAttributes& WithScriptId(Aws::String&& value) { SetScriptId(std::move(value)); return *this;}
262 inline FleetAttributes& WithScriptId(const char* value) { SetScriptId(value); return *this;}
264
266
273 inline const Aws::String& GetScriptArn() const{ return m_scriptArn; }
274 inline bool ScriptArnHasBeenSet() const { return m_scriptArnHasBeenSet; }
275 inline void SetScriptArn(const Aws::String& value) { m_scriptArnHasBeenSet = true; m_scriptArn = value; }
276 inline void SetScriptArn(Aws::String&& value) { m_scriptArnHasBeenSet = true; m_scriptArn = std::move(value); }
277 inline void SetScriptArn(const char* value) { m_scriptArnHasBeenSet = true; m_scriptArn.assign(value); }
278 inline FleetAttributes& WithScriptArn(const Aws::String& value) { SetScriptArn(value); return *this;}
279 inline FleetAttributes& WithScriptArn(Aws::String&& value) { SetScriptArn(std::move(value)); return *this;}
280 inline FleetAttributes& WithScriptArn(const char* value) { SetScriptArn(value); return *this;}
282
284
290 inline const Aws::String& GetServerLaunchPath() const{ return m_serverLaunchPath; }
291 inline bool ServerLaunchPathHasBeenSet() const { return m_serverLaunchPathHasBeenSet; }
292 inline void SetServerLaunchPath(const Aws::String& value) { m_serverLaunchPathHasBeenSet = true; m_serverLaunchPath = value; }
293 inline void SetServerLaunchPath(Aws::String&& value) { m_serverLaunchPathHasBeenSet = true; m_serverLaunchPath = std::move(value); }
294 inline void SetServerLaunchPath(const char* value) { m_serverLaunchPathHasBeenSet = true; m_serverLaunchPath.assign(value); }
295 inline FleetAttributes& WithServerLaunchPath(const Aws::String& value) { SetServerLaunchPath(value); return *this;}
296 inline FleetAttributes& WithServerLaunchPath(Aws::String&& value) { SetServerLaunchPath(std::move(value)); return *this;}
297 inline FleetAttributes& WithServerLaunchPath(const char* value) { SetServerLaunchPath(value); return *this;}
299
301
306 inline const Aws::String& GetServerLaunchParameters() const{ return m_serverLaunchParameters; }
307 inline bool ServerLaunchParametersHasBeenSet() const { return m_serverLaunchParametersHasBeenSet; }
308 inline void SetServerLaunchParameters(const Aws::String& value) { m_serverLaunchParametersHasBeenSet = true; m_serverLaunchParameters = value; }
309 inline void SetServerLaunchParameters(Aws::String&& value) { m_serverLaunchParametersHasBeenSet = true; m_serverLaunchParameters = std::move(value); }
310 inline void SetServerLaunchParameters(const char* value) { m_serverLaunchParametersHasBeenSet = true; m_serverLaunchParameters.assign(value); }
312 inline FleetAttributes& WithServerLaunchParameters(Aws::String&& value) { SetServerLaunchParameters(std::move(value)); return *this;}
313 inline FleetAttributes& WithServerLaunchParameters(const char* value) { SetServerLaunchParameters(value); return *this;}
315
317
324 inline const Aws::Vector<Aws::String>& GetLogPaths() const{ return m_logPaths; }
325 inline bool LogPathsHasBeenSet() const { return m_logPathsHasBeenSet; }
326 inline void SetLogPaths(const Aws::Vector<Aws::String>& value) { m_logPathsHasBeenSet = true; m_logPaths = value; }
327 inline void SetLogPaths(Aws::Vector<Aws::String>&& value) { m_logPathsHasBeenSet = true; m_logPaths = std::move(value); }
328 inline FleetAttributes& WithLogPaths(const Aws::Vector<Aws::String>& value) { SetLogPaths(value); return *this;}
329 inline FleetAttributes& WithLogPaths(Aws::Vector<Aws::String>&& value) { SetLogPaths(std::move(value)); return *this;}
330 inline FleetAttributes& AddLogPaths(const Aws::String& value) { m_logPathsHasBeenSet = true; m_logPaths.push_back(value); return *this; }
331 inline FleetAttributes& AddLogPaths(Aws::String&& value) { m_logPathsHasBeenSet = true; m_logPaths.push_back(std::move(value)); return *this; }
332 inline FleetAttributes& AddLogPaths(const char* value) { m_logPathsHasBeenSet = true; m_logPaths.push_back(value); return *this; }
334
336
345 inline const ProtectionPolicy& GetNewGameSessionProtectionPolicy() const{ return m_newGameSessionProtectionPolicy; }
346 inline bool NewGameSessionProtectionPolicyHasBeenSet() const { return m_newGameSessionProtectionPolicyHasBeenSet; }
347 inline void SetNewGameSessionProtectionPolicy(const ProtectionPolicy& value) { m_newGameSessionProtectionPolicyHasBeenSet = true; m_newGameSessionProtectionPolicy = value; }
348 inline void SetNewGameSessionProtectionPolicy(ProtectionPolicy&& value) { m_newGameSessionProtectionPolicyHasBeenSet = true; m_newGameSessionProtectionPolicy = std::move(value); }
352
354
367 inline const OperatingSystem& GetOperatingSystem() const{ return m_operatingSystem; }
368 inline bool OperatingSystemHasBeenSet() const { return m_operatingSystemHasBeenSet; }
369 inline void SetOperatingSystem(const OperatingSystem& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = value; }
370 inline void SetOperatingSystem(OperatingSystem&& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = std::move(value); }
371 inline FleetAttributes& WithOperatingSystem(const OperatingSystem& value) { SetOperatingSystem(value); return *this;}
372 inline FleetAttributes& WithOperatingSystem(OperatingSystem&& value) { SetOperatingSystem(std::move(value)); return *this;}
374
376
377 inline const ResourceCreationLimitPolicy& GetResourceCreationLimitPolicy() const{ return m_resourceCreationLimitPolicy; }
378 inline bool ResourceCreationLimitPolicyHasBeenSet() const { return m_resourceCreationLimitPolicyHasBeenSet; }
379 inline void SetResourceCreationLimitPolicy(const ResourceCreationLimitPolicy& value) { m_resourceCreationLimitPolicyHasBeenSet = true; m_resourceCreationLimitPolicy = value; }
380 inline void SetResourceCreationLimitPolicy(ResourceCreationLimitPolicy&& value) { m_resourceCreationLimitPolicyHasBeenSet = true; m_resourceCreationLimitPolicy = std::move(value); }
384
386
393 inline const Aws::Vector<Aws::String>& GetMetricGroups() const{ return m_metricGroups; }
394 inline bool MetricGroupsHasBeenSet() const { return m_metricGroupsHasBeenSet; }
395 inline void SetMetricGroups(const Aws::Vector<Aws::String>& value) { m_metricGroupsHasBeenSet = true; m_metricGroups = value; }
396 inline void SetMetricGroups(Aws::Vector<Aws::String>&& value) { m_metricGroupsHasBeenSet = true; m_metricGroups = std::move(value); }
397 inline FleetAttributes& WithMetricGroups(const Aws::Vector<Aws::String>& value) { SetMetricGroups(value); return *this;}
398 inline FleetAttributes& WithMetricGroups(Aws::Vector<Aws::String>&& value) { SetMetricGroups(std::move(value)); return *this;}
399 inline FleetAttributes& AddMetricGroups(const Aws::String& value) { m_metricGroupsHasBeenSet = true; m_metricGroups.push_back(value); return *this; }
400 inline FleetAttributes& AddMetricGroups(Aws::String&& value) { m_metricGroupsHasBeenSet = true; m_metricGroups.push_back(std::move(value)); return *this; }
401 inline FleetAttributes& AddMetricGroups(const char* value) { m_metricGroupsHasBeenSet = true; m_metricGroups.push_back(value); return *this; }
403
405
411 inline const Aws::Vector<FleetAction>& GetStoppedActions() const{ return m_stoppedActions; }
412 inline bool StoppedActionsHasBeenSet() const { return m_stoppedActionsHasBeenSet; }
413 inline void SetStoppedActions(const Aws::Vector<FleetAction>& value) { m_stoppedActionsHasBeenSet = true; m_stoppedActions = value; }
414 inline void SetStoppedActions(Aws::Vector<FleetAction>&& value) { m_stoppedActionsHasBeenSet = true; m_stoppedActions = std::move(value); }
416 inline FleetAttributes& WithStoppedActions(Aws::Vector<FleetAction>&& value) { SetStoppedActions(std::move(value)); return *this;}
417 inline FleetAttributes& AddStoppedActions(const FleetAction& value) { m_stoppedActionsHasBeenSet = true; m_stoppedActions.push_back(value); return *this; }
418 inline FleetAttributes& AddStoppedActions(FleetAction&& value) { m_stoppedActionsHasBeenSet = true; m_stoppedActions.push_back(std::move(value)); return *this; }
420
422
434 inline const Aws::String& GetInstanceRoleArn() const{ return m_instanceRoleArn; }
435 inline bool InstanceRoleArnHasBeenSet() const { return m_instanceRoleArnHasBeenSet; }
436 inline void SetInstanceRoleArn(const Aws::String& value) { m_instanceRoleArnHasBeenSet = true; m_instanceRoleArn = value; }
437 inline void SetInstanceRoleArn(Aws::String&& value) { m_instanceRoleArnHasBeenSet = true; m_instanceRoleArn = std::move(value); }
438 inline void SetInstanceRoleArn(const char* value) { m_instanceRoleArnHasBeenSet = true; m_instanceRoleArn.assign(value); }
439 inline FleetAttributes& WithInstanceRoleArn(const Aws::String& value) { SetInstanceRoleArn(value); return *this;}
440 inline FleetAttributes& WithInstanceRoleArn(Aws::String&& value) { SetInstanceRoleArn(std::move(value)); return *this;}
441 inline FleetAttributes& WithInstanceRoleArn(const char* value) { SetInstanceRoleArn(value); return *this;}
443
445
450 inline const CertificateConfiguration& GetCertificateConfiguration() const{ return m_certificateConfiguration; }
451 inline bool CertificateConfigurationHasBeenSet() const { return m_certificateConfigurationHasBeenSet; }
452 inline void SetCertificateConfiguration(const CertificateConfiguration& value) { m_certificateConfigurationHasBeenSet = true; m_certificateConfiguration = value; }
453 inline void SetCertificateConfiguration(CertificateConfiguration&& value) { m_certificateConfigurationHasBeenSet = true; m_certificateConfiguration = std::move(value); }
457
459
464 inline const ComputeType& GetComputeType() const{ return m_computeType; }
465 inline bool ComputeTypeHasBeenSet() const { return m_computeTypeHasBeenSet; }
466 inline void SetComputeType(const ComputeType& value) { m_computeTypeHasBeenSet = true; m_computeType = value; }
467 inline void SetComputeType(ComputeType&& value) { m_computeTypeHasBeenSet = true; m_computeType = std::move(value); }
468 inline FleetAttributes& WithComputeType(const ComputeType& value) { SetComputeType(value); return *this;}
469 inline FleetAttributes& WithComputeType(ComputeType&& value) { SetComputeType(std::move(value)); return *this;}
471
473
480 inline const AnywhereConfiguration& GetAnywhereConfiguration() const{ return m_anywhereConfiguration; }
481 inline bool AnywhereConfigurationHasBeenSet() const { return m_anywhereConfigurationHasBeenSet; }
482 inline void SetAnywhereConfiguration(const AnywhereConfiguration& value) { m_anywhereConfigurationHasBeenSet = true; m_anywhereConfiguration = value; }
483 inline void SetAnywhereConfiguration(AnywhereConfiguration&& value) { m_anywhereConfigurationHasBeenSet = true; m_anywhereConfiguration = std::move(value); }
487
489
501 inline const InstanceRoleCredentialsProvider& GetInstanceRoleCredentialsProvider() const{ return m_instanceRoleCredentialsProvider; }
502 inline bool InstanceRoleCredentialsProviderHasBeenSet() const { return m_instanceRoleCredentialsProviderHasBeenSet; }
503 inline void SetInstanceRoleCredentialsProvider(const InstanceRoleCredentialsProvider& value) { m_instanceRoleCredentialsProviderHasBeenSet = true; m_instanceRoleCredentialsProvider = value; }
504 inline void SetInstanceRoleCredentialsProvider(InstanceRoleCredentialsProvider&& value) { m_instanceRoleCredentialsProviderHasBeenSet = true; m_instanceRoleCredentialsProvider = std::move(value); }
508
510
515 inline const ContainerGroupsAttributes& GetContainerGroupsAttributes() const{ return m_containerGroupsAttributes; }
516 inline bool ContainerGroupsAttributesHasBeenSet() const { return m_containerGroupsAttributesHasBeenSet; }
517 inline void SetContainerGroupsAttributes(const ContainerGroupsAttributes& value) { m_containerGroupsAttributesHasBeenSet = true; m_containerGroupsAttributes = value; }
518 inline void SetContainerGroupsAttributes(ContainerGroupsAttributes&& value) { m_containerGroupsAttributesHasBeenSet = true; m_containerGroupsAttributes = std::move(value); }
522 private:
523
524 Aws::String m_fleetId;
525 bool m_fleetIdHasBeenSet = false;
526
527 Aws::String m_fleetArn;
528 bool m_fleetArnHasBeenSet = false;
529
530 FleetType m_fleetType;
531 bool m_fleetTypeHasBeenSet = false;
532
533 EC2InstanceType m_instanceType;
534 bool m_instanceTypeHasBeenSet = false;
535
536 Aws::String m_description;
537 bool m_descriptionHasBeenSet = false;
538
539 Aws::String m_name;
540 bool m_nameHasBeenSet = false;
541
542 Aws::Utils::DateTime m_creationTime;
543 bool m_creationTimeHasBeenSet = false;
544
545 Aws::Utils::DateTime m_terminationTime;
546 bool m_terminationTimeHasBeenSet = false;
547
548 FleetStatus m_status;
549 bool m_statusHasBeenSet = false;
550
551 Aws::String m_buildId;
552 bool m_buildIdHasBeenSet = false;
553
554 Aws::String m_buildArn;
555 bool m_buildArnHasBeenSet = false;
556
557 Aws::String m_scriptId;
558 bool m_scriptIdHasBeenSet = false;
559
560 Aws::String m_scriptArn;
561 bool m_scriptArnHasBeenSet = false;
562
563 Aws::String m_serverLaunchPath;
564 bool m_serverLaunchPathHasBeenSet = false;
565
566 Aws::String m_serverLaunchParameters;
567 bool m_serverLaunchParametersHasBeenSet = false;
568
569 Aws::Vector<Aws::String> m_logPaths;
570 bool m_logPathsHasBeenSet = false;
571
572 ProtectionPolicy m_newGameSessionProtectionPolicy;
573 bool m_newGameSessionProtectionPolicyHasBeenSet = false;
574
575 OperatingSystem m_operatingSystem;
576 bool m_operatingSystemHasBeenSet = false;
577
578 ResourceCreationLimitPolicy m_resourceCreationLimitPolicy;
579 bool m_resourceCreationLimitPolicyHasBeenSet = false;
580
581 Aws::Vector<Aws::String> m_metricGroups;
582 bool m_metricGroupsHasBeenSet = false;
583
584 Aws::Vector<FleetAction> m_stoppedActions;
585 bool m_stoppedActionsHasBeenSet = false;
586
587 Aws::String m_instanceRoleArn;
588 bool m_instanceRoleArnHasBeenSet = false;
589
590 CertificateConfiguration m_certificateConfiguration;
591 bool m_certificateConfigurationHasBeenSet = false;
592
593 ComputeType m_computeType;
594 bool m_computeTypeHasBeenSet = false;
595
596 AnywhereConfiguration m_anywhereConfiguration;
597 bool m_anywhereConfigurationHasBeenSet = false;
598
599 InstanceRoleCredentialsProvider m_instanceRoleCredentialsProvider;
600 bool m_instanceRoleCredentialsProviderHasBeenSet = false;
601
602 ContainerGroupsAttributes m_containerGroupsAttributes;
603 bool m_containerGroupsAttributesHasBeenSet = false;
604 };
605
606} // namespace Model
607} // namespace GameLift
608} // namespace Aws
FleetAttributes & WithDescription(const char *value)
FleetAttributes & WithOperatingSystem(const OperatingSystem &value)
FleetAttributes & WithFleetArn(Aws::String &&value)
void SetTerminationTime(Aws::Utils::DateTime &&value)
const ContainerGroupsAttributes & GetContainerGroupsAttributes() const
FleetAttributes & WithCertificateConfiguration(CertificateConfiguration &&value)
FleetAttributes & WithServerLaunchPath(const Aws::String &value)
void SetInstanceRoleCredentialsProvider(const InstanceRoleCredentialsProvider &value)
const AnywhereConfiguration & GetAnywhereConfiguration() const
FleetAttributes & WithOperatingSystem(OperatingSystem &&value)
FleetAttributes & WithBuildArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetMetricGroups() const
void SetAnywhereConfiguration(const AnywhereConfiguration &value)
FleetAttributes & WithInstanceRoleArn(const Aws::String &value)
FleetAttributes & WithCreationTime(Aws::Utils::DateTime &&value)
void SetLogPaths(const Aws::Vector< Aws::String > &value)
FleetAttributes & WithStoppedActions(Aws::Vector< FleetAction > &&value)
FleetAttributes & WithCreationTime(const Aws::Utils::DateTime &value)
FleetAttributes & WithScriptId(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const EC2InstanceType & GetInstanceType() const
void SetCertificateConfiguration(CertificateConfiguration &&value)
void SetResourceCreationLimitPolicy(ResourceCreationLimitPolicy &&value)
const InstanceRoleCredentialsProvider & GetInstanceRoleCredentialsProvider() const
const Aws::String & GetServerLaunchParameters() const
FleetAttributes & WithDescription(const Aws::String &value)
FleetAttributes & WithName(const Aws::String &value)
const Aws::String & GetBuildArn() const
const FleetStatus & GetStatus() const
FleetAttributes & WithAnywhereConfiguration(AnywhereConfiguration &&value)
FleetAttributes & WithLogPaths(Aws::Vector< Aws::String > &&value)
void SetInstanceType(const EC2InstanceType &value)
void SetFleetType(const FleetType &value)
void SetBuildArn(const Aws::String &value)
void SetInstanceType(EC2InstanceType &&value)
void SetNewGameSessionProtectionPolicy(const ProtectionPolicy &value)
void SetDescription(Aws::String &&value)
void SetScriptArn(const Aws::String &value)
void SetFleetId(Aws::String &&value)
void SetScriptArn(Aws::String &&value)
AWS_GAMELIFT_API FleetAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetTerminationTime() const
void SetBuildId(Aws::String &&value)
void SetFleetArn(Aws::String &&value)
FleetAttributes & WithInstanceType(EC2InstanceType &&value)
void SetContainerGroupsAttributes(const ContainerGroupsAttributes &value)
void SetServerLaunchPath(const char *value)
FleetAttributes & AddMetricGroups(const Aws::String &value)
const ComputeType & GetComputeType() const
void SetStatus(const FleetStatus &value)
FleetAttributes & AddLogPaths(Aws::String &&value)
const Aws::Vector< Aws::String > & GetLogPaths() const
FleetAttributes & AddStoppedActions(const FleetAction &value)
FleetAttributes & WithInstanceRoleArn(const char *value)
FleetAttributes & WithMetricGroups(const Aws::Vector< Aws::String > &value)
FleetAttributes & WithStatus(const FleetStatus &value)
void SetName(const Aws::String &value)
FleetAttributes & WithFleetArn(const Aws::String &value)
void SetCertificateConfiguration(const CertificateConfiguration &value)
FleetAttributes & WithNewGameSessionProtectionPolicy(const ProtectionPolicy &value)
FleetAttributes & AddMetricGroups(Aws::String &&value)
FleetAttributes & WithInstanceRoleArn(Aws::String &&value)
FleetAttributes & WithBuildId(Aws::String &&value)
const CertificateConfiguration & GetCertificateConfiguration() const
FleetAttributes & WithBuildArn(const char *value)
FleetAttributes & WithFleetType(const FleetType &value)
FleetAttributes & AddLogPaths(const Aws::String &value)
FleetAttributes & WithScriptId(Aws::String &&value)
FleetAttributes & WithResourceCreationLimitPolicy(ResourceCreationLimitPolicy &&value)
void SetScriptId(Aws::String &&value)
FleetAttributes & WithFleetId(Aws::String &&value)
FleetAttributes & WithServerLaunchPath(Aws::String &&value)
FleetAttributes & WithBuildArn(Aws::String &&value)
void SetInstanceRoleCredentialsProvider(InstanceRoleCredentialsProvider &&value)
void SetComputeType(ComputeType &&value)
FleetAttributes & WithServerLaunchParameters(const Aws::String &value)
FleetAttributes & WithTerminationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetBuildId() const
void SetServerLaunchParameters(const Aws::String &value)
FleetAttributes & WithTerminationTime(const Aws::Utils::DateTime &value)
FleetAttributes & WithServerLaunchPath(const char *value)
void SetServerLaunchPath(Aws::String &&value)
AWS_GAMELIFT_API FleetAttributes(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
FleetAttributes & WithFleetArn(const char *value)
void SetServerLaunchParameters(const char *value)
void SetInstanceRoleArn(const char *value)
const ProtectionPolicy & GetNewGameSessionProtectionPolicy() const
FleetAttributes & WithFleetId(const char *value)
void SetFleetId(const Aws::String &value)
FleetAttributes & WithServerLaunchParameters(Aws::String &&value)
const Aws::String & GetScriptId() const
void SetMetricGroups(Aws::Vector< Aws::String > &&value)
FleetAttributes & WithDescription(Aws::String &&value)
FleetAttributes & WithFleetType(FleetType &&value)
void SetStatus(FleetStatus &&value)
FleetAttributes & WithCertificateConfiguration(const CertificateConfiguration &value)
FleetAttributes & WithBuildId(const Aws::String &value)
FleetAttributes & AddMetricGroups(const char *value)
const Aws::String & GetFleetId() const
FleetAttributes & WithInstanceType(const EC2InstanceType &value)
FleetAttributes & AddLogPaths(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetMetricGroups(const Aws::Vector< Aws::String > &value)
void SetFleetArn(const Aws::String &value)
const FleetType & GetFleetType() const
void SetAnywhereConfiguration(AnywhereConfiguration &&value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
FleetAttributes & WithInstanceRoleCredentialsProvider(InstanceRoleCredentialsProvider &&value)
const Aws::String & GetInstanceRoleArn() const
FleetAttributes & WithScriptArn(Aws::String &&value)
FleetAttributes & WithContainerGroupsAttributes(ContainerGroupsAttributes &&value)
FleetAttributes & WithLogPaths(const Aws::Vector< Aws::String > &value)
void SetNewGameSessionProtectionPolicy(ProtectionPolicy &&value)
FleetAttributes & WithNewGameSessionProtectionPolicy(ProtectionPolicy &&value)
FleetAttributes & WithAnywhereConfiguration(const AnywhereConfiguration &value)
const Aws::String & GetName() const
const Aws::String & GetServerLaunchPath() const
void SetStoppedActions(const Aws::Vector< FleetAction > &value)
void SetStoppedActions(Aws::Vector< FleetAction > &&value)
void SetBuildId(const Aws::String &value)
FleetAttributes & WithStatus(FleetStatus &&value)
FleetAttributes & WithFleetId(const Aws::String &value)
FleetAttributes & WithStoppedActions(const Aws::Vector< FleetAction > &value)
FleetAttributes & AddStoppedActions(FleetAction &&value)
void SetOperatingSystem(OperatingSystem &&value)
FleetAttributes & WithContainerGroupsAttributes(const ContainerGroupsAttributes &value)
void SetDescription(const Aws::String &value)
const OperatingSystem & GetOperatingSystem() const
FleetAttributes & WithScriptId(const char *value)
const Aws::Vector< FleetAction > & GetStoppedActions() const
void SetResourceCreationLimitPolicy(const ResourceCreationLimitPolicy &value)
FleetAttributes & WithScriptArn(const Aws::String &value)
FleetAttributes & WithComputeType(ComputeType &&value)
void SetScriptId(const Aws::String &value)
FleetAttributes & WithScriptArn(const char *value)
FleetAttributes & WithServerLaunchParameters(const char *value)
FleetAttributes & WithName(Aws::String &&value)
FleetAttributes & WithInstanceRoleCredentialsProvider(const InstanceRoleCredentialsProvider &value)
const Aws::String & GetScriptArn() const
void SetInstanceRoleArn(const Aws::String &value)
const ResourceCreationLimitPolicy & GetResourceCreationLimitPolicy() const
void SetInstanceRoleArn(Aws::String &&value)
FleetAttributes & WithMetricGroups(Aws::Vector< Aws::String > &&value)
const Aws::String & GetDescription() const
void SetOperatingSystem(const OperatingSystem &value)
void SetTerminationTime(const Aws::Utils::DateTime &value)
FleetAttributes & WithResourceCreationLimitPolicy(const ResourceCreationLimitPolicy &value)
void SetContainerGroupsAttributes(ContainerGroupsAttributes &&value)
const Aws::String & GetFleetArn() const
FleetAttributes & WithBuildId(const char *value)
FleetAttributes & WithComputeType(const ComputeType &value)
void SetLogPaths(Aws::Vector< Aws::String > &&value)
void SetComputeType(const ComputeType &value)
FleetAttributes & WithName(const char *value)
void SetBuildArn(Aws::String &&value)
void SetServerLaunchParameters(Aws::String &&value)
void SetServerLaunchPath(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue