AWS SDK for C++

AWS SDK for C++ Version 1.11.851

Loading...
Searching...
No Matches
FleetAttributes.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/gamelift/GameLift_EXPORTS.h>
12#include <aws/gamelift/model/AnywhereConfiguration.h>
13#include <aws/gamelift/model/CertificateConfiguration.h>
14#include <aws/gamelift/model/ComputeType.h>
15#include <aws/gamelift/model/EC2InstanceType.h>
16#include <aws/gamelift/model/FleetAction.h>
17#include <aws/gamelift/model/FleetStatus.h>
18#include <aws/gamelift/model/FleetType.h>
19#include <aws/gamelift/model/InstanceRoleCredentialsProvider.h>
20#include <aws/gamelift/model/OperatingSystem.h>
21#include <aws/gamelift/model/PlayerGatewayConfiguration.h>
22#include <aws/gamelift/model/PlayerGatewayMode.h>
23#include <aws/gamelift/model/ProtectionPolicy.h>
24#include <aws/gamelift/model/ResourceCreationLimitPolicy.h>
25
26#include <utility>
27
28namespace Aws {
29namespace Utils {
30namespace Cbor {
31class CborValue;
32} // namespace Cbor
33} // namespace Utils
34namespace GameLift {
35namespace Model {
36
53 public:
54 AWS_GAMELIFT_API FleetAttributes() = default;
55 AWS_GAMELIFT_API FleetAttributes(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
56 AWS_GAMELIFT_API FleetAttributes& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
57 AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
58
60
63 inline const Aws::String& GetFleetId() const { return m_fleetId; }
64 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
65 template <typename FleetIdT = Aws::String>
66 void SetFleetId(FleetIdT&& value) {
67 m_fleetIdHasBeenSet = true;
68 m_fleetId = std::forward<FleetIdT>(value);
69 }
70 template <typename FleetIdT = Aws::String>
71 FleetAttributes& WithFleetId(FleetIdT&& value) {
72 SetFleetId(std::forward<FleetIdT>(value));
73 return *this;
74 }
76
78
87 inline const Aws::String& GetFleetArn() const { return m_fleetArn; }
88 inline bool FleetArnHasBeenSet() const { return m_fleetArnHasBeenSet; }
89 template <typename FleetArnT = Aws::String>
90 void SetFleetArn(FleetArnT&& value) {
91 m_fleetArnHasBeenSet = true;
92 m_fleetArn = std::forward<FleetArnT>(value);
93 }
94 template <typename FleetArnT = Aws::String>
95 FleetAttributes& WithFleetArn(FleetArnT&& value) {
96 SetFleetArn(std::forward<FleetArnT>(value));
97 return *this;
98 }
100
102
109 inline FleetType GetFleetType() const { return m_fleetType; }
110 inline bool FleetTypeHasBeenSet() const { return m_fleetTypeHasBeenSet; }
111 inline void SetFleetType(FleetType value) {
112 m_fleetTypeHasBeenSet = true;
113 m_fleetType = value;
114 }
116 SetFleetType(value);
117 return *this;
118 }
120
122
130 inline EC2InstanceType GetInstanceType() const { return m_instanceType; }
131 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
132 inline void SetInstanceType(EC2InstanceType value) {
133 m_instanceTypeHasBeenSet = true;
134 m_instanceType = value;
135 }
137 SetInstanceType(value);
138 return *this;
139 }
141
143
146 inline const Aws::String& GetDescription() const { return m_description; }
147 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
148 template <typename DescriptionT = Aws::String>
149 void SetDescription(DescriptionT&& value) {
150 m_descriptionHasBeenSet = true;
151 m_description = std::forward<DescriptionT>(value);
152 }
153 template <typename DescriptionT = Aws::String>
154 FleetAttributes& WithDescription(DescriptionT&& value) {
155 SetDescription(std::forward<DescriptionT>(value));
156 return *this;
157 }
159
161
165 inline const Aws::String& GetName() const { return m_name; }
166 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
167 template <typename NameT = Aws::String>
168 void SetName(NameT&& value) {
169 m_nameHasBeenSet = true;
170 m_name = std::forward<NameT>(value);
171 }
172 template <typename NameT = Aws::String>
173 FleetAttributes& WithName(NameT&& value) {
174 SetName(std::forward<NameT>(value));
175 return *this;
176 }
178
180
185 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
186 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
187 template <typename CreationTimeT = Aws::Utils::DateTime>
188 void SetCreationTime(CreationTimeT&& value) {
189 m_creationTimeHasBeenSet = true;
190 m_creationTime = std::forward<CreationTimeT>(value);
191 }
192 template <typename CreationTimeT = Aws::Utils::DateTime>
193 FleetAttributes& WithCreationTime(CreationTimeT&& value) {
194 SetCreationTime(std::forward<CreationTimeT>(value));
195 return *this;
196 }
198
200
205 inline const Aws::Utils::DateTime& GetTerminationTime() const { return m_terminationTime; }
206 inline bool TerminationTimeHasBeenSet() const { return m_terminationTimeHasBeenSet; }
207 template <typename TerminationTimeT = Aws::Utils::DateTime>
208 void SetTerminationTime(TerminationTimeT&& value) {
209 m_terminationTimeHasBeenSet = true;
210 m_terminationTime = std::forward<TerminationTimeT>(value);
211 }
212 template <typename TerminationTimeT = Aws::Utils::DateTime>
213 FleetAttributes& WithTerminationTime(TerminationTimeT&& value) {
214 SetTerminationTime(std::forward<TerminationTimeT>(value));
215 return *this;
216 }
218
220
237 inline FleetStatus GetStatus() const { return m_status; }
238 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
239 inline void SetStatus(FleetStatus value) {
240 m_statusHasBeenSet = true;
241 m_status = value;
242 }
244 SetStatus(value);
245 return *this;
246 }
248
250
255 inline const Aws::String& GetBuildId() const { return m_buildId; }
256 inline bool BuildIdHasBeenSet() const { return m_buildIdHasBeenSet; }
257 template <typename BuildIdT = Aws::String>
258 void SetBuildId(BuildIdT&& value) {
259 m_buildIdHasBeenSet = true;
260 m_buildId = std::forward<BuildIdT>(value);
261 }
262 template <typename BuildIdT = Aws::String>
263 FleetAttributes& WithBuildId(BuildIdT&& value) {
264 SetBuildId(std::forward<BuildIdT>(value));
265 return *this;
266 }
268
270
278 inline const Aws::String& GetBuildArn() const { return m_buildArn; }
279 inline bool BuildArnHasBeenSet() const { return m_buildArnHasBeenSet; }
280 template <typename BuildArnT = Aws::String>
281 void SetBuildArn(BuildArnT&& value) {
282 m_buildArnHasBeenSet = true;
283 m_buildArn = std::forward<BuildArnT>(value);
284 }
285 template <typename BuildArnT = Aws::String>
286 FleetAttributes& WithBuildArn(BuildArnT&& value) {
287 SetBuildArn(std::forward<BuildArnT>(value));
288 return *this;
289 }
291
293
298 inline const Aws::String& GetScriptId() const { return m_scriptId; }
299 inline bool ScriptIdHasBeenSet() const { return m_scriptIdHasBeenSet; }
300 template <typename ScriptIdT = Aws::String>
301 void SetScriptId(ScriptIdT&& value) {
302 m_scriptIdHasBeenSet = true;
303 m_scriptId = std::forward<ScriptIdT>(value);
304 }
305 template <typename ScriptIdT = Aws::String>
306 FleetAttributes& WithScriptId(ScriptIdT&& value) {
307 SetScriptId(std::forward<ScriptIdT>(value));
308 return *this;
309 }
311
313
320 inline const Aws::String& GetScriptArn() const { return m_scriptArn; }
321 inline bool ScriptArnHasBeenSet() const { return m_scriptArnHasBeenSet; }
322 template <typename ScriptArnT = Aws::String>
323 void SetScriptArn(ScriptArnT&& value) {
324 m_scriptArnHasBeenSet = true;
325 m_scriptArn = std::forward<ScriptArnT>(value);
326 }
327 template <typename ScriptArnT = Aws::String>
328 FleetAttributes& WithScriptArn(ScriptArnT&& value) {
329 SetScriptArn(std::forward<ScriptArnT>(value));
330 return *this;
331 }
333
335
341 inline const Aws::String& GetServerLaunchPath() const { return m_serverLaunchPath; }
342 inline bool ServerLaunchPathHasBeenSet() const { return m_serverLaunchPathHasBeenSet; }
343 template <typename ServerLaunchPathT = Aws::String>
344 void SetServerLaunchPath(ServerLaunchPathT&& value) {
345 m_serverLaunchPathHasBeenSet = true;
346 m_serverLaunchPath = std::forward<ServerLaunchPathT>(value);
347 }
348 template <typename ServerLaunchPathT = Aws::String>
349 FleetAttributes& WithServerLaunchPath(ServerLaunchPathT&& value) {
350 SetServerLaunchPath(std::forward<ServerLaunchPathT>(value));
351 return *this;
352 }
354
356
361 inline const Aws::String& GetServerLaunchParameters() const { return m_serverLaunchParameters; }
362 inline bool ServerLaunchParametersHasBeenSet() const { return m_serverLaunchParametersHasBeenSet; }
363 template <typename ServerLaunchParametersT = Aws::String>
364 void SetServerLaunchParameters(ServerLaunchParametersT&& value) {
365 m_serverLaunchParametersHasBeenSet = true;
366 m_serverLaunchParameters = std::forward<ServerLaunchParametersT>(value);
367 }
368 template <typename ServerLaunchParametersT = Aws::String>
369 FleetAttributes& WithServerLaunchParameters(ServerLaunchParametersT&& value) {
370 SetServerLaunchParameters(std::forward<ServerLaunchParametersT>(value));
371 return *this;
372 }
374
376
383 inline const Aws::Vector<Aws::String>& GetLogPaths() const { return m_logPaths; }
384 inline bool LogPathsHasBeenSet() const { return m_logPathsHasBeenSet; }
385 template <typename LogPathsT = Aws::Vector<Aws::String>>
386 void SetLogPaths(LogPathsT&& value) {
387 m_logPathsHasBeenSet = true;
388 m_logPaths = std::forward<LogPathsT>(value);
389 }
390 template <typename LogPathsT = Aws::Vector<Aws::String>>
391 FleetAttributes& WithLogPaths(LogPathsT&& value) {
392 SetLogPaths(std::forward<LogPathsT>(value));
393 return *this;
394 }
395 template <typename LogPathsT = Aws::String>
396 FleetAttributes& AddLogPaths(LogPathsT&& value) {
397 m_logPathsHasBeenSet = true;
398 m_logPaths.emplace_back(std::forward<LogPathsT>(value));
399 return *this;
400 }
402
404
413 inline ProtectionPolicy GetNewGameSessionProtectionPolicy() const { return m_newGameSessionProtectionPolicy; }
414 inline bool NewGameSessionProtectionPolicyHasBeenSet() const { return m_newGameSessionProtectionPolicyHasBeenSet; }
416 m_newGameSessionProtectionPolicyHasBeenSet = true;
417 m_newGameSessionProtectionPolicy = value;
418 }
421 return *this;
422 }
424
426
439 inline OperatingSystem GetOperatingSystem() const { return m_operatingSystem; }
440 inline bool OperatingSystemHasBeenSet() const { return m_operatingSystemHasBeenSet; }
442 m_operatingSystemHasBeenSet = true;
443 m_operatingSystem = value;
444 }
446 SetOperatingSystem(value);
447 return *this;
448 }
450
452
453 inline const ResourceCreationLimitPolicy& GetResourceCreationLimitPolicy() const { return m_resourceCreationLimitPolicy; }
454 inline bool ResourceCreationLimitPolicyHasBeenSet() const { return m_resourceCreationLimitPolicyHasBeenSet; }
455 template <typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
456 void SetResourceCreationLimitPolicy(ResourceCreationLimitPolicyT&& value) {
457 m_resourceCreationLimitPolicyHasBeenSet = true;
458 m_resourceCreationLimitPolicy = std::forward<ResourceCreationLimitPolicyT>(value);
459 }
460 template <typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
461 FleetAttributes& WithResourceCreationLimitPolicy(ResourceCreationLimitPolicyT&& value) {
462 SetResourceCreationLimitPolicy(std::forward<ResourceCreationLimitPolicyT>(value));
463 return *this;
464 }
466
468
475 inline const Aws::Vector<Aws::String>& GetMetricGroups() const { return m_metricGroups; }
476 inline bool MetricGroupsHasBeenSet() const { return m_metricGroupsHasBeenSet; }
477 template <typename MetricGroupsT = Aws::Vector<Aws::String>>
478 void SetMetricGroups(MetricGroupsT&& value) {
479 m_metricGroupsHasBeenSet = true;
480 m_metricGroups = std::forward<MetricGroupsT>(value);
481 }
482 template <typename MetricGroupsT = Aws::Vector<Aws::String>>
483 FleetAttributes& WithMetricGroups(MetricGroupsT&& value) {
484 SetMetricGroups(std::forward<MetricGroupsT>(value));
485 return *this;
486 }
487 template <typename MetricGroupsT = Aws::String>
488 FleetAttributes& AddMetricGroups(MetricGroupsT&& value) {
489 m_metricGroupsHasBeenSet = true;
490 m_metricGroups.emplace_back(std::forward<MetricGroupsT>(value));
491 return *this;
492 }
494
496
502 inline const Aws::Vector<FleetAction>& GetStoppedActions() const { return m_stoppedActions; }
503 inline bool StoppedActionsHasBeenSet() const { return m_stoppedActionsHasBeenSet; }
504 template <typename StoppedActionsT = Aws::Vector<FleetAction>>
505 void SetStoppedActions(StoppedActionsT&& value) {
506 m_stoppedActionsHasBeenSet = true;
507 m_stoppedActions = std::forward<StoppedActionsT>(value);
508 }
509 template <typename StoppedActionsT = Aws::Vector<FleetAction>>
510 FleetAttributes& WithStoppedActions(StoppedActionsT&& value) {
511 SetStoppedActions(std::forward<StoppedActionsT>(value));
512 return *this;
513 }
515 m_stoppedActionsHasBeenSet = true;
516 m_stoppedActions.push_back(value);
517 return *this;
518 }
520
522
534 inline const Aws::String& GetInstanceRoleArn() const { return m_instanceRoleArn; }
535 inline bool InstanceRoleArnHasBeenSet() const { return m_instanceRoleArnHasBeenSet; }
536 template <typename InstanceRoleArnT = Aws::String>
537 void SetInstanceRoleArn(InstanceRoleArnT&& value) {
538 m_instanceRoleArnHasBeenSet = true;
539 m_instanceRoleArn = std::forward<InstanceRoleArnT>(value);
540 }
541 template <typename InstanceRoleArnT = Aws::String>
542 FleetAttributes& WithInstanceRoleArn(InstanceRoleArnT&& value) {
543 SetInstanceRoleArn(std::forward<InstanceRoleArnT>(value));
544 return *this;
545 }
547
549
554 inline const CertificateConfiguration& GetCertificateConfiguration() const { return m_certificateConfiguration; }
555 inline bool CertificateConfigurationHasBeenSet() const { return m_certificateConfigurationHasBeenSet; }
556 template <typename CertificateConfigurationT = CertificateConfiguration>
557 void SetCertificateConfiguration(CertificateConfigurationT&& value) {
558 m_certificateConfigurationHasBeenSet = true;
559 m_certificateConfiguration = std::forward<CertificateConfigurationT>(value);
560 }
561 template <typename CertificateConfigurationT = CertificateConfiguration>
562 FleetAttributes& WithCertificateConfiguration(CertificateConfigurationT&& value) {
563 SetCertificateConfiguration(std::forward<CertificateConfigurationT>(value));
564 return *this;
565 }
567
569
574 inline ComputeType GetComputeType() const { return m_computeType; }
575 inline bool ComputeTypeHasBeenSet() const { return m_computeTypeHasBeenSet; }
576 inline void SetComputeType(ComputeType value) {
577 m_computeTypeHasBeenSet = true;
578 m_computeType = value;
579 }
581 SetComputeType(value);
582 return *this;
583 }
585
587
590 inline const AnywhereConfiguration& GetAnywhereConfiguration() const { return m_anywhereConfiguration; }
591 inline bool AnywhereConfigurationHasBeenSet() const { return m_anywhereConfigurationHasBeenSet; }
592 template <typename AnywhereConfigurationT = AnywhereConfiguration>
593 void SetAnywhereConfiguration(AnywhereConfigurationT&& value) {
594 m_anywhereConfigurationHasBeenSet = true;
595 m_anywhereConfiguration = std::forward<AnywhereConfigurationT>(value);
596 }
597 template <typename AnywhereConfigurationT = AnywhereConfiguration>
598 FleetAttributes& WithAnywhereConfiguration(AnywhereConfigurationT&& value) {
599 SetAnywhereConfiguration(std::forward<AnywhereConfigurationT>(value));
600 return *this;
601 }
603
605
617 inline InstanceRoleCredentialsProvider GetInstanceRoleCredentialsProvider() const { return m_instanceRoleCredentialsProvider; }
618 inline bool InstanceRoleCredentialsProviderHasBeenSet() const { return m_instanceRoleCredentialsProviderHasBeenSet; }
620 m_instanceRoleCredentialsProviderHasBeenSet = true;
621 m_instanceRoleCredentialsProvider = value;
622 }
625 return *this;
626 }
628
630
638 inline PlayerGatewayMode GetPlayerGatewayMode() const { return m_playerGatewayMode; }
639 inline bool PlayerGatewayModeHasBeenSet() const { return m_playerGatewayModeHasBeenSet; }
641 m_playerGatewayModeHasBeenSet = true;
642 m_playerGatewayMode = value;
643 }
646 return *this;
647 }
649
651
654 inline const PlayerGatewayConfiguration& GetPlayerGatewayConfiguration() const { return m_playerGatewayConfiguration; }
655 inline bool PlayerGatewayConfigurationHasBeenSet() const { return m_playerGatewayConfigurationHasBeenSet; }
656 template <typename PlayerGatewayConfigurationT = PlayerGatewayConfiguration>
657 void SetPlayerGatewayConfiguration(PlayerGatewayConfigurationT&& value) {
658 m_playerGatewayConfigurationHasBeenSet = true;
659 m_playerGatewayConfiguration = std::forward<PlayerGatewayConfigurationT>(value);
660 }
661 template <typename PlayerGatewayConfigurationT = PlayerGatewayConfiguration>
662 FleetAttributes& WithPlayerGatewayConfiguration(PlayerGatewayConfigurationT&& value) {
663 SetPlayerGatewayConfiguration(std::forward<PlayerGatewayConfigurationT>(value));
664 return *this;
665 }
667 private:
668 Aws::String m_fleetId;
669
670 Aws::String m_fleetArn;
671
672 FleetType m_fleetType{FleetType::NOT_SET};
673
675
676 Aws::String m_description;
677
678 Aws::String m_name;
679
680 Aws::Utils::DateTime m_creationTime{};
681
682 Aws::Utils::DateTime m_terminationTime{};
683
685
686 Aws::String m_buildId;
687
688 Aws::String m_buildArn;
689
690 Aws::String m_scriptId;
691
692 Aws::String m_scriptArn;
693
694 Aws::String m_serverLaunchPath;
695
696 Aws::String m_serverLaunchParameters;
697
698 Aws::Vector<Aws::String> m_logPaths;
699
700 ProtectionPolicy m_newGameSessionProtectionPolicy{ProtectionPolicy::NOT_SET};
701
702 OperatingSystem m_operatingSystem{OperatingSystem::NOT_SET};
703
704 ResourceCreationLimitPolicy m_resourceCreationLimitPolicy;
705
706 Aws::Vector<Aws::String> m_metricGroups;
707
708 Aws::Vector<FleetAction> m_stoppedActions;
709
710 Aws::String m_instanceRoleArn;
711
712 CertificateConfiguration m_certificateConfiguration;
713
714 ComputeType m_computeType{ComputeType::NOT_SET};
715
716 AnywhereConfiguration m_anywhereConfiguration;
717
719
721
722 PlayerGatewayConfiguration m_playerGatewayConfiguration;
723 bool m_fleetIdHasBeenSet = false;
724 bool m_fleetArnHasBeenSet = false;
725 bool m_fleetTypeHasBeenSet = false;
726 bool m_instanceTypeHasBeenSet = false;
727 bool m_descriptionHasBeenSet = false;
728 bool m_nameHasBeenSet = false;
729 bool m_creationTimeHasBeenSet = false;
730 bool m_terminationTimeHasBeenSet = false;
731 bool m_statusHasBeenSet = false;
732 bool m_buildIdHasBeenSet = false;
733 bool m_buildArnHasBeenSet = false;
734 bool m_scriptIdHasBeenSet = false;
735 bool m_scriptArnHasBeenSet = false;
736 bool m_serverLaunchPathHasBeenSet = false;
737 bool m_serverLaunchParametersHasBeenSet = false;
738 bool m_logPathsHasBeenSet = false;
739 bool m_newGameSessionProtectionPolicyHasBeenSet = false;
740 bool m_operatingSystemHasBeenSet = false;
741 bool m_resourceCreationLimitPolicyHasBeenSet = false;
742 bool m_metricGroupsHasBeenSet = false;
743 bool m_stoppedActionsHasBeenSet = false;
744 bool m_instanceRoleArnHasBeenSet = false;
745 bool m_certificateConfigurationHasBeenSet = false;
746 bool m_computeTypeHasBeenSet = false;
747 bool m_anywhereConfigurationHasBeenSet = false;
748 bool m_instanceRoleCredentialsProviderHasBeenSet = false;
749 bool m_playerGatewayModeHasBeenSet = false;
750 bool m_playerGatewayConfigurationHasBeenSet = false;
751};
752
753} // namespace Model
754} // namespace GameLift
755} // namespace Aws
FleetAttributes & WithLogPaths(LogPathsT &&value)
void SetCertificateConfiguration(CertificateConfigurationT &&value)
const AnywhereConfiguration & GetAnywhereConfiguration() const
FleetAttributes & WithInstanceType(EC2InstanceType value)
FleetAttributes & AddStoppedActions(FleetAction value)
void SetTerminationTime(TerminationTimeT &&value)
const Aws::Vector< Aws::String > & GetMetricGroups() const
void SetPlayerGatewayConfiguration(PlayerGatewayConfigurationT &&value)
FleetAttributes & WithPlayerGatewayConfiguration(PlayerGatewayConfigurationT &&value)
void SetInstanceType(EC2InstanceType value)
const Aws::String & GetServerLaunchParameters() const
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
FleetAttributes & WithResourceCreationLimitPolicy(ResourceCreationLimitPolicyT &&value)
FleetAttributes & WithPlayerGatewayMode(PlayerGatewayMode value)
const Aws::String & GetBuildArn() const
FleetAttributes & WithName(NameT &&value)
FleetAttributes & WithStoppedActions(StoppedActionsT &&value)
const Aws::Utils::DateTime & GetTerminationTime() const
const PlayerGatewayConfiguration & GetPlayerGatewayConfiguration() const
void SetAnywhereConfiguration(AnywhereConfigurationT &&value)
EC2InstanceType GetInstanceType() const
const Aws::Vector< Aws::String > & GetLogPaths() const
FleetAttributes & WithBuildArn(BuildArnT &&value)
FleetAttributes & WithOperatingSystem(OperatingSystem value)
const CertificateConfiguration & GetCertificateConfiguration() const
void SetDescription(DescriptionT &&value)
void SetMetricGroups(MetricGroupsT &&value)
InstanceRoleCredentialsProvider GetInstanceRoleCredentialsProvider() const
FleetAttributes & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetBuildId() const
FleetAttributes & WithDescription(DescriptionT &&value)
AWS_GAMELIFT_API FleetAttributes & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_GAMELIFT_API FleetAttributes(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
FleetAttributes & WithBuildId(BuildIdT &&value)
PlayerGatewayMode GetPlayerGatewayMode() const
const Aws::Utils::DateTime & GetCreationTime() const
FleetAttributes & WithCertificateConfiguration(CertificateConfigurationT &&value)
void SetStoppedActions(StoppedActionsT &&value)
FleetAttributes & WithComputeType(ComputeType value)
FleetAttributes & WithScriptId(ScriptIdT &&value)
FleetAttributes & WithTerminationTime(TerminationTimeT &&value)
FleetAttributes & AddMetricGroups(MetricGroupsT &&value)
void SetOperatingSystem(OperatingSystem value)
void SetServerLaunchPath(ServerLaunchPathT &&value)
const Aws::String & GetScriptId() const
FleetAttributes & WithStatus(FleetStatus value)
void SetInstanceRoleCredentialsProvider(InstanceRoleCredentialsProvider value)
FleetAttributes & WithInstanceRoleArn(InstanceRoleArnT &&value)
const Aws::String & GetFleetId() const
ProtectionPolicy GetNewGameSessionProtectionPolicy() const
FleetAttributes & WithAnywhereConfiguration(AnywhereConfigurationT &&value)
FleetAttributes & WithServerLaunchPath(ServerLaunchPathT &&value)
FleetAttributes & WithFleetType(FleetType value)
FleetAttributes & WithInstanceRoleCredentialsProvider(InstanceRoleCredentialsProvider value)
AWS_GAMELIFT_API FleetAttributes()=default
const Aws::String & GetInstanceRoleArn() const
const Aws::String & GetName() const
FleetAttributes & AddLogPaths(LogPathsT &&value)
const Aws::String & GetServerLaunchPath() const
void SetInstanceRoleArn(InstanceRoleArnT &&value)
OperatingSystem GetOperatingSystem() const
FleetAttributes & WithServerLaunchParameters(ServerLaunchParametersT &&value)
FleetAttributes & WithNewGameSessionProtectionPolicy(ProtectionPolicy value)
void SetPlayerGatewayMode(PlayerGatewayMode value)
const Aws::Vector< FleetAction > & GetStoppedActions() const
void SetCreationTime(CreationTimeT &&value)
void SetScriptArn(ScriptArnT &&value)
FleetAttributes & WithScriptArn(ScriptArnT &&value)
const Aws::String & GetScriptArn() const
const ResourceCreationLimitPolicy & GetResourceCreationLimitPolicy() const
const Aws::String & GetDescription() const
void SetServerLaunchParameters(ServerLaunchParametersT &&value)
FleetAttributes & WithMetricGroups(MetricGroupsT &&value)
void SetResourceCreationLimitPolicy(ResourceCreationLimitPolicyT &&value)
void SetNewGameSessionProtectionPolicy(ProtectionPolicy value)
const Aws::String & GetFleetArn() const
FleetAttributes & WithFleetId(FleetIdT &&value)
FleetAttributes & WithFleetArn(FleetArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector