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/FleetAction.h>
69 template<
typename FleetIdT = Aws::String>
70 void SetFleetId(FleetIdT&& value) { m_fleetIdHasBeenSet =
true; m_fleetId = std::forward<FleetIdT>(value); }
71 template<
typename FleetIdT = Aws::String>
87 template<
typename FleetArnT = Aws::String>
88 void SetFleetArn(FleetArnT&& value) { m_fleetArnHasBeenSet =
true; m_fleetArn = std::forward<FleetArnT>(value); }
89 template<
typename FleetArnT = Aws::String>
128 template<
typename DescriptionT = Aws::String>
129 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
130 template<
typename DescriptionT = Aws::String>
141 template<
typename NameT = Aws::String>
142 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
143 template<
typename NameT = Aws::String>
155 template<
typename CreationTimeT = Aws::Utils::DateTime>
156 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
157 template<
typename CreationTimeT = Aws::Utils::DateTime>
169 template<
typename TerminationTimeT = Aws::Utils::DateTime>
170 void SetTerminationTime(TerminationTimeT&& value) { m_terminationTimeHasBeenSet =
true; m_terminationTime = std::forward<TerminationTimeT>(value); }
171 template<
typename TerminationTimeT = Aws::Utils::DateTime>
205 template<
typename BuildIdT = Aws::String>
206 void SetBuildId(BuildIdT&& value) { m_buildIdHasBeenSet =
true; m_buildId = std::forward<BuildIdT>(value); }
207 template<
typename BuildIdT = Aws::String>
222 template<
typename BuildArnT = Aws::String>
223 void SetBuildArn(BuildArnT&& value) { m_buildArnHasBeenSet =
true; m_buildArn = std::forward<BuildArnT>(value); }
224 template<
typename BuildArnT = Aws::String>
236 template<
typename ScriptIdT = Aws::String>
237 void SetScriptId(ScriptIdT&& value) { m_scriptIdHasBeenSet =
true; m_scriptId = std::forward<ScriptIdT>(value); }
238 template<
typename ScriptIdT = Aws::String>
252 template<
typename ScriptArnT = Aws::String>
253 void SetScriptArn(ScriptArnT&& value) { m_scriptArnHasBeenSet =
true; m_scriptArn = std::forward<ScriptArnT>(value); }
254 template<
typename ScriptArnT = Aws::String>
267 template<
typename ServerLaunchPathT = Aws::String>
268 void SetServerLaunchPath(ServerLaunchPathT&& value) { m_serverLaunchPathHasBeenSet =
true; m_serverLaunchPath = std::forward<ServerLaunchPathT>(value); }
269 template<
typename ServerLaunchPathT = Aws::String>
281 template<
typename ServerLaunchParametersT = Aws::String>
282 void SetServerLaunchParameters(ServerLaunchParametersT&& value) { m_serverLaunchParametersHasBeenSet =
true; m_serverLaunchParameters = std::forward<ServerLaunchParametersT>(value); }
283 template<
typename ServerLaunchParametersT = Aws::String>
297 template<
typename LogPathsT = Aws::Vector<Aws::String>>
298 void SetLogPaths(LogPathsT&& value) { m_logPathsHasBeenSet =
true; m_logPaths = std::forward<LogPathsT>(value); }
299 template<
typename LogPathsT = Aws::Vector<Aws::String>>
301 template<
typename LogPathsT = Aws::String>
302 FleetAttributes&
AddLogPaths(LogPathsT&& value) { m_logPathsHasBeenSet =
true; m_logPaths.emplace_back(std::forward<LogPathsT>(value));
return *
this; }
345 template<
typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
346 void SetResourceCreationLimitPolicy(ResourceCreationLimitPolicyT&& value) { m_resourceCreationLimitPolicyHasBeenSet =
true; m_resourceCreationLimitPolicy = std::forward<ResourceCreationLimitPolicyT>(value); }
347 template<
typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
361 template<
typename MetricGroupsT = Aws::Vector<Aws::String>>
362 void SetMetricGroups(MetricGroupsT&& value) { m_metricGroupsHasBeenSet =
true; m_metricGroups = std::forward<MetricGroupsT>(value); }
363 template<
typename MetricGroupsT = Aws::Vector<Aws::String>>
365 template<
typename MetricGroupsT = Aws::String>
366 FleetAttributes&
AddMetricGroups(MetricGroupsT&& value) { m_metricGroupsHasBeenSet =
true; m_metricGroups.emplace_back(std::forward<MetricGroupsT>(value));
return *
this; }
378 template<
typename StoppedActionsT = Aws::Vector<FleetAction>>
379 void SetStoppedActions(StoppedActionsT&& value) { m_stoppedActionsHasBeenSet =
true; m_stoppedActions = std::forward<StoppedActionsT>(value); }
380 template<
typename StoppedActionsT = Aws::Vector<FleetAction>>
400 template<
typename InstanceRoleArnT = Aws::String>
401 void SetInstanceRoleArn(InstanceRoleArnT&& value) { m_instanceRoleArnHasBeenSet =
true; m_instanceRoleArn = std::forward<InstanceRoleArnT>(value); }
402 template<
typename InstanceRoleArnT = Aws::String>
414 template<
typename CertificateConfigurationT = CertificateConfiguration>
415 void SetCertificateConfiguration(CertificateConfigurationT&& value) { m_certificateConfigurationHasBeenSet =
true; m_certificateConfiguration = std::forward<CertificateConfigurationT>(value); }
416 template<
typename CertificateConfigurationT = CertificateConfiguration>
438 template<
typename AnywhereConfigurationT = AnywhereConfiguration>
439 void SetAnywhereConfiguration(AnywhereConfigurationT&& value) { m_anywhereConfigurationHasBeenSet =
true; m_anywhereConfiguration = std::forward<AnywhereConfigurationT>(value); }
440 template<
typename AnywhereConfigurationT = AnywhereConfiguration>
465 bool m_fleetIdHasBeenSet =
false;
468 bool m_fleetArnHasBeenSet =
false;
471 bool m_fleetTypeHasBeenSet =
false;
474 bool m_instanceTypeHasBeenSet =
false;
477 bool m_descriptionHasBeenSet =
false;
480 bool m_nameHasBeenSet =
false;
483 bool m_creationTimeHasBeenSet =
false;
486 bool m_terminationTimeHasBeenSet =
false;
489 bool m_statusHasBeenSet =
false;
492 bool m_buildIdHasBeenSet =
false;
495 bool m_buildArnHasBeenSet =
false;
498 bool m_scriptIdHasBeenSet =
false;
501 bool m_scriptArnHasBeenSet =
false;
504 bool m_serverLaunchPathHasBeenSet =
false;
507 bool m_serverLaunchParametersHasBeenSet =
false;
510 bool m_logPathsHasBeenSet =
false;
513 bool m_newGameSessionProtectionPolicyHasBeenSet =
false;
516 bool m_operatingSystemHasBeenSet =
false;
518 ResourceCreationLimitPolicy m_resourceCreationLimitPolicy;
519 bool m_resourceCreationLimitPolicyHasBeenSet =
false;
522 bool m_metricGroupsHasBeenSet =
false;
525 bool m_stoppedActionsHasBeenSet =
false;
528 bool m_instanceRoleArnHasBeenSet =
false;
530 CertificateConfiguration m_certificateConfiguration;
531 bool m_certificateConfigurationHasBeenSet =
false;
534 bool m_computeTypeHasBeenSet =
false;
536 AnywhereConfiguration m_anywhereConfiguration;
537 bool m_anywhereConfigurationHasBeenSet =
false;
540 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