7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/gamelift/GameLiftRequest.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/FleetType.h>
16#include <aws/gamelift/model/InstanceRoleCredentialsProvider.h>
17#include <aws/gamelift/model/IpPermission.h>
18#include <aws/gamelift/model/LocationConfiguration.h>
19#include <aws/gamelift/model/PlayerGatewayConfiguration.h>
20#include <aws/gamelift/model/PlayerGatewayMode.h>
21#include <aws/gamelift/model/ProtectionPolicy.h>
22#include <aws/gamelift/model/ResourceCreationLimitPolicy.h>
23#include <aws/gamelift/model/RuntimeConfiguration.h>
24#include <aws/gamelift/model/Tag.h>
55 template <
typename NameT = Aws::String>
57 m_nameHasBeenSet =
true;
58 m_name = std::forward<NameT>(value);
60 template <
typename NameT = Aws::String>
62 SetName(std::forward<NameT>(value));
73 template <
typename DescriptionT = Aws::String>
75 m_descriptionHasBeenSet =
true;
76 m_description = std::forward<DescriptionT>(value);
78 template <
typename DescriptionT = Aws::String>
95 template <
typename BuildIdT = Aws::String>
97 m_buildIdHasBeenSet =
true;
98 m_buildId = std::forward<BuildIdT>(value);
100 template <
typename BuildIdT = Aws::String>
116 template <
typename ScriptIdT = Aws::String>
118 m_scriptIdHasBeenSet =
true;
119 m_scriptId = std::forward<ScriptIdT>(value);
121 template <
typename ScriptIdT = Aws::String>
136 template <
typename ServerLaunchPathT = Aws::String>
138 m_serverLaunchPathHasBeenSet =
true;
139 m_serverLaunchPath = std::forward<ServerLaunchPathT>(value);
141 template <
typename ServerLaunchPathT = Aws::String>
156 template <
typename ServerLaunchParametersT = Aws::String>
158 m_serverLaunchParametersHasBeenSet =
true;
159 m_serverLaunchParameters = std::forward<ServerLaunchParametersT>(value);
161 template <
typename ServerLaunchParametersT = Aws::String>
180 template <
typename LogPathsT = Aws::Vector<Aws::String>>
182 m_logPathsHasBeenSet =
true;
183 m_logPaths = std::forward<LogPathsT>(value);
185 template <
typename LogPathsT = Aws::Vector<Aws::String>>
190 template <
typename LogPathsT = Aws::String>
192 m_logPathsHasBeenSet =
true;
193 m_logPaths.emplace_back(std::forward<LogPathsT>(value));
210 m_eC2InstanceTypeHasBeenSet =
true;
211 m_eC2InstanceType = value;
233 template <
typename EC2InboundPermissionsT = Aws::Vector<IpPermission>>
235 m_eC2InboundPermissionsHasBeenSet =
true;
236 m_eC2InboundPermissions = std::forward<EC2InboundPermissionsT>(value);
238 template <
typename EC2InboundPermissionsT = Aws::Vector<IpPermission>>
243 template <
typename EC2InboundPermissionsT = IpPermission>
245 m_eC2InboundPermissionsHasBeenSet =
true;
246 m_eC2InboundPermissions.emplace_back(std::forward<EC2InboundPermissionsT>(value));
265 m_newGameSessionProtectionPolicyHasBeenSet =
true;
266 m_newGameSessionProtectionPolicy = value;
288 template <
typename RuntimeConfigurationT = RuntimeConfiguration>
290 m_runtimeConfigurationHasBeenSet =
true;
291 m_runtimeConfiguration = std::forward<RuntimeConfigurationT>(value);
293 template <
typename RuntimeConfigurationT = RuntimeConfiguration>
307 template <
typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
309 m_resourceCreationLimitPolicyHasBeenSet =
true;
310 m_resourceCreationLimitPolicy = std::forward<ResourceCreationLimitPolicyT>(value);
312 template <
typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
328 template <
typename MetricGroupsT = Aws::Vector<Aws::String>>
330 m_metricGroupsHasBeenSet =
true;
331 m_metricGroups = std::forward<MetricGroupsT>(value);
333 template <
typename MetricGroupsT = Aws::Vector<Aws::String>>
338 template <
typename MetricGroupsT = Aws::String>
340 m_metricGroupsHasBeenSet =
true;
341 m_metricGroups.emplace_back(std::forward<MetricGroupsT>(value));
355 template <
typename PeerVpcAwsAccountIdT = Aws::String>
357 m_peerVpcAwsAccountIdHasBeenSet =
true;
358 m_peerVpcAwsAccountId = std::forward<PeerVpcAwsAccountIdT>(value);
360 template <
typename PeerVpcAwsAccountIdT = Aws::String>
379 template <
typename PeerVpcIdT = Aws::String>
381 m_peerVpcIdHasBeenSet =
true;
382 m_peerVpcId = std::forward<PeerVpcIdT>(value);
384 template <
typename PeerVpcIdT = Aws::String>
403 m_fleetTypeHasBeenSet =
true;
427 template <
typename InstanceRoleArnT = Aws::String>
429 m_instanceRoleArnHasBeenSet =
true;
430 m_instanceRoleArn = std::forward<InstanceRoleArnT>(value);
432 template <
typename InstanceRoleArnT = Aws::String>
458 template <
typename CertificateConfigurationT = CertificateConfiguration>
460 m_certificateConfigurationHasBeenSet =
true;
461 m_certificateConfiguration = std::forward<CertificateConfigurationT>(value);
463 template <
typename CertificateConfigurationT = CertificateConfiguration>
485 template <
typename LocationsT = Aws::Vector<LocationConfiguration>>
487 m_locationsHasBeenSet =
true;
488 m_locations = std::forward<LocationsT>(value);
490 template <
typename LocationsT = Aws::Vector<LocationConfiguration>>
495 template <
typename LocationsT = LocationConfiguration>
497 m_locationsHasBeenSet =
true;
498 m_locations.emplace_back(std::forward<LocationsT>(value));
515 template <
typename TagsT = Aws::Vector<Tag>>
517 m_tagsHasBeenSet =
true;
518 m_tags = std::forward<TagsT>(value);
520 template <
typename TagsT = Aws::Vector<Tag>>
522 SetTags(std::forward<TagsT>(value));
525 template <
typename TagsT = Tag>
527 m_tagsHasBeenSet =
true;
528 m_tags.emplace_back(std::forward<TagsT>(value));
545 m_computeTypeHasBeenSet =
true;
546 m_computeType = value;
560 template <
typename AnywhereConfigurationT = AnywhereConfiguration>
562 m_anywhereConfigurationHasBeenSet =
true;
563 m_anywhereConfiguration = std::forward<AnywhereConfigurationT>(value);
565 template <
typename AnywhereConfigurationT = AnywhereConfiguration>
586 m_instanceRoleCredentialsProviderHasBeenSet =
true;
587 m_instanceRoleCredentialsProvider = value;
626 m_playerGatewayModeHasBeenSet =
true;
627 m_playerGatewayMode = value;
642 template <
typename PlayerGatewayConfigurationT = PlayerGatewayConfiguration>
644 m_playerGatewayConfigurationHasBeenSet =
true;
645 m_playerGatewayConfiguration = std::forward<PlayerGatewayConfigurationT>(value);
647 template <
typename PlayerGatewayConfigurationT = PlayerGatewayConfiguration>
674 RuntimeConfiguration m_runtimeConfiguration;
676 ResourceCreationLimitPolicy m_resourceCreationLimitPolicy;
688 CertificateConfiguration m_certificateConfiguration;
696 AnywhereConfiguration m_anywhereConfiguration;
702 PlayerGatewayConfiguration m_playerGatewayConfiguration;
703 bool m_nameHasBeenSet =
false;
704 bool m_descriptionHasBeenSet =
false;
705 bool m_buildIdHasBeenSet =
false;
706 bool m_scriptIdHasBeenSet =
false;
707 bool m_serverLaunchPathHasBeenSet =
false;
708 bool m_serverLaunchParametersHasBeenSet =
false;
709 bool m_logPathsHasBeenSet =
false;
710 bool m_eC2InstanceTypeHasBeenSet =
false;
711 bool m_eC2InboundPermissionsHasBeenSet =
false;
712 bool m_newGameSessionProtectionPolicyHasBeenSet =
false;
713 bool m_runtimeConfigurationHasBeenSet =
false;
714 bool m_resourceCreationLimitPolicyHasBeenSet =
false;
715 bool m_metricGroupsHasBeenSet =
false;
716 bool m_peerVpcAwsAccountIdHasBeenSet =
false;
717 bool m_peerVpcIdHasBeenSet =
false;
718 bool m_fleetTypeHasBeenSet =
false;
719 bool m_instanceRoleArnHasBeenSet =
false;
720 bool m_certificateConfigurationHasBeenSet =
false;
721 bool m_locationsHasBeenSet =
false;
722 bool m_tagsHasBeenSet =
false;
723 bool m_computeTypeHasBeenSet =
false;
724 bool m_anywhereConfigurationHasBeenSet =
false;
725 bool m_instanceRoleCredentialsProviderHasBeenSet =
false;
726 bool m_playerGatewayModeHasBeenSet =
false;
727 bool m_playerGatewayConfigurationHasBeenSet =
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)
void SetPlayerGatewayConfiguration(PlayerGatewayConfigurationT &&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 PlayerGatewayConfigurationHasBeenSet() const
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)
bool PlayerGatewayModeHasBeenSet() const
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
CreateFleetRequest & WithPlayerGatewayMode(PlayerGatewayMode value)
bool FleetTypeHasBeenSet() const
const Aws::Vector< LocationConfiguration > & GetLocations() const
CreateFleetRequest & AddEC2InboundPermissions(EC2InboundPermissionsT &&value)
bool PeerVpcAwsAccountIdHasBeenSet() const
bool InstanceRoleCredentialsProviderHasBeenSet() const
const PlayerGatewayConfiguration & GetPlayerGatewayConfiguration() const
PlayerGatewayMode GetPlayerGatewayMode() const
CreateFleetRequest & WithPlayerGatewayConfiguration(PlayerGatewayConfigurationT &&value)
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 SetPlayerGatewayMode(PlayerGatewayMode value)
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