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/ContainerGroupsAttributes.h>
22#include <aws/gamelift/model/FleetAction.h>
74 inline void SetFleetId(
const char* value) { m_fleetIdHasBeenSet =
true; m_fleetId.assign(value); }
94 inline void SetFleetArn(
const char* value) { m_fleetArnHasBeenSet =
true; m_fleetArn.assign(value); }
141 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
156 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
224 inline void SetBuildId(
const char* value) { m_buildIdHasBeenSet =
true; m_buildId.assign(value); }
243 inline void SetBuildArn(
const char* value) { m_buildArnHasBeenSet =
true; m_buildArn.assign(value); }
259 inline void SetScriptId(
const char* value) { m_scriptIdHasBeenSet =
true; m_scriptId.assign(value); }
277 inline void SetScriptArn(
const char* value) { m_scriptArnHasBeenSet =
true; m_scriptArn.assign(value); }
294 inline void SetServerLaunchPath(
const char* value) { m_serverLaunchPathHasBeenSet =
true; m_serverLaunchPath.assign(value); }
310 inline void SetServerLaunchParameters(
const char* value) { m_serverLaunchParametersHasBeenSet =
true; m_serverLaunchParameters.assign(value); }
438 inline void SetInstanceRoleArn(
const char* value) { m_instanceRoleArnHasBeenSet =
true; m_instanceRoleArn.assign(value); }
525 bool m_fleetIdHasBeenSet =
false;
528 bool m_fleetArnHasBeenSet =
false;
531 bool m_fleetTypeHasBeenSet =
false;
534 bool m_instanceTypeHasBeenSet =
false;
537 bool m_descriptionHasBeenSet =
false;
540 bool m_nameHasBeenSet =
false;
543 bool m_creationTimeHasBeenSet =
false;
546 bool m_terminationTimeHasBeenSet =
false;
549 bool m_statusHasBeenSet =
false;
552 bool m_buildIdHasBeenSet =
false;
555 bool m_buildArnHasBeenSet =
false;
558 bool m_scriptIdHasBeenSet =
false;
561 bool m_scriptArnHasBeenSet =
false;
564 bool m_serverLaunchPathHasBeenSet =
false;
567 bool m_serverLaunchParametersHasBeenSet =
false;
570 bool m_logPathsHasBeenSet =
false;
573 bool m_newGameSessionProtectionPolicyHasBeenSet =
false;
576 bool m_operatingSystemHasBeenSet =
false;
579 bool m_resourceCreationLimitPolicyHasBeenSet =
false;
582 bool m_metricGroupsHasBeenSet =
false;
585 bool m_stoppedActionsHasBeenSet =
false;
588 bool m_instanceRoleArnHasBeenSet =
false;
591 bool m_certificateConfigurationHasBeenSet =
false;
594 bool m_computeTypeHasBeenSet =
false;
597 bool m_anywhereConfigurationHasBeenSet =
false;
600 bool m_instanceRoleCredentialsProviderHasBeenSet =
false;
603 bool m_containerGroupsAttributesHasBeenSet =
false;
FleetAttributes & WithDescription(const char *value)
FleetAttributes & WithOperatingSystem(const OperatingSystem &value)
FleetAttributes & WithFleetArn(Aws::String &&value)
void SetTerminationTime(Aws::Utils::DateTime &&value)
const ContainerGroupsAttributes & GetContainerGroupsAttributes() const
FleetAttributes & WithCertificateConfiguration(CertificateConfiguration &&value)
FleetAttributes & WithServerLaunchPath(const Aws::String &value)
void SetInstanceRoleCredentialsProvider(const InstanceRoleCredentialsProvider &value)
const AnywhereConfiguration & GetAnywhereConfiguration() const
FleetAttributes & WithOperatingSystem(OperatingSystem &&value)
FleetAttributes & WithBuildArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetMetricGroups() const
void SetAnywhereConfiguration(const AnywhereConfiguration &value)
FleetAttributes & WithInstanceRoleArn(const Aws::String &value)
void SetDescription(const char *value)
FleetAttributes & WithCreationTime(Aws::Utils::DateTime &&value)
void SetFleetType(FleetType &&value)
void SetLogPaths(const Aws::Vector< Aws::String > &value)
FleetAttributes & WithStoppedActions(Aws::Vector< FleetAction > &&value)
FleetAttributes & WithCreationTime(const Aws::Utils::DateTime &value)
FleetAttributes & WithScriptId(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const EC2InstanceType & GetInstanceType() const
void SetCertificateConfiguration(CertificateConfiguration &&value)
void SetResourceCreationLimitPolicy(ResourceCreationLimitPolicy &&value)
const InstanceRoleCredentialsProvider & GetInstanceRoleCredentialsProvider() const
bool AnywhereConfigurationHasBeenSet() const
const Aws::String & GetServerLaunchParameters() const
FleetAttributes & WithDescription(const Aws::String &value)
FleetAttributes & WithName(const Aws::String &value)
const Aws::String & GetBuildArn() const
const FleetStatus & GetStatus() const
FleetAttributes & WithAnywhereConfiguration(AnywhereConfiguration &&value)
FleetAttributes & WithLogPaths(Aws::Vector< Aws::String > &&value)
void SetInstanceType(const EC2InstanceType &value)
void SetFleetType(const FleetType &value)
void SetBuildArn(const Aws::String &value)
void SetInstanceType(EC2InstanceType &&value)
bool InstanceRoleCredentialsProviderHasBeenSet() const
void SetNewGameSessionProtectionPolicy(const ProtectionPolicy &value)
void SetDescription(Aws::String &&value)
void SetScriptArn(const Aws::String &value)
void SetFleetId(Aws::String &&value)
AWS_GAMELIFT_API FleetAttributes()
bool NewGameSessionProtectionPolicyHasBeenSet() const
bool ComputeTypeHasBeenSet() const
void SetScriptArn(Aws::String &&value)
AWS_GAMELIFT_API FleetAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetTerminationTime() const
bool FleetTypeHasBeenSet() const
void SetBuildId(Aws::String &&value)
void SetFleetArn(Aws::String &&value)
FleetAttributes & WithInstanceType(EC2InstanceType &&value)
void SetContainerGroupsAttributes(const ContainerGroupsAttributes &value)
void SetServerLaunchPath(const char *value)
bool FleetArnHasBeenSet() const
FleetAttributes & AddMetricGroups(const Aws::String &value)
const ComputeType & GetComputeType() const
void SetStatus(const FleetStatus &value)
FleetAttributes & AddLogPaths(Aws::String &&value)
const Aws::Vector< Aws::String > & GetLogPaths() const
FleetAttributes & AddStoppedActions(const FleetAction &value)
FleetAttributes & WithInstanceRoleArn(const char *value)
FleetAttributes & WithMetricGroups(const Aws::Vector< Aws::String > &value)
FleetAttributes & WithStatus(const FleetStatus &value)
void SetName(const Aws::String &value)
FleetAttributes & WithFleetArn(const Aws::String &value)
void SetCertificateConfiguration(const CertificateConfiguration &value)
FleetAttributes & WithNewGameSessionProtectionPolicy(const ProtectionPolicy &value)
FleetAttributes & AddMetricGroups(Aws::String &&value)
FleetAttributes & WithInstanceRoleArn(Aws::String &&value)
void SetBuildArn(const char *value)
FleetAttributes & WithBuildId(Aws::String &&value)
const CertificateConfiguration & GetCertificateConfiguration() const
FleetAttributes & WithBuildArn(const char *value)
bool InstanceTypeHasBeenSet() const
FleetAttributes & WithFleetType(const FleetType &value)
bool StatusHasBeenSet() const
FleetAttributes & AddLogPaths(const Aws::String &value)
FleetAttributes & WithScriptId(Aws::String &&value)
FleetAttributes & WithResourceCreationLimitPolicy(ResourceCreationLimitPolicy &&value)
void SetScriptId(Aws::String &&value)
FleetAttributes & WithFleetId(Aws::String &&value)
FleetAttributes & WithServerLaunchPath(Aws::String &&value)
FleetAttributes & WithBuildArn(Aws::String &&value)
void SetInstanceRoleCredentialsProvider(InstanceRoleCredentialsProvider &&value)
void SetComputeType(ComputeType &&value)
FleetAttributes & WithServerLaunchParameters(const Aws::String &value)
FleetAttributes & WithTerminationTime(Aws::Utils::DateTime &&value)
bool ContainerGroupsAttributesHasBeenSet() const
const Aws::String & GetBuildId() const
void SetServerLaunchParameters(const Aws::String &value)
FleetAttributes & WithTerminationTime(const Aws::Utils::DateTime &value)
FleetAttributes & WithServerLaunchPath(const char *value)
void SetServerLaunchPath(Aws::String &&value)
bool CreationTimeHasBeenSet() const
AWS_GAMELIFT_API FleetAttributes(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
FleetAttributes & WithFleetArn(const char *value)
void SetServerLaunchParameters(const char *value)
void SetInstanceRoleArn(const char *value)
const ProtectionPolicy & GetNewGameSessionProtectionPolicy() const
FleetAttributes & WithFleetId(const char *value)
void SetFleetId(const Aws::String &value)
FleetAttributes & WithServerLaunchParameters(Aws::String &&value)
const Aws::String & GetScriptId() const
void SetScriptArn(const char *value)
void SetMetricGroups(Aws::Vector< Aws::String > &&value)
void SetFleetArn(const char *value)
FleetAttributes & WithDescription(Aws::String &&value)
FleetAttributes & WithFleetType(FleetType &&value)
void SetStatus(FleetStatus &&value)
FleetAttributes & WithCertificateConfiguration(const CertificateConfiguration &value)
FleetAttributes & WithBuildId(const Aws::String &value)
FleetAttributes & AddMetricGroups(const char *value)
const Aws::String & GetFleetId() const
bool InstanceRoleArnHasBeenSet() const
FleetAttributes & WithInstanceType(const EC2InstanceType &value)
FleetAttributes & AddLogPaths(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetMetricGroups(const Aws::Vector< Aws::String > &value)
void SetName(const char *value)
void SetFleetArn(const Aws::String &value)
const FleetType & GetFleetType() const
void SetAnywhereConfiguration(AnywhereConfiguration &&value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
bool StoppedActionsHasBeenSet() const
FleetAttributes & WithInstanceRoleCredentialsProvider(InstanceRoleCredentialsProvider &&value)
bool MetricGroupsHasBeenSet() const
bool BuildArnHasBeenSet() const
bool LogPathsHasBeenSet() const
const Aws::String & GetInstanceRoleArn() const
FleetAttributes & WithScriptArn(Aws::String &&value)
FleetAttributes & WithContainerGroupsAttributes(ContainerGroupsAttributes &&value)
bool ScriptIdHasBeenSet() const
FleetAttributes & WithLogPaths(const Aws::Vector< Aws::String > &value)
void SetNewGameSessionProtectionPolicy(ProtectionPolicy &&value)
FleetAttributes & WithNewGameSessionProtectionPolicy(ProtectionPolicy &&value)
FleetAttributes & WithAnywhereConfiguration(const AnywhereConfiguration &value)
const Aws::String & GetName() const
const Aws::String & GetServerLaunchPath() const
void SetStoppedActions(const Aws::Vector< FleetAction > &value)
void SetStoppedActions(Aws::Vector< FleetAction > &&value)
void SetBuildId(const Aws::String &value)
FleetAttributes & WithStatus(FleetStatus &&value)
FleetAttributes & WithFleetId(const Aws::String &value)
bool NameHasBeenSet() const
void SetBuildId(const char *value)
FleetAttributes & WithStoppedActions(const Aws::Vector< FleetAction > &value)
bool DescriptionHasBeenSet() const
bool BuildIdHasBeenSet() const
FleetAttributes & AddStoppedActions(FleetAction &&value)
void SetOperatingSystem(OperatingSystem &&value)
FleetAttributes & WithContainerGroupsAttributes(const ContainerGroupsAttributes &value)
void SetDescription(const Aws::String &value)
void SetName(Aws::String &&value)
const OperatingSystem & GetOperatingSystem() const
bool OperatingSystemHasBeenSet() const
bool ResourceCreationLimitPolicyHasBeenSet() const
bool FleetIdHasBeenSet() const
FleetAttributes & WithScriptId(const char *value)
const Aws::Vector< FleetAction > & GetStoppedActions() const
void SetResourceCreationLimitPolicy(const ResourceCreationLimitPolicy &value)
FleetAttributes & WithScriptArn(const Aws::String &value)
FleetAttributes & WithComputeType(ComputeType &&value)
void SetScriptId(const Aws::String &value)
void SetScriptId(const char *value)
FleetAttributes & WithScriptArn(const char *value)
FleetAttributes & WithServerLaunchParameters(const char *value)
FleetAttributes & WithName(Aws::String &&value)
FleetAttributes & WithInstanceRoleCredentialsProvider(const InstanceRoleCredentialsProvider &value)
const Aws::String & GetScriptArn() const
bool ServerLaunchPathHasBeenSet() const
void SetInstanceRoleArn(const Aws::String &value)
const ResourceCreationLimitPolicy & GetResourceCreationLimitPolicy() const
void SetInstanceRoleArn(Aws::String &&value)
FleetAttributes & WithMetricGroups(Aws::Vector< Aws::String > &&value)
const Aws::String & GetDescription() const
void SetOperatingSystem(const OperatingSystem &value)
bool ScriptArnHasBeenSet() const
void SetTerminationTime(const Aws::Utils::DateTime &value)
bool CertificateConfigurationHasBeenSet() const
FleetAttributes & WithResourceCreationLimitPolicy(const ResourceCreationLimitPolicy &value)
void SetContainerGroupsAttributes(ContainerGroupsAttributes &&value)
void SetFleetId(const char *value)
const Aws::String & GetFleetArn() const
FleetAttributes & WithBuildId(const char *value)
FleetAttributes & WithComputeType(const ComputeType &value)
bool TerminationTimeHasBeenSet() const
void SetLogPaths(Aws::Vector< Aws::String > &&value)
void SetComputeType(const ComputeType &value)
FleetAttributes & WithName(const char *value)
void SetBuildArn(Aws::String &&value)
void SetServerLaunchParameters(Aws::String &&value)
bool ServerLaunchParametersHasBeenSet() const
void SetServerLaunchPath(const Aws::String &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