AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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/gamelift/GameLift_EXPORTS.h>
11#include <aws/gamelift/model/AnywhereConfiguration.h>
12#include <aws/gamelift/model/CertificateConfiguration.h>
13#include <aws/gamelift/model/ComputeType.h>
14#include <aws/gamelift/model/EC2InstanceType.h>
15#include <aws/gamelift/model/FleetAction.h>
16#include <aws/gamelift/model/FleetStatus.h>
17#include <aws/gamelift/model/FleetType.h>
18#include <aws/gamelift/model/InstanceRoleCredentialsProvider.h>
19#include <aws/gamelift/model/OperatingSystem.h>
20#include <aws/gamelift/model/PlayerGatewayConfiguration.h>
21#include <aws/gamelift/model/PlayerGatewayMode.h>
22#include <aws/gamelift/model/ProtectionPolicy.h>
23#include <aws/gamelift/model/ResourceCreationLimitPolicy.h>
24
25#include <utility>
26
27namespace Aws {
28namespace Utils {
29namespace Json {
30class JsonValue;
31class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace GameLift {
35namespace Model {
36
53 public:
54 AWS_GAMELIFT_API FleetAttributes() = default;
55 AWS_GAMELIFT_API FleetAttributes(Aws::Utils::Json::JsonView jsonValue);
57 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() 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
235 inline FleetStatus GetStatus() const { return m_status; }
236 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
237 inline void SetStatus(FleetStatus value) {
238 m_statusHasBeenSet = true;
239 m_status = value;
240 }
242 SetStatus(value);
243 return *this;
244 }
246
248
253 inline const Aws::String& GetBuildId() const { return m_buildId; }
254 inline bool BuildIdHasBeenSet() const { return m_buildIdHasBeenSet; }
255 template <typename BuildIdT = Aws::String>
256 void SetBuildId(BuildIdT&& value) {
257 m_buildIdHasBeenSet = true;
258 m_buildId = std::forward<BuildIdT>(value);
259 }
260 template <typename BuildIdT = Aws::String>
261 FleetAttributes& WithBuildId(BuildIdT&& value) {
262 SetBuildId(std::forward<BuildIdT>(value));
263 return *this;
264 }
266
268
276 inline const Aws::String& GetBuildArn() const { return m_buildArn; }
277 inline bool BuildArnHasBeenSet() const { return m_buildArnHasBeenSet; }
278 template <typename BuildArnT = Aws::String>
279 void SetBuildArn(BuildArnT&& value) {
280 m_buildArnHasBeenSet = true;
281 m_buildArn = std::forward<BuildArnT>(value);
282 }
283 template <typename BuildArnT = Aws::String>
284 FleetAttributes& WithBuildArn(BuildArnT&& value) {
285 SetBuildArn(std::forward<BuildArnT>(value));
286 return *this;
287 }
289
291
296 inline const Aws::String& GetScriptId() const { return m_scriptId; }
297 inline bool ScriptIdHasBeenSet() const { return m_scriptIdHasBeenSet; }
298 template <typename ScriptIdT = Aws::String>
299 void SetScriptId(ScriptIdT&& value) {
300 m_scriptIdHasBeenSet = true;
301 m_scriptId = std::forward<ScriptIdT>(value);
302 }
303 template <typename ScriptIdT = Aws::String>
304 FleetAttributes& WithScriptId(ScriptIdT&& value) {
305 SetScriptId(std::forward<ScriptIdT>(value));
306 return *this;
307 }
309
311
318 inline const Aws::String& GetScriptArn() const { return m_scriptArn; }
319 inline bool ScriptArnHasBeenSet() const { return m_scriptArnHasBeenSet; }
320 template <typename ScriptArnT = Aws::String>
321 void SetScriptArn(ScriptArnT&& value) {
322 m_scriptArnHasBeenSet = true;
323 m_scriptArn = std::forward<ScriptArnT>(value);
324 }
325 template <typename ScriptArnT = Aws::String>
326 FleetAttributes& WithScriptArn(ScriptArnT&& value) {
327 SetScriptArn(std::forward<ScriptArnT>(value));
328 return *this;
329 }
331
333
339 inline const Aws::String& GetServerLaunchPath() const { return m_serverLaunchPath; }
340 inline bool ServerLaunchPathHasBeenSet() const { return m_serverLaunchPathHasBeenSet; }
341 template <typename ServerLaunchPathT = Aws::String>
342 void SetServerLaunchPath(ServerLaunchPathT&& value) {
343 m_serverLaunchPathHasBeenSet = true;
344 m_serverLaunchPath = std::forward<ServerLaunchPathT>(value);
345 }
346 template <typename ServerLaunchPathT = Aws::String>
347 FleetAttributes& WithServerLaunchPath(ServerLaunchPathT&& value) {
348 SetServerLaunchPath(std::forward<ServerLaunchPathT>(value));
349 return *this;
350 }
352
354
359 inline const Aws::String& GetServerLaunchParameters() const { return m_serverLaunchParameters; }
360 inline bool ServerLaunchParametersHasBeenSet() const { return m_serverLaunchParametersHasBeenSet; }
361 template <typename ServerLaunchParametersT = Aws::String>
362 void SetServerLaunchParameters(ServerLaunchParametersT&& value) {
363 m_serverLaunchParametersHasBeenSet = true;
364 m_serverLaunchParameters = std::forward<ServerLaunchParametersT>(value);
365 }
366 template <typename ServerLaunchParametersT = Aws::String>
367 FleetAttributes& WithServerLaunchParameters(ServerLaunchParametersT&& value) {
368 SetServerLaunchParameters(std::forward<ServerLaunchParametersT>(value));
369 return *this;
370 }
372
374
381 inline const Aws::Vector<Aws::String>& GetLogPaths() const { return m_logPaths; }
382 inline bool LogPathsHasBeenSet() const { return m_logPathsHasBeenSet; }
383 template <typename LogPathsT = Aws::Vector<Aws::String>>
384 void SetLogPaths(LogPathsT&& value) {
385 m_logPathsHasBeenSet = true;
386 m_logPaths = std::forward<LogPathsT>(value);
387 }
388 template <typename LogPathsT = Aws::Vector<Aws::String>>
389 FleetAttributes& WithLogPaths(LogPathsT&& value) {
390 SetLogPaths(std::forward<LogPathsT>(value));
391 return *this;
392 }
393 template <typename LogPathsT = Aws::String>
394 FleetAttributes& AddLogPaths(LogPathsT&& value) {
395 m_logPathsHasBeenSet = true;
396 m_logPaths.emplace_back(std::forward<LogPathsT>(value));
397 return *this;
398 }
400
402
411 inline ProtectionPolicy GetNewGameSessionProtectionPolicy() const { return m_newGameSessionProtectionPolicy; }
412 inline bool NewGameSessionProtectionPolicyHasBeenSet() const { return m_newGameSessionProtectionPolicyHasBeenSet; }
414 m_newGameSessionProtectionPolicyHasBeenSet = true;
415 m_newGameSessionProtectionPolicy = value;
416 }
419 return *this;
420 }
422
424
437 inline OperatingSystem GetOperatingSystem() const { return m_operatingSystem; }
438 inline bool OperatingSystemHasBeenSet() const { return m_operatingSystemHasBeenSet; }
440 m_operatingSystemHasBeenSet = true;
441 m_operatingSystem = value;
442 }
444 SetOperatingSystem(value);
445 return *this;
446 }
448
450
451 inline const ResourceCreationLimitPolicy& GetResourceCreationLimitPolicy() const { return m_resourceCreationLimitPolicy; }
452 inline bool ResourceCreationLimitPolicyHasBeenSet() const { return m_resourceCreationLimitPolicyHasBeenSet; }
453 template <typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
454 void SetResourceCreationLimitPolicy(ResourceCreationLimitPolicyT&& value) {
455 m_resourceCreationLimitPolicyHasBeenSet = true;
456 m_resourceCreationLimitPolicy = std::forward<ResourceCreationLimitPolicyT>(value);
457 }
458 template <typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
459 FleetAttributes& WithResourceCreationLimitPolicy(ResourceCreationLimitPolicyT&& value) {
460 SetResourceCreationLimitPolicy(std::forward<ResourceCreationLimitPolicyT>(value));
461 return *this;
462 }
464
466
473 inline const Aws::Vector<Aws::String>& GetMetricGroups() const { return m_metricGroups; }
474 inline bool MetricGroupsHasBeenSet() const { return m_metricGroupsHasBeenSet; }
475 template <typename MetricGroupsT = Aws::Vector<Aws::String>>
476 void SetMetricGroups(MetricGroupsT&& value) {
477 m_metricGroupsHasBeenSet = true;
478 m_metricGroups = std::forward<MetricGroupsT>(value);
479 }
480 template <typename MetricGroupsT = Aws::Vector<Aws::String>>
481 FleetAttributes& WithMetricGroups(MetricGroupsT&& value) {
482 SetMetricGroups(std::forward<MetricGroupsT>(value));
483 return *this;
484 }
485 template <typename MetricGroupsT = Aws::String>
486 FleetAttributes& AddMetricGroups(MetricGroupsT&& value) {
487 m_metricGroupsHasBeenSet = true;
488 m_metricGroups.emplace_back(std::forward<MetricGroupsT>(value));
489 return *this;
490 }
492
494
500 inline const Aws::Vector<FleetAction>& GetStoppedActions() const { return m_stoppedActions; }
501 inline bool StoppedActionsHasBeenSet() const { return m_stoppedActionsHasBeenSet; }
502 template <typename StoppedActionsT = Aws::Vector<FleetAction>>
503 void SetStoppedActions(StoppedActionsT&& value) {
504 m_stoppedActionsHasBeenSet = true;
505 m_stoppedActions = std::forward<StoppedActionsT>(value);
506 }
507 template <typename StoppedActionsT = Aws::Vector<FleetAction>>
508 FleetAttributes& WithStoppedActions(StoppedActionsT&& value) {
509 SetStoppedActions(std::forward<StoppedActionsT>(value));
510 return *this;
511 }
513 m_stoppedActionsHasBeenSet = true;
514 m_stoppedActions.push_back(value);
515 return *this;
516 }
518
520
532 inline const Aws::String& GetInstanceRoleArn() const { return m_instanceRoleArn; }
533 inline bool InstanceRoleArnHasBeenSet() const { return m_instanceRoleArnHasBeenSet; }
534 template <typename InstanceRoleArnT = Aws::String>
535 void SetInstanceRoleArn(InstanceRoleArnT&& value) {
536 m_instanceRoleArnHasBeenSet = true;
537 m_instanceRoleArn = std::forward<InstanceRoleArnT>(value);
538 }
539 template <typename InstanceRoleArnT = Aws::String>
540 FleetAttributes& WithInstanceRoleArn(InstanceRoleArnT&& value) {
541 SetInstanceRoleArn(std::forward<InstanceRoleArnT>(value));
542 return *this;
543 }
545
547
552 inline const CertificateConfiguration& GetCertificateConfiguration() const { return m_certificateConfiguration; }
553 inline bool CertificateConfigurationHasBeenSet() const { return m_certificateConfigurationHasBeenSet; }
554 template <typename CertificateConfigurationT = CertificateConfiguration>
555 void SetCertificateConfiguration(CertificateConfigurationT&& value) {
556 m_certificateConfigurationHasBeenSet = true;
557 m_certificateConfiguration = std::forward<CertificateConfigurationT>(value);
558 }
559 template <typename CertificateConfigurationT = CertificateConfiguration>
560 FleetAttributes& WithCertificateConfiguration(CertificateConfigurationT&& value) {
561 SetCertificateConfiguration(std::forward<CertificateConfigurationT>(value));
562 return *this;
563 }
565
567
572 inline ComputeType GetComputeType() const { return m_computeType; }
573 inline bool ComputeTypeHasBeenSet() const { return m_computeTypeHasBeenSet; }
574 inline void SetComputeType(ComputeType value) {
575 m_computeTypeHasBeenSet = true;
576 m_computeType = value;
577 }
579 SetComputeType(value);
580 return *this;
581 }
583
585
588 inline const AnywhereConfiguration& GetAnywhereConfiguration() const { return m_anywhereConfiguration; }
589 inline bool AnywhereConfigurationHasBeenSet() const { return m_anywhereConfigurationHasBeenSet; }
590 template <typename AnywhereConfigurationT = AnywhereConfiguration>
591 void SetAnywhereConfiguration(AnywhereConfigurationT&& value) {
592 m_anywhereConfigurationHasBeenSet = true;
593 m_anywhereConfiguration = std::forward<AnywhereConfigurationT>(value);
594 }
595 template <typename AnywhereConfigurationT = AnywhereConfiguration>
596 FleetAttributes& WithAnywhereConfiguration(AnywhereConfigurationT&& value) {
597 SetAnywhereConfiguration(std::forward<AnywhereConfigurationT>(value));
598 return *this;
599 }
601
603
615 inline InstanceRoleCredentialsProvider GetInstanceRoleCredentialsProvider() const { return m_instanceRoleCredentialsProvider; }
616 inline bool InstanceRoleCredentialsProviderHasBeenSet() const { return m_instanceRoleCredentialsProviderHasBeenSet; }
618 m_instanceRoleCredentialsProviderHasBeenSet = true;
619 m_instanceRoleCredentialsProvider = value;
620 }
623 return *this;
624 }
626
628
636 inline PlayerGatewayMode GetPlayerGatewayMode() const { return m_playerGatewayMode; }
637 inline bool PlayerGatewayModeHasBeenSet() const { return m_playerGatewayModeHasBeenSet; }
639 m_playerGatewayModeHasBeenSet = true;
640 m_playerGatewayMode = value;
641 }
644 return *this;
645 }
647
649
652 inline const PlayerGatewayConfiguration& GetPlayerGatewayConfiguration() const { return m_playerGatewayConfiguration; }
653 inline bool PlayerGatewayConfigurationHasBeenSet() const { return m_playerGatewayConfigurationHasBeenSet; }
654 template <typename PlayerGatewayConfigurationT = PlayerGatewayConfiguration>
655 void SetPlayerGatewayConfiguration(PlayerGatewayConfigurationT&& value) {
656 m_playerGatewayConfigurationHasBeenSet = true;
657 m_playerGatewayConfiguration = std::forward<PlayerGatewayConfigurationT>(value);
658 }
659 template <typename PlayerGatewayConfigurationT = PlayerGatewayConfiguration>
660 FleetAttributes& WithPlayerGatewayConfiguration(PlayerGatewayConfigurationT&& value) {
661 SetPlayerGatewayConfiguration(std::forward<PlayerGatewayConfigurationT>(value));
662 return *this;
663 }
665 private:
666 Aws::String m_fleetId;
667
668 Aws::String m_fleetArn;
669
670 FleetType m_fleetType{FleetType::NOT_SET};
671
673
674 Aws::String m_description;
675
676 Aws::String m_name;
677
678 Aws::Utils::DateTime m_creationTime{};
679
680 Aws::Utils::DateTime m_terminationTime{};
681
683
684 Aws::String m_buildId;
685
686 Aws::String m_buildArn;
687
688 Aws::String m_scriptId;
689
690 Aws::String m_scriptArn;
691
692 Aws::String m_serverLaunchPath;
693
694 Aws::String m_serverLaunchParameters;
695
696 Aws::Vector<Aws::String> m_logPaths;
697
698 ProtectionPolicy m_newGameSessionProtectionPolicy{ProtectionPolicy::NOT_SET};
699
700 OperatingSystem m_operatingSystem{OperatingSystem::NOT_SET};
701
702 ResourceCreationLimitPolicy m_resourceCreationLimitPolicy;
703
704 Aws::Vector<Aws::String> m_metricGroups;
705
706 Aws::Vector<FleetAction> m_stoppedActions;
707
708 Aws::String m_instanceRoleArn;
709
710 CertificateConfiguration m_certificateConfiguration;
711
712 ComputeType m_computeType{ComputeType::NOT_SET};
713
714 AnywhereConfiguration m_anywhereConfiguration;
715
717
719
720 PlayerGatewayConfiguration m_playerGatewayConfiguration;
721 bool m_fleetIdHasBeenSet = false;
722 bool m_fleetArnHasBeenSet = false;
723 bool m_fleetTypeHasBeenSet = false;
724 bool m_instanceTypeHasBeenSet = false;
725 bool m_descriptionHasBeenSet = false;
726 bool m_nameHasBeenSet = false;
727 bool m_creationTimeHasBeenSet = false;
728 bool m_terminationTimeHasBeenSet = false;
729 bool m_statusHasBeenSet = false;
730 bool m_buildIdHasBeenSet = false;
731 bool m_buildArnHasBeenSet = false;
732 bool m_scriptIdHasBeenSet = false;
733 bool m_scriptArnHasBeenSet = false;
734 bool m_serverLaunchPathHasBeenSet = false;
735 bool m_serverLaunchParametersHasBeenSet = false;
736 bool m_logPathsHasBeenSet = false;
737 bool m_newGameSessionProtectionPolicyHasBeenSet = false;
738 bool m_operatingSystemHasBeenSet = false;
739 bool m_resourceCreationLimitPolicyHasBeenSet = false;
740 bool m_metricGroupsHasBeenSet = false;
741 bool m_stoppedActionsHasBeenSet = false;
742 bool m_instanceRoleArnHasBeenSet = false;
743 bool m_certificateConfigurationHasBeenSet = false;
744 bool m_computeTypeHasBeenSet = false;
745 bool m_anywhereConfigurationHasBeenSet = false;
746 bool m_instanceRoleCredentialsProviderHasBeenSet = false;
747 bool m_playerGatewayModeHasBeenSet = false;
748 bool m_playerGatewayConfigurationHasBeenSet = false;
749};
750
751} // namespace Model
752} // namespace GameLift
753} // 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
FleetAttributes & WithResourceCreationLimitPolicy(ResourceCreationLimitPolicyT &&value)
FleetAttributes & WithPlayerGatewayMode(PlayerGatewayMode value)
const Aws::String & GetBuildArn() const
FleetAttributes & WithName(NameT &&value)
FleetAttributes & WithStoppedActions(StoppedActionsT &&value)
AWS_GAMELIFT_API FleetAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
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(Aws::Utils::Json::JsonView jsonValue)
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 Aws::Utils::Json::JsonValue Jsonize() const
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
Aws::Utils::Json::JsonValue JsonValue