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/ProtectionPolicy.h>
20#include <aws/gamelift/model/ResourceCreationLimitPolicy.h>
21#include <aws/gamelift/model/RuntimeConfiguration.h>
22#include <aws/gamelift/model/Tag.h>
53 template <
typename NameT = Aws::String>
55 m_nameHasBeenSet =
true;
56 m_name = std::forward<NameT>(value);
58 template <
typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
71 template <
typename DescriptionT = Aws::String>
73 m_descriptionHasBeenSet =
true;
74 m_description = std::forward<DescriptionT>(value);
76 template <
typename DescriptionT = Aws::String>
93 template <
typename BuildIdT = Aws::String>
95 m_buildIdHasBeenSet =
true;
96 m_buildId = std::forward<BuildIdT>(value);
98 template <
typename BuildIdT = Aws::String>
114 template <
typename ScriptIdT = Aws::String>
116 m_scriptIdHasBeenSet =
true;
117 m_scriptId = std::forward<ScriptIdT>(value);
119 template <
typename ScriptIdT = Aws::String>
134 template <
typename ServerLaunchPathT = Aws::String>
136 m_serverLaunchPathHasBeenSet =
true;
137 m_serverLaunchPath = std::forward<ServerLaunchPathT>(value);
139 template <
typename ServerLaunchPathT = Aws::String>
154 template <
typename ServerLaunchParametersT = Aws::String>
156 m_serverLaunchParametersHasBeenSet =
true;
157 m_serverLaunchParameters = std::forward<ServerLaunchParametersT>(value);
159 template <
typename ServerLaunchParametersT = Aws::String>
178 template <
typename LogPathsT = Aws::Vector<Aws::String>>
180 m_logPathsHasBeenSet =
true;
181 m_logPaths = std::forward<LogPathsT>(value);
183 template <
typename LogPathsT = Aws::Vector<Aws::String>>
188 template <
typename LogPathsT = Aws::String>
190 m_logPathsHasBeenSet =
true;
191 m_logPaths.emplace_back(std::forward<LogPathsT>(value));
208 m_eC2InstanceTypeHasBeenSet =
true;
209 m_eC2InstanceType = value;
231 template <
typename EC2InboundPermissionsT = Aws::Vector<IpPermission>>
233 m_eC2InboundPermissionsHasBeenSet =
true;
234 m_eC2InboundPermissions = std::forward<EC2InboundPermissionsT>(value);
236 template <
typename EC2InboundPermissionsT = Aws::Vector<IpPermission>>
241 template <
typename EC2InboundPermissionsT = IpPermission>
243 m_eC2InboundPermissionsHasBeenSet =
true;
244 m_eC2InboundPermissions.emplace_back(std::forward<EC2InboundPermissionsT>(value));
263 m_newGameSessionProtectionPolicyHasBeenSet =
true;
264 m_newGameSessionProtectionPolicy = value;
286 template <
typename RuntimeConfigurationT = RuntimeConfiguration>
288 m_runtimeConfigurationHasBeenSet =
true;
289 m_runtimeConfiguration = std::forward<RuntimeConfigurationT>(value);
291 template <
typename RuntimeConfigurationT = RuntimeConfiguration>
305 template <
typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
307 m_resourceCreationLimitPolicyHasBeenSet =
true;
308 m_resourceCreationLimitPolicy = std::forward<ResourceCreationLimitPolicyT>(value);
310 template <
typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
326 template <
typename MetricGroupsT = Aws::Vector<Aws::String>>
328 m_metricGroupsHasBeenSet =
true;
329 m_metricGroups = std::forward<MetricGroupsT>(value);
331 template <
typename MetricGroupsT = Aws::Vector<Aws::String>>
336 template <
typename MetricGroupsT = Aws::String>
338 m_metricGroupsHasBeenSet =
true;
339 m_metricGroups.emplace_back(std::forward<MetricGroupsT>(value));
353 template <
typename PeerVpcAwsAccountIdT = Aws::String>
355 m_peerVpcAwsAccountIdHasBeenSet =
true;
356 m_peerVpcAwsAccountId = std::forward<PeerVpcAwsAccountIdT>(value);
358 template <
typename PeerVpcAwsAccountIdT = Aws::String>
377 template <
typename PeerVpcIdT = Aws::String>
379 m_peerVpcIdHasBeenSet =
true;
380 m_peerVpcId = std::forward<PeerVpcIdT>(value);
382 template <
typename PeerVpcIdT = Aws::String>
401 m_fleetTypeHasBeenSet =
true;
425 template <
typename InstanceRoleArnT = Aws::String>
427 m_instanceRoleArnHasBeenSet =
true;
428 m_instanceRoleArn = std::forward<InstanceRoleArnT>(value);
430 template <
typename InstanceRoleArnT = Aws::String>
456 template <
typename CertificateConfigurationT = CertificateConfiguration>
458 m_certificateConfigurationHasBeenSet =
true;
459 m_certificateConfiguration = std::forward<CertificateConfigurationT>(value);
461 template <
typename CertificateConfigurationT = CertificateConfiguration>
483 template <
typename LocationsT = Aws::Vector<LocationConfiguration>>
485 m_locationsHasBeenSet =
true;
486 m_locations = std::forward<LocationsT>(value);
488 template <
typename LocationsT = Aws::Vector<LocationConfiguration>>
493 template <
typename LocationsT = LocationConfiguration>
495 m_locationsHasBeenSet =
true;
496 m_locations.emplace_back(std::forward<LocationsT>(value));
513 template <
typename TagsT = Aws::Vector<Tag>>
515 m_tagsHasBeenSet =
true;
516 m_tags = std::forward<TagsT>(value);
518 template <
typename TagsT = Aws::Vector<Tag>>
520 SetTags(std::forward<TagsT>(value));
523 template <
typename TagsT = Tag>
525 m_tagsHasBeenSet =
true;
526 m_tags.emplace_back(std::forward<TagsT>(value));
543 m_computeTypeHasBeenSet =
true;
544 m_computeType = value;
558 template <
typename AnywhereConfigurationT = AnywhereConfiguration>
560 m_anywhereConfigurationHasBeenSet =
true;
561 m_anywhereConfiguration = std::forward<AnywhereConfigurationT>(value);
563 template <
typename AnywhereConfigurationT = AnywhereConfiguration>
584 m_instanceRoleCredentialsProviderHasBeenSet =
true;
585 m_instanceRoleCredentialsProvider = value;
613 RuntimeConfiguration m_runtimeConfiguration;
615 ResourceCreationLimitPolicy m_resourceCreationLimitPolicy;
627 CertificateConfiguration m_certificateConfiguration;
635 AnywhereConfiguration m_anywhereConfiguration;
638 bool m_nameHasBeenSet =
false;
639 bool m_descriptionHasBeenSet =
false;
640 bool m_buildIdHasBeenSet =
false;
641 bool m_scriptIdHasBeenSet =
false;
642 bool m_serverLaunchPathHasBeenSet =
false;
643 bool m_serverLaunchParametersHasBeenSet =
false;
644 bool m_logPathsHasBeenSet =
false;
645 bool m_eC2InstanceTypeHasBeenSet =
false;
646 bool m_eC2InboundPermissionsHasBeenSet =
false;
647 bool m_newGameSessionProtectionPolicyHasBeenSet =
false;
648 bool m_runtimeConfigurationHasBeenSet =
false;
649 bool m_resourceCreationLimitPolicyHasBeenSet =
false;
650 bool m_metricGroupsHasBeenSet =
false;
651 bool m_peerVpcAwsAccountIdHasBeenSet =
false;
652 bool m_peerVpcIdHasBeenSet =
false;
653 bool m_fleetTypeHasBeenSet =
false;
654 bool m_instanceRoleArnHasBeenSet =
false;
655 bool m_certificateConfigurationHasBeenSet =
false;
656 bool m_locationsHasBeenSet =
false;
657 bool m_tagsHasBeenSet =
false;
658 bool m_computeTypeHasBeenSet =
false;
659 bool m_anywhereConfigurationHasBeenSet =
false;
660 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