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/IpPermission.h>
21#include <aws/gamelift/model/LocationConfiguration.h>
22#include <aws/gamelift/model/Tag.h>
57 template<
typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
59 template<
typename NameT = Aws::String>
69 template<
typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
71 template<
typename DescriptionT = Aws::String>
85 template<
typename BuildIdT = Aws::String>
86 void SetBuildId(BuildIdT&& value) { m_buildIdHasBeenSet =
true; m_buildId = std::forward<BuildIdT>(value); }
87 template<
typename BuildIdT = Aws::String>
100 template<
typename ScriptIdT = Aws::String>
101 void SetScriptId(ScriptIdT&& value) { m_scriptIdHasBeenSet =
true; m_scriptId = std::forward<ScriptIdT>(value); }
102 template<
typename ScriptIdT = Aws::String>
114 template<
typename ServerLaunchPathT = Aws::String>
115 void SetServerLaunchPath(ServerLaunchPathT&& value) { m_serverLaunchPathHasBeenSet =
true; m_serverLaunchPath = std::forward<ServerLaunchPathT>(value); }
116 template<
typename ServerLaunchPathT = Aws::String>
128 template<
typename ServerLaunchParametersT = Aws::String>
129 void SetServerLaunchParameters(ServerLaunchParametersT&& value) { m_serverLaunchParametersHasBeenSet =
true; m_serverLaunchParameters = std::forward<ServerLaunchParametersT>(value); }
130 template<
typename ServerLaunchParametersT = Aws::String>
146 template<
typename LogPathsT = Aws::Vector<Aws::String>>
147 void SetLogPaths(LogPathsT&& value) { m_logPathsHasBeenSet =
true; m_logPaths = std::forward<LogPathsT>(value); }
148 template<
typename LogPathsT = Aws::Vector<Aws::String>>
150 template<
typename LogPathsT = Aws::String>
183 template<
typename EC2InboundPermissionsT = Aws::Vector<IpPermission>>
184 void SetEC2InboundPermissions(EC2InboundPermissionsT&& value) { m_eC2InboundPermissionsHasBeenSet =
true; m_eC2InboundPermissions = std::forward<EC2InboundPermissionsT>(value); }
185 template<
typename EC2InboundPermissionsT = Aws::Vector<IpPermission>>
187 template<
typename EC2InboundPermissionsT = IpPermission>
222 template<
typename RuntimeConfigurationT = RuntimeConfiguration>
223 void SetRuntimeConfiguration(RuntimeConfigurationT&& value) { m_runtimeConfigurationHasBeenSet =
true; m_runtimeConfiguration = std::forward<RuntimeConfigurationT>(value); }
224 template<
typename RuntimeConfigurationT = RuntimeConfiguration>
235 template<
typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
236 void SetResourceCreationLimitPolicy(ResourceCreationLimitPolicyT&& value) { m_resourceCreationLimitPolicyHasBeenSet =
true; m_resourceCreationLimitPolicy = std::forward<ResourceCreationLimitPolicyT>(value); }
237 template<
typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
250 template<
typename MetricGroupsT = Aws::Vector<Aws::String>>
251 void SetMetricGroups(MetricGroupsT&& value) { m_metricGroupsHasBeenSet =
true; m_metricGroups = std::forward<MetricGroupsT>(value); }
252 template<
typename MetricGroupsT = Aws::Vector<Aws::String>>
254 template<
typename MetricGroupsT = Aws::String>
267 template<
typename PeerVpcAwsAccountIdT = Aws::String>
268 void SetPeerVpcAwsAccountId(PeerVpcAwsAccountIdT&& value) { m_peerVpcAwsAccountIdHasBeenSet =
true; m_peerVpcAwsAccountId = std::forward<PeerVpcAwsAccountIdT>(value); }
269 template<
typename PeerVpcAwsAccountIdT = Aws::String>
285 template<
typename PeerVpcIdT = Aws::String>
286 void SetPeerVpcId(PeerVpcIdT&& value) { m_peerVpcIdHasBeenSet =
true; m_peerVpcId = std::forward<PeerVpcIdT>(value); }
287 template<
typename PeerVpcIdT = Aws::String>
321 template<
typename InstanceRoleArnT = Aws::String>
322 void SetInstanceRoleArn(InstanceRoleArnT&& value) { m_instanceRoleArnHasBeenSet =
true; m_instanceRoleArn = std::forward<InstanceRoleArnT>(value); }
323 template<
typename InstanceRoleArnT = Aws::String>
346 template<
typename CertificateConfigurationT = CertificateConfiguration>
347 void SetCertificateConfiguration(CertificateConfigurationT&& value) { m_certificateConfigurationHasBeenSet =
true; m_certificateConfiguration = std::forward<CertificateConfigurationT>(value); }
348 template<
typename CertificateConfigurationT = CertificateConfiguration>
367 template<
typename LocationsT = Aws::Vector<LocationConfiguration>>
368 void SetLocations(LocationsT&& value) { m_locationsHasBeenSet =
true; m_locations = std::forward<LocationsT>(value); }
369 template<
typename LocationsT = Aws::Vector<LocationConfiguration>>
371 template<
typename LocationsT = LocationConfiguration>
387 template<
typename TagsT = Aws::Vector<Tag>>
388 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
389 template<
typename TagsT = Aws::Vector<Tag>>
391 template<
typename TagsT = Tag>
416 template<
typename AnywhereConfigurationT = AnywhereConfiguration>
417 void SetAnywhereConfiguration(AnywhereConfigurationT&& value) { m_anywhereConfigurationHasBeenSet =
true; m_anywhereConfiguration = std::forward<AnywhereConfigurationT>(value); }
418 template<
typename AnywhereConfigurationT = AnywhereConfiguration>
441 bool m_nameHasBeenSet =
false;
444 bool m_descriptionHasBeenSet =
false;
447 bool m_buildIdHasBeenSet =
false;
450 bool m_scriptIdHasBeenSet =
false;
453 bool m_serverLaunchPathHasBeenSet =
false;
456 bool m_serverLaunchParametersHasBeenSet =
false;
459 bool m_logPathsHasBeenSet =
false;
462 bool m_eC2InstanceTypeHasBeenSet =
false;
465 bool m_eC2InboundPermissionsHasBeenSet =
false;
468 bool m_newGameSessionProtectionPolicyHasBeenSet =
false;
470 RuntimeConfiguration m_runtimeConfiguration;
471 bool m_runtimeConfigurationHasBeenSet =
false;
473 ResourceCreationLimitPolicy m_resourceCreationLimitPolicy;
474 bool m_resourceCreationLimitPolicyHasBeenSet =
false;
477 bool m_metricGroupsHasBeenSet =
false;
480 bool m_peerVpcAwsAccountIdHasBeenSet =
false;
483 bool m_peerVpcIdHasBeenSet =
false;
486 bool m_fleetTypeHasBeenSet =
false;
489 bool m_instanceRoleArnHasBeenSet =
false;
491 CertificateConfiguration m_certificateConfiguration;
492 bool m_certificateConfigurationHasBeenSet =
false;
495 bool m_locationsHasBeenSet =
false;
498 bool m_tagsHasBeenSet =
false;
501 bool m_computeTypeHasBeenSet =
false;
503 AnywhereConfiguration m_anywhereConfiguration;
504 bool m_anywhereConfigurationHasBeenSet =
false;
507 bool m_instanceRoleCredentialsProviderHasBeenSet =
false;
const RuntimeConfiguration & GetRuntimeConfiguration() const
const CertificateConfiguration & GetCertificateConfiguration() const
const Aws::String & GetPeerVpcId() const
const Aws::String & GetDescription() const
const Aws::String & GetPeerVpcAwsAccountId() const
void SetComputeType(ComputeType value)
void SetFleetType(FleetType value)
void SetResourceCreationLimitPolicy(ResourceCreationLimitPolicyT &&value)
bool CertificateConfigurationHasBeenSet() const
CreateFleetRequest & WithEC2InstanceType(EC2InstanceType value)
CreateFleetRequest & WithPeerVpcAwsAccountId(PeerVpcAwsAccountIdT &&value)
CreateFleetRequest & WithFleetType(FleetType value)
CreateFleetRequest & AddTags(TagsT &&value)
CreateFleetRequest & WithCertificateConfiguration(CertificateConfigurationT &&value)
CreateFleetRequest & WithRuntimeConfiguration(RuntimeConfigurationT &&value)
bool InstanceRoleArnHasBeenSet() const
CreateFleetRequest & WithLocations(LocationsT &&value)
const Aws::String & GetServerLaunchParameters() const
bool RuntimeConfigurationHasBeenSet() const
bool DescriptionHasBeenSet() const
EC2InstanceType GetEC2InstanceType() const
bool LocationsHasBeenSet() const
CreateFleetRequest & AddMetricGroups(MetricGroupsT &&value)
void SetDescription(DescriptionT &&value)
ProtectionPolicy GetNewGameSessionProtectionPolicy() const
void SetEC2InboundPermissions(EC2InboundPermissionsT &&value)
void SetAnywhereConfiguration(AnywhereConfigurationT &&value)
const Aws::String & GetBuildId() const
const Aws::Vector< Tag > & GetTags() const
CreateFleetRequest & WithComputeType(ComputeType value)
const Aws::Vector< IpPermission > & GetEC2InboundPermissions() const
void SetLogPaths(LogPathsT &&value)
bool NewGameSessionProtectionPolicyHasBeenSet() const
void SetInstanceRoleCredentialsProvider(InstanceRoleCredentialsProvider value)
CreateFleetRequest & WithLogPaths(LogPathsT &&value)
void SetScriptId(ScriptIdT &&value)
bool EC2InstanceTypeHasBeenSet() const
CreateFleetRequest & WithAnywhereConfiguration(AnywhereConfigurationT &&value)
CreateFleetRequest & WithDescription(DescriptionT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
bool NameHasBeenSet() const
void SetServerLaunchParameters(ServerLaunchParametersT &&value)
CreateFleetRequest & WithResourceCreationLimitPolicy(ResourceCreationLimitPolicyT &&value)
bool TagsHasBeenSet() const
CreateFleetRequest & WithName(NameT &&value)
void SetTags(TagsT &&value)
CreateFleetRequest & WithBuildId(BuildIdT &&value)
CreateFleetRequest & WithInstanceRoleArn(InstanceRoleArnT &&value)
InstanceRoleCredentialsProvider GetInstanceRoleCredentialsProvider() const
virtual const char * GetServiceRequestName() const override
void SetName(NameT &&value)
void SetLocations(LocationsT &&value)
bool ServerLaunchParametersHasBeenSet() const
const Aws::String & GetInstanceRoleArn() const
const Aws::Vector< Aws::String > & GetMetricGroups() const
void SetServerLaunchPath(ServerLaunchPathT &&value)
CreateFleetRequest & WithInstanceRoleCredentialsProvider(InstanceRoleCredentialsProvider value)
void SetEC2InstanceType(EC2InstanceType value)
AWS_GAMELIFT_API CreateFleetRequest()=default
void SetCertificateConfiguration(CertificateConfigurationT &&value)
CreateFleetRequest & WithPeerVpcId(PeerVpcIdT &&value)
CreateFleetRequest & WithServerLaunchParameters(ServerLaunchParametersT &&value)
CreateFleetRequest & AddLocations(LocationsT &&value)
bool EC2InboundPermissionsHasBeenSet() const
CreateFleetRequest & WithTags(TagsT &&value)
const ResourceCreationLimitPolicy & GetResourceCreationLimitPolicy() const
CreateFleetRequest & AddLogPaths(LogPathsT &&value)
ComputeType GetComputeType() const
bool MetricGroupsHasBeenSet() const
const Aws::String & GetScriptId() const
const Aws::String & GetName() const
void SetPeerVpcAwsAccountId(PeerVpcAwsAccountIdT &&value)
bool ResourceCreationLimitPolicyHasBeenSet() const
bool PeerVpcIdHasBeenSet() const
FleetType GetFleetType() const
bool LogPathsHasBeenSet() const
CreateFleetRequest & WithEC2InboundPermissions(EC2InboundPermissionsT &&value)
bool BuildIdHasBeenSet() const
void SetBuildId(BuildIdT &&value)
const Aws::String & GetServerLaunchPath() const
bool FleetTypeHasBeenSet() const
const Aws::Vector< LocationConfiguration > & GetLocations() const
CreateFleetRequest & AddEC2InboundPermissions(EC2InboundPermissionsT &&value)
bool PeerVpcAwsAccountIdHasBeenSet() const
bool InstanceRoleCredentialsProviderHasBeenSet() const
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetRuntimeConfiguration(RuntimeConfigurationT &&value)
void SetInstanceRoleArn(InstanceRoleArnT &&value)
CreateFleetRequest & WithMetricGroups(MetricGroupsT &&value)
const Aws::Vector< Aws::String > & GetLogPaths() const
bool AnywhereConfigurationHasBeenSet() const
void SetMetricGroups(MetricGroupsT &&value)
bool ComputeTypeHasBeenSet() const
bool ScriptIdHasBeenSet() const
void SetPeerVpcId(PeerVpcIdT &&value)
CreateFleetRequest & WithServerLaunchPath(ServerLaunchPathT &&value)
void SetNewGameSessionProtectionPolicy(ProtectionPolicy value)
CreateFleetRequest & WithScriptId(ScriptIdT &&value)
CreateFleetRequest & WithNewGameSessionProtectionPolicy(ProtectionPolicy 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