7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/gamelift/model/EC2InstanceType.h>
12#include <aws/gamelift/model/ProtectionPolicy.h>
13#include <aws/gamelift/model/RuntimeConfiguration.h>
14#include <aws/gamelift/model/ResourceCreationLimitPolicy.h>
15#include <aws/gamelift/model/FleetType.h>
16#include <aws/gamelift/model/CertificateConfiguration.h>
17#include <aws/gamelift/model/ComputeType.h>
18#include <aws/gamelift/model/AnywhereConfiguration.h>
19#include <aws/gamelift/model/InstanceRoleCredentialsProvider.h>
20#include <aws/gamelift/model/ContainerGroupsConfiguration.h>
21#include <aws/gamelift/model/IpPermission.h>
22#include <aws/gamelift/model/LocationConfiguration.h>
23#include <aws/gamelift/model/Tag.h>
60 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
74 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
91 inline void SetBuildId(
const char* value) { m_buildIdHasBeenSet =
true; m_buildId.assign(value); }
108 inline void SetScriptId(
const char* value) { m_scriptIdHasBeenSet =
true; m_scriptId.assign(value); }
124 inline void SetServerLaunchPath(
const char* value) { m_serverLaunchPathHasBeenSet =
true; m_serverLaunchPath.assign(value); }
140 inline void SetServerLaunchParameters(
const char* value) { m_serverLaunchParametersHasBeenSet =
true; m_serverLaunchParameters.assign(value); }
288 inline void SetPeerVpcAwsAccountId(
const char* value) { m_peerVpcAwsAccountIdHasBeenSet =
true; m_peerVpcAwsAccountId.assign(value); }
308 inline void SetPeerVpcId(
const char* value) { m_peerVpcIdHasBeenSet =
true; m_peerVpcId.assign(value); }
347 inline void SetInstanceRoleArn(
const char* value) { m_instanceRoleArnHasBeenSet =
true; m_instanceRoleArn.assign(value); }
493 bool m_nameHasBeenSet =
false;
496 bool m_descriptionHasBeenSet =
false;
499 bool m_buildIdHasBeenSet =
false;
502 bool m_scriptIdHasBeenSet =
false;
505 bool m_serverLaunchPathHasBeenSet =
false;
508 bool m_serverLaunchParametersHasBeenSet =
false;
511 bool m_logPathsHasBeenSet =
false;
514 bool m_eC2InstanceTypeHasBeenSet =
false;
517 bool m_eC2InboundPermissionsHasBeenSet =
false;
520 bool m_newGameSessionProtectionPolicyHasBeenSet =
false;
523 bool m_runtimeConfigurationHasBeenSet =
false;
526 bool m_resourceCreationLimitPolicyHasBeenSet =
false;
529 bool m_metricGroupsHasBeenSet =
false;
532 bool m_peerVpcAwsAccountIdHasBeenSet =
false;
535 bool m_peerVpcIdHasBeenSet =
false;
538 bool m_fleetTypeHasBeenSet =
false;
541 bool m_instanceRoleArnHasBeenSet =
false;
544 bool m_certificateConfigurationHasBeenSet =
false;
547 bool m_locationsHasBeenSet =
false;
550 bool m_tagsHasBeenSet =
false;
553 bool m_computeTypeHasBeenSet =
false;
556 bool m_anywhereConfigurationHasBeenSet =
false;
559 bool m_instanceRoleCredentialsProviderHasBeenSet =
false;
562 bool m_containerGroupsConfigurationHasBeenSet =
false;
const RuntimeConfiguration & GetRuntimeConfiguration() const
const CertificateConfiguration & GetCertificateConfiguration() const
const Aws::String & GetPeerVpcId() const
CreateFleetRequest & WithServerLaunchParameters(const Aws::String &value)
CreateFleetRequest & WithLogPaths(const Aws::Vector< Aws::String > &value)
const Aws::String & GetDescription() const
void SetNewGameSessionProtectionPolicy(ProtectionPolicy &&value)
const Aws::String & GetPeerVpcAwsAccountId() const
void SetCertificateConfiguration(CertificateConfiguration &&value)
CreateFleetRequest & WithFleetType(const FleetType &value)
CreateFleetRequest & WithInstanceRoleCredentialsProvider(InstanceRoleCredentialsProvider &&value)
CreateFleetRequest & WithScriptId(Aws::String &&value)
void SetNewGameSessionProtectionPolicy(const ProtectionPolicy &value)
bool CertificateConfigurationHasBeenSet() const
CreateFleetRequest & WithFleetType(FleetType &&value)
void SetEC2InboundPermissions(Aws::Vector< IpPermission > &&value)
CreateFleetRequest & WithPeerVpcId(const char *value)
CreateFleetRequest & AddLogPaths(const char *value)
const InstanceRoleCredentialsProvider & GetInstanceRoleCredentialsProvider() const
CreateFleetRequest & WithEC2InboundPermissions(Aws::Vector< IpPermission > &&value)
CreateFleetRequest & AddMetricGroups(const Aws::String &value)
CreateFleetRequest & WithMetricGroups(const Aws::Vector< Aws::String > &value)
CreateFleetRequest & WithPeerVpcId(const Aws::String &value)
const ContainerGroupsConfiguration & GetContainerGroupsConfiguration() const
const FleetType & GetFleetType() const
bool InstanceRoleArnHasBeenSet() const
const Aws::String & GetServerLaunchParameters() const
void SetBuildId(Aws::String &&value)
bool RuntimeConfigurationHasBeenSet() const
bool DescriptionHasBeenSet() const
CreateFleetRequest & WithContainerGroupsConfiguration(ContainerGroupsConfiguration &&value)
bool LocationsHasBeenSet() const
CreateFleetRequest & AddMetricGroups(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
const Aws::String & GetBuildId() const
const Aws::Vector< Tag > & GetTags() const
void SetEC2InboundPermissions(const Aws::Vector< IpPermission > &value)
CreateFleetRequest & WithPeerVpcAwsAccountId(const Aws::String &value)
CreateFleetRequest & WithDescription(const char *value)
void SetDescription(Aws::String &&value)
CreateFleetRequest & WithPeerVpcAwsAccountId(Aws::String &&value)
const Aws::Vector< IpPermission > & GetEC2InboundPermissions() const
CreateFleetRequest & AddEC2InboundPermissions(const IpPermission &value)
bool NewGameSessionProtectionPolicyHasBeenSet() const
void SetPeerVpcAwsAccountId(const char *value)
void SetMetricGroups(const Aws::Vector< Aws::String > &value)
CreateFleetRequest & AddLogPaths(const Aws::String &value)
CreateFleetRequest & AddMetricGroups(Aws::String &&value)
CreateFleetRequest & WithAnywhereConfiguration(AnywhereConfiguration &&value)
CreateFleetRequest & WithBuildId(const Aws::String &value)
void SetRuntimeConfiguration(RuntimeConfiguration &&value)
bool EC2InstanceTypeHasBeenSet() const
void SetName(Aws::String &&value)
void SetScriptId(const char *value)
void SetServerLaunchParameters(Aws::String &&value)
CreateFleetRequest & WithName(const char *value)
CreateFleetRequest & WithLocations(Aws::Vector< LocationConfiguration > &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
bool NameHasBeenSet() const
CreateFleetRequest & WithContainerGroupsConfiguration(const ContainerGroupsConfiguration &value)
const ProtectionPolicy & GetNewGameSessionProtectionPolicy() const
bool TagsHasBeenSet() const
void SetInstanceRoleArn(const char *value)
CreateFleetRequest & AddTags(const Tag &value)
void SetMetricGroups(Aws::Vector< Aws::String > &&value)
void SetScriptId(Aws::String &&value)
void SetPeerVpcId(const char *value)
CreateFleetRequest & WithName(Aws::String &&value)
CreateFleetRequest & WithComputeType(ComputeType &&value)
virtual const char * GetServiceRequestName() const override
CreateFleetRequest & WithInstanceRoleArn(const char *value)
bool ServerLaunchParametersHasBeenSet() const
CreateFleetRequest & AddEC2InboundPermissions(IpPermission &&value)
void SetCertificateConfiguration(const CertificateConfiguration &value)
const Aws::String & GetInstanceRoleArn() const
CreateFleetRequest & WithLogPaths(Aws::Vector< Aws::String > &&value)
CreateFleetRequest & WithTags(const Aws::Vector< Tag > &value)
const Aws::Vector< Aws::String > & GetMetricGroups() const
void SetServerLaunchPath(const char *value)
void SetName(const Aws::String &value)
CreateFleetRequest & WithRuntimeConfiguration(RuntimeConfiguration &&value)
void SetName(const char *value)
bool ContainerGroupsConfigurationHasBeenSet() const
void SetLocations(Aws::Vector< LocationConfiguration > &&value)
CreateFleetRequest & AddLocations(LocationConfiguration &&value)
CreateFleetRequest & WithComputeType(const ComputeType &value)
void SetContainerGroupsConfiguration(ContainerGroupsConfiguration &&value)
void SetServerLaunchParameters(const Aws::String &value)
CreateFleetRequest & WithInstanceRoleCredentialsProvider(const InstanceRoleCredentialsProvider &value)
CreateFleetRequest & WithScriptId(const char *value)
void SetInstanceRoleArn(const Aws::String &value)
void SetRuntimeConfiguration(const RuntimeConfiguration &value)
CreateFleetRequest & WithNewGameSessionProtectionPolicy(ProtectionPolicy &&value)
void SetBuildId(const Aws::String &value)
bool EC2InboundPermissionsHasBeenSet() const
CreateFleetRequest & WithNewGameSessionProtectionPolicy(const ProtectionPolicy &value)
CreateFleetRequest & AddTags(Tag &&value)
CreateFleetRequest & WithInstanceRoleArn(Aws::String &&value)
const ResourceCreationLimitPolicy & GetResourceCreationLimitPolicy() const
CreateFleetRequest & WithDescription(Aws::String &&value)
CreateFleetRequest & AddLogPaths(Aws::String &&value)
void SetContainerGroupsConfiguration(const ContainerGroupsConfiguration &value)
AWS_GAMELIFT_API CreateFleetRequest()
CreateFleetRequest & WithEC2InstanceType(EC2InstanceType &&value)
void SetDescription(const Aws::String &value)
CreateFleetRequest & WithBuildId(Aws::String &&value)
bool MetricGroupsHasBeenSet() const
void SetPeerVpcId(Aws::String &&value)
const Aws::String & GetScriptId() const
const Aws::String & GetName() const
bool ResourceCreationLimitPolicyHasBeenSet() const
void SetPeerVpcAwsAccountId(Aws::String &&value)
bool PeerVpcIdHasBeenSet() const
void SetPeerVpcId(const Aws::String &value)
void SetDescription(const char *value)
void SetLogPaths(Aws::Vector< Aws::String > &&value)
void SetTags(const Aws::Vector< Tag > &value)
bool LogPathsHasBeenSet() const
CreateFleetRequest & WithEC2InboundPermissions(const Aws::Vector< IpPermission > &value)
bool BuildIdHasBeenSet() const
void SetFleetType(FleetType &&value)
CreateFleetRequest & WithAnywhereConfiguration(const AnywhereConfiguration &value)
const Aws::String & GetServerLaunchPath() const
void SetAnywhereConfiguration(const AnywhereConfiguration &value)
CreateFleetRequest & WithTags(Aws::Vector< Tag > &&value)
void SetAnywhereConfiguration(AnywhereConfiguration &&value)
bool FleetTypeHasBeenSet() const
void SetServerLaunchParameters(const char *value)
void SetBuildId(const char *value)
const Aws::Vector< LocationConfiguration > & GetLocations() const
CreateFleetRequest & WithName(const Aws::String &value)
bool PeerVpcAwsAccountIdHasBeenSet() const
void SetComputeType(ComputeType &&value)
CreateFleetRequest & WithServerLaunchParameters(const char *value)
void SetLogPaths(const Aws::Vector< Aws::String > &value)
bool InstanceRoleCredentialsProviderHasBeenSet() const
CreateFleetRequest & WithResourceCreationLimitPolicy(ResourceCreationLimitPolicy &&value)
CreateFleetRequest & WithPeerVpcId(Aws::String &&value)
CreateFleetRequest & WithMetricGroups(Aws::Vector< Aws::String > &&value)
CreateFleetRequest & WithServerLaunchParameters(Aws::String &&value)
CreateFleetRequest & WithResourceCreationLimitPolicy(const ResourceCreationLimitPolicy &value)
CreateFleetRequest & WithCertificateConfiguration(const CertificateConfiguration &value)
CreateFleetRequest & WithLocations(const Aws::Vector< LocationConfiguration > &value)
CreateFleetRequest & WithDescription(const Aws::String &value)
void SetInstanceRoleCredentialsProvider(InstanceRoleCredentialsProvider &&value)
void SetResourceCreationLimitPolicy(const ResourceCreationLimitPolicy &value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetServerLaunchPath(Aws::String &&value)
void SetEC2InstanceType(const EC2InstanceType &value)
CreateFleetRequest & WithRuntimeConfiguration(const RuntimeConfiguration &value)
CreateFleetRequest & WithScriptId(const Aws::String &value)
CreateFleetRequest & AddLocations(const LocationConfiguration &value)
void SetServerLaunchPath(const Aws::String &value)
void SetInstanceRoleCredentialsProvider(const InstanceRoleCredentialsProvider &value)
void SetEC2InstanceType(EC2InstanceType &&value)
CreateFleetRequest & WithServerLaunchPath(const char *value)
void SetLocations(const Aws::Vector< LocationConfiguration > &value)
const Aws::Vector< Aws::String > & GetLogPaths() const
bool AnywhereConfigurationHasBeenSet() const
const EC2InstanceType & GetEC2InstanceType() const
CreateFleetRequest & WithPeerVpcAwsAccountId(const char *value)
CreateFleetRequest & WithServerLaunchPath(const Aws::String &value)
bool ComputeTypeHasBeenSet() const
CreateFleetRequest & WithCertificateConfiguration(CertificateConfiguration &&value)
void SetInstanceRoleArn(Aws::String &&value)
bool ScriptIdHasBeenSet() const
CreateFleetRequest & WithEC2InstanceType(const EC2InstanceType &value)
void SetFleetType(const FleetType &value)
const ComputeType & GetComputeType() const
CreateFleetRequest & WithInstanceRoleArn(const Aws::String &value)
void SetPeerVpcAwsAccountId(const Aws::String &value)
void SetComputeType(const ComputeType &value)
void SetScriptId(const Aws::String &value)
CreateFleetRequest & WithBuildId(const char *value)
CreateFleetRequest & WithServerLaunchPath(Aws::String &&value)
void SetResourceCreationLimitPolicy(ResourceCreationLimitPolicy &&value)
bool ServerLaunchPathHasBeenSet() const
const AnywhereConfiguration & GetAnywhereConfiguration() const
InstanceRoleCredentialsProvider
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector