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>
65 template <
typename FleetIdT = Aws::String>
67 m_fleetIdHasBeenSet =
true;
68 m_fleetId = std::forward<FleetIdT>(value);
70 template <
typename FleetIdT = Aws::String>
89 template <
typename FleetArnT = Aws::String>
91 m_fleetArnHasBeenSet =
true;
92 m_fleetArn = std::forward<FleetArnT>(value);
94 template <
typename FleetArnT = Aws::String>
112 m_fleetTypeHasBeenSet =
true;
133 m_instanceTypeHasBeenSet =
true;
134 m_instanceType = value;
148 template <
typename DescriptionT = Aws::String>
150 m_descriptionHasBeenSet =
true;
151 m_description = std::forward<DescriptionT>(value);
153 template <
typename DescriptionT = Aws::String>
167 template <
typename NameT = Aws::String>
169 m_nameHasBeenSet =
true;
170 m_name = std::forward<NameT>(value);
172 template <
typename NameT = Aws::String>
174 SetName(std::forward<NameT>(value));
187 template <
typename CreationTimeT = Aws::Utils::DateTime>
189 m_creationTimeHasBeenSet =
true;
190 m_creationTime = std::forward<CreationTimeT>(value);
192 template <
typename CreationTimeT = Aws::Utils::DateTime>
207 template <
typename TerminationTimeT = Aws::Utils::DateTime>
209 m_terminationTimeHasBeenSet =
true;
210 m_terminationTime = std::forward<TerminationTimeT>(value);
212 template <
typename TerminationTimeT = Aws::Utils::DateTime>
238 m_statusHasBeenSet =
true;
255 template <
typename BuildIdT = Aws::String>
257 m_buildIdHasBeenSet =
true;
258 m_buildId = std::forward<BuildIdT>(value);
260 template <
typename BuildIdT = Aws::String>
278 template <
typename BuildArnT = Aws::String>
280 m_buildArnHasBeenSet =
true;
281 m_buildArn = std::forward<BuildArnT>(value);
283 template <
typename BuildArnT = Aws::String>
298 template <
typename ScriptIdT = Aws::String>
300 m_scriptIdHasBeenSet =
true;
301 m_scriptId = std::forward<ScriptIdT>(value);
303 template <
typename ScriptIdT = Aws::String>
320 template <
typename ScriptArnT = Aws::String>
322 m_scriptArnHasBeenSet =
true;
323 m_scriptArn = std::forward<ScriptArnT>(value);
325 template <
typename ScriptArnT = Aws::String>
341 template <
typename ServerLaunchPathT = Aws::String>
343 m_serverLaunchPathHasBeenSet =
true;
344 m_serverLaunchPath = std::forward<ServerLaunchPathT>(value);
346 template <
typename ServerLaunchPathT = Aws::String>
361 template <
typename ServerLaunchParametersT = Aws::String>
363 m_serverLaunchParametersHasBeenSet =
true;
364 m_serverLaunchParameters = std::forward<ServerLaunchParametersT>(value);
366 template <
typename ServerLaunchParametersT = Aws::String>
383 template <
typename LogPathsT = Aws::Vector<Aws::String>>
385 m_logPathsHasBeenSet =
true;
386 m_logPaths = std::forward<LogPathsT>(value);
388 template <
typename LogPathsT = Aws::Vector<Aws::String>>
393 template <
typename LogPathsT = Aws::String>
395 m_logPathsHasBeenSet =
true;
396 m_logPaths.emplace_back(std::forward<LogPathsT>(value));
414 m_newGameSessionProtectionPolicyHasBeenSet =
true;
415 m_newGameSessionProtectionPolicy = value;
440 m_operatingSystemHasBeenSet =
true;
441 m_operatingSystem = value;
453 template <
typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
455 m_resourceCreationLimitPolicyHasBeenSet =
true;
456 m_resourceCreationLimitPolicy = std::forward<ResourceCreationLimitPolicyT>(value);
458 template <
typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
475 template <
typename MetricGroupsT = Aws::Vector<Aws::String>>
477 m_metricGroupsHasBeenSet =
true;
478 m_metricGroups = std::forward<MetricGroupsT>(value);
480 template <
typename MetricGroupsT = Aws::Vector<Aws::String>>
485 template <
typename MetricGroupsT = Aws::String>
487 m_metricGroupsHasBeenSet =
true;
488 m_metricGroups.emplace_back(std::forward<MetricGroupsT>(value));
502 template <
typename StoppedActionsT = Aws::Vector<FleetAction>>
504 m_stoppedActionsHasBeenSet =
true;
505 m_stoppedActions = std::forward<StoppedActionsT>(value);
507 template <
typename StoppedActionsT = Aws::Vector<FleetAction>>
513 m_stoppedActionsHasBeenSet =
true;
514 m_stoppedActions.push_back(value);
534 template <
typename InstanceRoleArnT = Aws::String>
536 m_instanceRoleArnHasBeenSet =
true;
537 m_instanceRoleArn = std::forward<InstanceRoleArnT>(value);
539 template <
typename InstanceRoleArnT = Aws::String>
554 template <
typename CertificateConfigurationT = CertificateConfiguration>
556 m_certificateConfigurationHasBeenSet =
true;
557 m_certificateConfiguration = std::forward<CertificateConfigurationT>(value);
559 template <
typename CertificateConfigurationT = CertificateConfiguration>
575 m_computeTypeHasBeenSet =
true;
576 m_computeType = value;
590 template <
typename AnywhereConfigurationT = AnywhereConfiguration>
592 m_anywhereConfigurationHasBeenSet =
true;
593 m_anywhereConfiguration = std::forward<AnywhereConfigurationT>(value);
595 template <
typename AnywhereConfigurationT = AnywhereConfiguration>
618 m_instanceRoleCredentialsProviderHasBeenSet =
true;
619 m_instanceRoleCredentialsProvider = value;
639 m_playerGatewayModeHasBeenSet =
true;
640 m_playerGatewayMode = value;
654 template <
typename PlayerGatewayConfigurationT = PlayerGatewayConfiguration>
656 m_playerGatewayConfigurationHasBeenSet =
true;
657 m_playerGatewayConfiguration = std::forward<PlayerGatewayConfigurationT>(value);
659 template <
typename PlayerGatewayConfigurationT = PlayerGatewayConfiguration>
702 ResourceCreationLimitPolicy m_resourceCreationLimitPolicy;
710 CertificateConfiguration m_certificateConfiguration;
714 AnywhereConfiguration m_anywhereConfiguration;
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;
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)
bool AnywhereConfigurationHasBeenSet() const
const Aws::String & GetServerLaunchParameters() const
FleetAttributes & WithResourceCreationLimitPolicy(ResourceCreationLimitPolicyT &&value)
FleetAttributes & WithPlayerGatewayMode(PlayerGatewayMode value)
const Aws::String & GetBuildArn() const
void SetFleetId(FleetIdT &&value)
bool InstanceRoleCredentialsProviderHasBeenSet() const
FleetAttributes & WithName(NameT &&value)
bool NewGameSessionProtectionPolicyHasBeenSet() const
bool ComputeTypeHasBeenSet() const
FleetAttributes & WithStoppedActions(StoppedActionsT &&value)
AWS_GAMELIFT_API FleetAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetTerminationTime() const
bool FleetTypeHasBeenSet() const
const PlayerGatewayConfiguration & GetPlayerGatewayConfiguration() const
void SetStatus(FleetStatus value)
bool FleetArnHasBeenSet() 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)
bool InstanceTypeHasBeenSet() const
bool StatusHasBeenSet() const
void SetMetricGroups(MetricGroupsT &&value)
bool PlayerGatewayModeHasBeenSet() const
void SetLogPaths(LogPathsT &&value)
InstanceRoleCredentialsProvider GetInstanceRoleCredentialsProvider() const
FleetAttributes & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetBuildId() const
FleetAttributes & WithDescription(DescriptionT &&value)
void SetScriptId(ScriptIdT &&value)
bool CreationTimeHasBeenSet() const
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
ComputeType GetComputeType() const
FleetAttributes & WithStatus(FleetStatus value)
void SetInstanceRoleCredentialsProvider(InstanceRoleCredentialsProvider value)
bool PlayerGatewayConfigurationHasBeenSet() const
FleetAttributes & WithInstanceRoleArn(InstanceRoleArnT &&value)
const Aws::String & GetFleetId() const
bool InstanceRoleArnHasBeenSet() const
void SetComputeType(ComputeType value)
ProtectionPolicy GetNewGameSessionProtectionPolicy() const
FleetAttributes & WithAnywhereConfiguration(AnywhereConfigurationT &&value)
void SetFleetArn(FleetArnT &&value)
FleetStatus GetStatus() const
FleetAttributes & WithServerLaunchPath(ServerLaunchPathT &&value)
FleetAttributes & WithFleetType(FleetType value)
FleetAttributes & WithInstanceRoleCredentialsProvider(InstanceRoleCredentialsProvider value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
bool StoppedActionsHasBeenSet() const
void SetBuildId(BuildIdT &&value)
AWS_GAMELIFT_API FleetAttributes()=default
bool MetricGroupsHasBeenSet() const
bool BuildArnHasBeenSet() const
bool LogPathsHasBeenSet() const
const Aws::String & GetInstanceRoleArn() const
void SetFleetType(FleetType value)
void SetBuildArn(BuildArnT &&value)
bool ScriptIdHasBeenSet() const
const Aws::String & GetName() const
FleetAttributes & AddLogPaths(LogPathsT &&value)
const Aws::String & GetServerLaunchPath() const
FleetType GetFleetType() const
void SetInstanceRoleArn(InstanceRoleArnT &&value)
bool NameHasBeenSet() const
OperatingSystem GetOperatingSystem() const
FleetAttributes & WithServerLaunchParameters(ServerLaunchParametersT &&value)
bool DescriptionHasBeenSet() const
bool BuildIdHasBeenSet() const
bool OperatingSystemHasBeenSet() const
bool ResourceCreationLimitPolicyHasBeenSet() const
bool FleetIdHasBeenSet() const
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)
void SetName(NameT &&value)
const Aws::String & GetScriptArn() const
bool ServerLaunchPathHasBeenSet() const
const ResourceCreationLimitPolicy & GetResourceCreationLimitPolicy() const
const Aws::String & GetDescription() const
void SetServerLaunchParameters(ServerLaunchParametersT &&value)
FleetAttributes & WithMetricGroups(MetricGroupsT &&value)
void SetResourceCreationLimitPolicy(ResourceCreationLimitPolicyT &&value)
bool ScriptArnHasBeenSet() const
bool CertificateConfigurationHasBeenSet() const
void SetNewGameSessionProtectionPolicy(ProtectionPolicy value)
const Aws::String & GetFleetArn() const
bool TerminationTimeHasBeenSet() const
FleetAttributes & WithFleetId(FleetIdT &&value)
bool ServerLaunchParametersHasBeenSet() const
FleetAttributes & WithFleetArn(FleetArnT &&value)
InstanceRoleCredentialsProvider
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue