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/ProtectionPolicy.h>
21#include <aws/gamelift/model/ResourceCreationLimitPolicy.h>
63 template <
typename FleetIdT = Aws::String>
65 m_fleetIdHasBeenSet =
true;
66 m_fleetId = std::forward<FleetIdT>(value);
68 template <
typename FleetIdT = Aws::String>
87 template <
typename FleetArnT = Aws::String>
89 m_fleetArnHasBeenSet =
true;
90 m_fleetArn = std::forward<FleetArnT>(value);
92 template <
typename FleetArnT = Aws::String>
110 m_fleetTypeHasBeenSet =
true;
131 m_instanceTypeHasBeenSet =
true;
132 m_instanceType = value;
146 template <
typename DescriptionT = Aws::String>
148 m_descriptionHasBeenSet =
true;
149 m_description = std::forward<DescriptionT>(value);
151 template <
typename DescriptionT = Aws::String>
165 template <
typename NameT = Aws::String>
167 m_nameHasBeenSet =
true;
168 m_name = std::forward<NameT>(value);
170 template <
typename NameT = Aws::String>
172 SetName(std::forward<NameT>(value));
185 template <
typename CreationTimeT = Aws::Utils::DateTime>
187 m_creationTimeHasBeenSet =
true;
188 m_creationTime = std::forward<CreationTimeT>(value);
190 template <
typename CreationTimeT = Aws::Utils::DateTime>
205 template <
typename TerminationTimeT = Aws::Utils::DateTime>
207 m_terminationTimeHasBeenSet =
true;
208 m_terminationTime = std::forward<TerminationTimeT>(value);
210 template <
typename TerminationTimeT = Aws::Utils::DateTime>
236 m_statusHasBeenSet =
true;
253 template <
typename BuildIdT = Aws::String>
255 m_buildIdHasBeenSet =
true;
256 m_buildId = std::forward<BuildIdT>(value);
258 template <
typename BuildIdT = Aws::String>
276 template <
typename BuildArnT = Aws::String>
278 m_buildArnHasBeenSet =
true;
279 m_buildArn = std::forward<BuildArnT>(value);
281 template <
typename BuildArnT = Aws::String>
296 template <
typename ScriptIdT = Aws::String>
298 m_scriptIdHasBeenSet =
true;
299 m_scriptId = std::forward<ScriptIdT>(value);
301 template <
typename ScriptIdT = Aws::String>
318 template <
typename ScriptArnT = Aws::String>
320 m_scriptArnHasBeenSet =
true;
321 m_scriptArn = std::forward<ScriptArnT>(value);
323 template <
typename ScriptArnT = Aws::String>
339 template <
typename ServerLaunchPathT = Aws::String>
341 m_serverLaunchPathHasBeenSet =
true;
342 m_serverLaunchPath = std::forward<ServerLaunchPathT>(value);
344 template <
typename ServerLaunchPathT = Aws::String>
359 template <
typename ServerLaunchParametersT = Aws::String>
361 m_serverLaunchParametersHasBeenSet =
true;
362 m_serverLaunchParameters = std::forward<ServerLaunchParametersT>(value);
364 template <
typename ServerLaunchParametersT = Aws::String>
381 template <
typename LogPathsT = Aws::Vector<Aws::String>>
383 m_logPathsHasBeenSet =
true;
384 m_logPaths = std::forward<LogPathsT>(value);
386 template <
typename LogPathsT = Aws::Vector<Aws::String>>
391 template <
typename LogPathsT = Aws::String>
393 m_logPathsHasBeenSet =
true;
394 m_logPaths.emplace_back(std::forward<LogPathsT>(value));
412 m_newGameSessionProtectionPolicyHasBeenSet =
true;
413 m_newGameSessionProtectionPolicy = value;
438 m_operatingSystemHasBeenSet =
true;
439 m_operatingSystem = value;
451 template <
typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
453 m_resourceCreationLimitPolicyHasBeenSet =
true;
454 m_resourceCreationLimitPolicy = std::forward<ResourceCreationLimitPolicyT>(value);
456 template <
typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
473 template <
typename MetricGroupsT = Aws::Vector<Aws::String>>
475 m_metricGroupsHasBeenSet =
true;
476 m_metricGroups = std::forward<MetricGroupsT>(value);
478 template <
typename MetricGroupsT = Aws::Vector<Aws::String>>
483 template <
typename MetricGroupsT = Aws::String>
485 m_metricGroupsHasBeenSet =
true;
486 m_metricGroups.emplace_back(std::forward<MetricGroupsT>(value));
500 template <
typename StoppedActionsT = Aws::Vector<FleetAction>>
502 m_stoppedActionsHasBeenSet =
true;
503 m_stoppedActions = std::forward<StoppedActionsT>(value);
505 template <
typename StoppedActionsT = Aws::Vector<FleetAction>>
511 m_stoppedActionsHasBeenSet =
true;
512 m_stoppedActions.push_back(value);
532 template <
typename InstanceRoleArnT = Aws::String>
534 m_instanceRoleArnHasBeenSet =
true;
535 m_instanceRoleArn = std::forward<InstanceRoleArnT>(value);
537 template <
typename InstanceRoleArnT = Aws::String>
552 template <
typename CertificateConfigurationT = CertificateConfiguration>
554 m_certificateConfigurationHasBeenSet =
true;
555 m_certificateConfiguration = std::forward<CertificateConfigurationT>(value);
557 template <
typename CertificateConfigurationT = CertificateConfiguration>
573 m_computeTypeHasBeenSet =
true;
574 m_computeType = value;
588 template <
typename AnywhereConfigurationT = AnywhereConfiguration>
590 m_anywhereConfigurationHasBeenSet =
true;
591 m_anywhereConfiguration = std::forward<AnywhereConfigurationT>(value);
593 template <
typename AnywhereConfigurationT = AnywhereConfiguration>
616 m_instanceRoleCredentialsProviderHasBeenSet =
true;
617 m_instanceRoleCredentialsProvider = value;
661 ResourceCreationLimitPolicy m_resourceCreationLimitPolicy;
669 CertificateConfiguration m_certificateConfiguration;
673 AnywhereConfiguration m_anywhereConfiguration;
676 bool m_fleetIdHasBeenSet =
false;
677 bool m_fleetArnHasBeenSet =
false;
678 bool m_fleetTypeHasBeenSet =
false;
679 bool m_instanceTypeHasBeenSet =
false;
680 bool m_descriptionHasBeenSet =
false;
681 bool m_nameHasBeenSet =
false;
682 bool m_creationTimeHasBeenSet =
false;
683 bool m_terminationTimeHasBeenSet =
false;
684 bool m_statusHasBeenSet =
false;
685 bool m_buildIdHasBeenSet =
false;
686 bool m_buildArnHasBeenSet =
false;
687 bool m_scriptIdHasBeenSet =
false;
688 bool m_scriptArnHasBeenSet =
false;
689 bool m_serverLaunchPathHasBeenSet =
false;
690 bool m_serverLaunchParametersHasBeenSet =
false;
691 bool m_logPathsHasBeenSet =
false;
692 bool m_newGameSessionProtectionPolicyHasBeenSet =
false;
693 bool m_operatingSystemHasBeenSet =
false;
694 bool m_resourceCreationLimitPolicyHasBeenSet =
false;
695 bool m_metricGroupsHasBeenSet =
false;
696 bool m_stoppedActionsHasBeenSet =
false;
697 bool m_instanceRoleArnHasBeenSet =
false;
698 bool m_certificateConfigurationHasBeenSet =
false;
699 bool m_computeTypeHasBeenSet =
false;
700 bool m_anywhereConfigurationHasBeenSet =
false;
701 bool m_instanceRoleCredentialsProviderHasBeenSet =
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 SetInstanceType(EC2InstanceType value)
bool AnywhereConfigurationHasBeenSet() const
const Aws::String & GetServerLaunchParameters() const
FleetAttributes & WithResourceCreationLimitPolicy(ResourceCreationLimitPolicyT &&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
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)
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)
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)
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)
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