AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateFleetRequest.h
1
6#pragma once
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>
25
26#include <utility>
27
28namespace Aws {
29namespace GameLift {
30namespace Model {
31
35 public:
36 AWS_GAMELIFT_API CreateFleetRequest() = default;
37
38 // Service request name is the Operation name which will send this request out,
39 // each operation should has unique request name, so that we can get operation's name from this request.
40 // Note: this is not true for response, multiple operations may have the same response name,
41 // so we can not get operation's name from response.
42 inline virtual const char* GetServiceRequestName() const override { return "CreateFleet"; }
43
44 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
45
47
49
53 inline const Aws::String& GetName() const { return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 template <typename NameT = Aws::String>
56 void SetName(NameT&& value) {
57 m_nameHasBeenSet = true;
58 m_name = std::forward<NameT>(value);
59 }
60 template <typename NameT = Aws::String>
61 CreateFleetRequest& WithName(NameT&& value) {
62 SetName(std::forward<NameT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 template <typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) {
75 m_descriptionHasBeenSet = true;
76 m_description = std::forward<DescriptionT>(value);
77 }
78 template <typename DescriptionT = Aws::String>
79 CreateFleetRequest& WithDescription(DescriptionT&& value) {
80 SetDescription(std::forward<DescriptionT>(value));
81 return *this;
82 }
84
86
93 inline const Aws::String& GetBuildId() const { return m_buildId; }
94 inline bool BuildIdHasBeenSet() const { return m_buildIdHasBeenSet; }
95 template <typename BuildIdT = Aws::String>
96 void SetBuildId(BuildIdT&& value) {
97 m_buildIdHasBeenSet = true;
98 m_buildId = std::forward<BuildIdT>(value);
99 }
100 template <typename BuildIdT = Aws::String>
101 CreateFleetRequest& WithBuildId(BuildIdT&& value) {
102 SetBuildId(std::forward<BuildIdT>(value));
103 return *this;
104 }
106
108
114 inline const Aws::String& GetScriptId() const { return m_scriptId; }
115 inline bool ScriptIdHasBeenSet() const { return m_scriptIdHasBeenSet; }
116 template <typename ScriptIdT = Aws::String>
117 void SetScriptId(ScriptIdT&& value) {
118 m_scriptIdHasBeenSet = true;
119 m_scriptId = std::forward<ScriptIdT>(value);
120 }
121 template <typename ScriptIdT = Aws::String>
122 CreateFleetRequest& WithScriptId(ScriptIdT&& value) {
123 SetScriptId(std::forward<ScriptIdT>(value));
124 return *this;
125 }
127
129
134 inline const Aws::String& GetServerLaunchPath() const { return m_serverLaunchPath; }
135 inline bool ServerLaunchPathHasBeenSet() const { return m_serverLaunchPathHasBeenSet; }
136 template <typename ServerLaunchPathT = Aws::String>
137 void SetServerLaunchPath(ServerLaunchPathT&& value) {
138 m_serverLaunchPathHasBeenSet = true;
139 m_serverLaunchPath = std::forward<ServerLaunchPathT>(value);
140 }
141 template <typename ServerLaunchPathT = Aws::String>
142 CreateFleetRequest& WithServerLaunchPath(ServerLaunchPathT&& value) {
143 SetServerLaunchPath(std::forward<ServerLaunchPathT>(value));
144 return *this;
145 }
147
149
154 inline const Aws::String& GetServerLaunchParameters() const { return m_serverLaunchParameters; }
155 inline bool ServerLaunchParametersHasBeenSet() const { return m_serverLaunchParametersHasBeenSet; }
156 template <typename ServerLaunchParametersT = Aws::String>
157 void SetServerLaunchParameters(ServerLaunchParametersT&& value) {
158 m_serverLaunchParametersHasBeenSet = true;
159 m_serverLaunchParameters = std::forward<ServerLaunchParametersT>(value);
160 }
161 template <typename ServerLaunchParametersT = Aws::String>
162 CreateFleetRequest& WithServerLaunchParameters(ServerLaunchParametersT&& value) {
163 SetServerLaunchParameters(std::forward<ServerLaunchParametersT>(value));
164 return *this;
165 }
167
169
178 inline const Aws::Vector<Aws::String>& GetLogPaths() const { return m_logPaths; }
179 inline bool LogPathsHasBeenSet() const { return m_logPathsHasBeenSet; }
180 template <typename LogPathsT = Aws::Vector<Aws::String>>
181 void SetLogPaths(LogPathsT&& value) {
182 m_logPathsHasBeenSet = true;
183 m_logPaths = std::forward<LogPathsT>(value);
184 }
185 template <typename LogPathsT = Aws::Vector<Aws::String>>
186 CreateFleetRequest& WithLogPaths(LogPathsT&& value) {
187 SetLogPaths(std::forward<LogPathsT>(value));
188 return *this;
189 }
190 template <typename LogPathsT = Aws::String>
191 CreateFleetRequest& AddLogPaths(LogPathsT&& value) {
192 m_logPathsHasBeenSet = true;
193 m_logPaths.emplace_back(std::forward<LogPathsT>(value));
194 return *this;
195 }
197
199
207 inline EC2InstanceType GetEC2InstanceType() const { return m_eC2InstanceType; }
208 inline bool EC2InstanceTypeHasBeenSet() const { return m_eC2InstanceTypeHasBeenSet; }
210 m_eC2InstanceTypeHasBeenSet = true;
211 m_eC2InstanceType = value;
212 }
214 SetEC2InstanceType(value);
215 return *this;
216 }
218
220
231 inline const Aws::Vector<IpPermission>& GetEC2InboundPermissions() const { return m_eC2InboundPermissions; }
232 inline bool EC2InboundPermissionsHasBeenSet() const { return m_eC2InboundPermissionsHasBeenSet; }
233 template <typename EC2InboundPermissionsT = Aws::Vector<IpPermission>>
234 void SetEC2InboundPermissions(EC2InboundPermissionsT&& value) {
235 m_eC2InboundPermissionsHasBeenSet = true;
236 m_eC2InboundPermissions = std::forward<EC2InboundPermissionsT>(value);
237 }
238 template <typename EC2InboundPermissionsT = Aws::Vector<IpPermission>>
239 CreateFleetRequest& WithEC2InboundPermissions(EC2InboundPermissionsT&& value) {
240 SetEC2InboundPermissions(std::forward<EC2InboundPermissionsT>(value));
241 return *this;
242 }
243 template <typename EC2InboundPermissionsT = IpPermission>
244 CreateFleetRequest& AddEC2InboundPermissions(EC2InboundPermissionsT&& value) {
245 m_eC2InboundPermissionsHasBeenSet = true;
246 m_eC2InboundPermissions.emplace_back(std::forward<EC2InboundPermissionsT>(value));
247 return *this;
248 }
250
252
262 inline ProtectionPolicy GetNewGameSessionProtectionPolicy() const { return m_newGameSessionProtectionPolicy; }
263 inline bool NewGameSessionProtectionPolicyHasBeenSet() const { return m_newGameSessionProtectionPolicyHasBeenSet; }
265 m_newGameSessionProtectionPolicyHasBeenSet = true;
266 m_newGameSessionProtectionPolicy = value;
267 }
270 return *this;
271 }
273
275
286 inline const RuntimeConfiguration& GetRuntimeConfiguration() const { return m_runtimeConfiguration; }
287 inline bool RuntimeConfigurationHasBeenSet() const { return m_runtimeConfigurationHasBeenSet; }
288 template <typename RuntimeConfigurationT = RuntimeConfiguration>
289 void SetRuntimeConfiguration(RuntimeConfigurationT&& value) {
290 m_runtimeConfigurationHasBeenSet = true;
291 m_runtimeConfiguration = std::forward<RuntimeConfigurationT>(value);
292 }
293 template <typename RuntimeConfigurationT = RuntimeConfiguration>
294 CreateFleetRequest& WithRuntimeConfiguration(RuntimeConfigurationT&& value) {
295 SetRuntimeConfiguration(std::forward<RuntimeConfigurationT>(value));
296 return *this;
297 }
299
301
305 inline const ResourceCreationLimitPolicy& GetResourceCreationLimitPolicy() const { return m_resourceCreationLimitPolicy; }
306 inline bool ResourceCreationLimitPolicyHasBeenSet() const { return m_resourceCreationLimitPolicyHasBeenSet; }
307 template <typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
308 void SetResourceCreationLimitPolicy(ResourceCreationLimitPolicyT&& value) {
309 m_resourceCreationLimitPolicyHasBeenSet = true;
310 m_resourceCreationLimitPolicy = std::forward<ResourceCreationLimitPolicyT>(value);
311 }
312 template <typename ResourceCreationLimitPolicyT = ResourceCreationLimitPolicy>
313 CreateFleetRequest& WithResourceCreationLimitPolicy(ResourceCreationLimitPolicyT&& value) {
314 SetResourceCreationLimitPolicy(std::forward<ResourceCreationLimitPolicyT>(value));
315 return *this;
316 }
318
320
326 inline const Aws::Vector<Aws::String>& GetMetricGroups() const { return m_metricGroups; }
327 inline bool MetricGroupsHasBeenSet() const { return m_metricGroupsHasBeenSet; }
328 template <typename MetricGroupsT = Aws::Vector<Aws::String>>
329 void SetMetricGroups(MetricGroupsT&& value) {
330 m_metricGroupsHasBeenSet = true;
331 m_metricGroups = std::forward<MetricGroupsT>(value);
332 }
333 template <typename MetricGroupsT = Aws::Vector<Aws::String>>
334 CreateFleetRequest& WithMetricGroups(MetricGroupsT&& value) {
335 SetMetricGroups(std::forward<MetricGroupsT>(value));
336 return *this;
337 }
338 template <typename MetricGroupsT = Aws::String>
339 CreateFleetRequest& AddMetricGroups(MetricGroupsT&& value) {
340 m_metricGroupsHasBeenSet = true;
341 m_metricGroups.emplace_back(std::forward<MetricGroupsT>(value));
342 return *this;
343 }
345
347
353 inline const Aws::String& GetPeerVpcAwsAccountId() const { return m_peerVpcAwsAccountId; }
354 inline bool PeerVpcAwsAccountIdHasBeenSet() const { return m_peerVpcAwsAccountIdHasBeenSet; }
355 template <typename PeerVpcAwsAccountIdT = Aws::String>
356 void SetPeerVpcAwsAccountId(PeerVpcAwsAccountIdT&& value) {
357 m_peerVpcAwsAccountIdHasBeenSet = true;
358 m_peerVpcAwsAccountId = std::forward<PeerVpcAwsAccountIdT>(value);
359 }
360 template <typename PeerVpcAwsAccountIdT = Aws::String>
361 CreateFleetRequest& WithPeerVpcAwsAccountId(PeerVpcAwsAccountIdT&& value) {
362 SetPeerVpcAwsAccountId(std::forward<PeerVpcAwsAccountIdT>(value));
363 return *this;
364 }
366
368
377 inline const Aws::String& GetPeerVpcId() const { return m_peerVpcId; }
378 inline bool PeerVpcIdHasBeenSet() const { return m_peerVpcIdHasBeenSet; }
379 template <typename PeerVpcIdT = Aws::String>
380 void SetPeerVpcId(PeerVpcIdT&& value) {
381 m_peerVpcIdHasBeenSet = true;
382 m_peerVpcId = std::forward<PeerVpcIdT>(value);
383 }
384 template <typename PeerVpcIdT = Aws::String>
385 CreateFleetRequest& WithPeerVpcId(PeerVpcIdT&& value) {
386 SetPeerVpcId(std::forward<PeerVpcIdT>(value));
387 return *this;
388 }
390
392
400 inline FleetType GetFleetType() const { return m_fleetType; }
401 inline bool FleetTypeHasBeenSet() const { return m_fleetTypeHasBeenSet; }
402 inline void SetFleetType(FleetType value) {
403 m_fleetTypeHasBeenSet = true;
404 m_fleetType = value;
405 }
407 SetFleetType(value);
408 return *this;
409 }
411
413
425 inline const Aws::String& GetInstanceRoleArn() const { return m_instanceRoleArn; }
426 inline bool InstanceRoleArnHasBeenSet() const { return m_instanceRoleArnHasBeenSet; }
427 template <typename InstanceRoleArnT = Aws::String>
428 void SetInstanceRoleArn(InstanceRoleArnT&& value) {
429 m_instanceRoleArnHasBeenSet = true;
430 m_instanceRoleArn = std::forward<InstanceRoleArnT>(value);
431 }
432 template <typename InstanceRoleArnT = Aws::String>
433 CreateFleetRequest& WithInstanceRoleArn(InstanceRoleArnT&& value) {
434 SetInstanceRoleArn(std::forward<InstanceRoleArnT>(value));
435 return *this;
436 }
438
440
456 inline const CertificateConfiguration& GetCertificateConfiguration() const { return m_certificateConfiguration; }
457 inline bool CertificateConfigurationHasBeenSet() const { return m_certificateConfigurationHasBeenSet; }
458 template <typename CertificateConfigurationT = CertificateConfiguration>
459 void SetCertificateConfiguration(CertificateConfigurationT&& value) {
460 m_certificateConfigurationHasBeenSet = true;
461 m_certificateConfiguration = std::forward<CertificateConfigurationT>(value);
462 }
463 template <typename CertificateConfigurationT = CertificateConfiguration>
464 CreateFleetRequest& WithCertificateConfiguration(CertificateConfigurationT&& value) {
465 SetCertificateConfiguration(std::forward<CertificateConfigurationT>(value));
466 return *this;
467 }
469
471
483 inline const Aws::Vector<LocationConfiguration>& GetLocations() const { return m_locations; }
484 inline bool LocationsHasBeenSet() const { return m_locationsHasBeenSet; }
485 template <typename LocationsT = Aws::Vector<LocationConfiguration>>
486 void SetLocations(LocationsT&& value) {
487 m_locationsHasBeenSet = true;
488 m_locations = std::forward<LocationsT>(value);
489 }
490 template <typename LocationsT = Aws::Vector<LocationConfiguration>>
491 CreateFleetRequest& WithLocations(LocationsT&& value) {
492 SetLocations(std::forward<LocationsT>(value));
493 return *this;
494 }
495 template <typename LocationsT = LocationConfiguration>
496 CreateFleetRequest& AddLocations(LocationsT&& value) {
497 m_locationsHasBeenSet = true;
498 m_locations.emplace_back(std::forward<LocationsT>(value));
499 return *this;
500 }
502
504
513 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
514 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
515 template <typename TagsT = Aws::Vector<Tag>>
516 void SetTags(TagsT&& value) {
517 m_tagsHasBeenSet = true;
518 m_tags = std::forward<TagsT>(value);
519 }
520 template <typename TagsT = Aws::Vector<Tag>>
521 CreateFleetRequest& WithTags(TagsT&& value) {
522 SetTags(std::forward<TagsT>(value));
523 return *this;
524 }
525 template <typename TagsT = Tag>
526 CreateFleetRequest& AddTags(TagsT&& value) {
527 m_tagsHasBeenSet = true;
528 m_tags.emplace_back(std::forward<TagsT>(value));
529 return *this;
530 }
532
534
542 inline ComputeType GetComputeType() const { return m_computeType; }
543 inline bool ComputeTypeHasBeenSet() const { return m_computeTypeHasBeenSet; }
544 inline void SetComputeType(ComputeType value) {
545 m_computeTypeHasBeenSet = true;
546 m_computeType = value;
547 }
549 SetComputeType(value);
550 return *this;
551 }
553
555
558 inline const AnywhereConfiguration& GetAnywhereConfiguration() const { return m_anywhereConfiguration; }
559 inline bool AnywhereConfigurationHasBeenSet() const { return m_anywhereConfigurationHasBeenSet; }
560 template <typename AnywhereConfigurationT = AnywhereConfiguration>
561 void SetAnywhereConfiguration(AnywhereConfigurationT&& value) {
562 m_anywhereConfigurationHasBeenSet = true;
563 m_anywhereConfiguration = std::forward<AnywhereConfigurationT>(value);
564 }
565 template <typename AnywhereConfigurationT = AnywhereConfiguration>
566 CreateFleetRequest& WithAnywhereConfiguration(AnywhereConfigurationT&& value) {
567 SetAnywhereConfiguration(std::forward<AnywhereConfigurationT>(value));
568 return *this;
569 }
571
573
583 inline InstanceRoleCredentialsProvider GetInstanceRoleCredentialsProvider() const { return m_instanceRoleCredentialsProvider; }
584 inline bool InstanceRoleCredentialsProviderHasBeenSet() const { return m_instanceRoleCredentialsProviderHasBeenSet; }
586 m_instanceRoleCredentialsProviderHasBeenSet = true;
587 m_instanceRoleCredentialsProvider = value;
588 }
591 return *this;
592 }
594
596
623 inline PlayerGatewayMode GetPlayerGatewayMode() const { return m_playerGatewayMode; }
624 inline bool PlayerGatewayModeHasBeenSet() const { return m_playerGatewayModeHasBeenSet; }
626 m_playerGatewayModeHasBeenSet = true;
627 m_playerGatewayMode = value;
628 }
631 return *this;
632 }
634
636
640 inline const PlayerGatewayConfiguration& GetPlayerGatewayConfiguration() const { return m_playerGatewayConfiguration; }
641 inline bool PlayerGatewayConfigurationHasBeenSet() const { return m_playerGatewayConfigurationHasBeenSet; }
642 template <typename PlayerGatewayConfigurationT = PlayerGatewayConfiguration>
643 void SetPlayerGatewayConfiguration(PlayerGatewayConfigurationT&& value) {
644 m_playerGatewayConfigurationHasBeenSet = true;
645 m_playerGatewayConfiguration = std::forward<PlayerGatewayConfigurationT>(value);
646 }
647 template <typename PlayerGatewayConfigurationT = PlayerGatewayConfiguration>
648 CreateFleetRequest& WithPlayerGatewayConfiguration(PlayerGatewayConfigurationT&& value) {
649 SetPlayerGatewayConfiguration(std::forward<PlayerGatewayConfigurationT>(value));
650 return *this;
651 }
653 private:
654 Aws::String m_name;
655
656 Aws::String m_description;
657
658 Aws::String m_buildId;
659
660 Aws::String m_scriptId;
661
662 Aws::String m_serverLaunchPath;
663
664 Aws::String m_serverLaunchParameters;
665
666 Aws::Vector<Aws::String> m_logPaths;
667
668 EC2InstanceType m_eC2InstanceType{EC2InstanceType::NOT_SET};
669
670 Aws::Vector<IpPermission> m_eC2InboundPermissions;
671
672 ProtectionPolicy m_newGameSessionProtectionPolicy{ProtectionPolicy::NOT_SET};
673
674 RuntimeConfiguration m_runtimeConfiguration;
675
676 ResourceCreationLimitPolicy m_resourceCreationLimitPolicy;
677
678 Aws::Vector<Aws::String> m_metricGroups;
679
680 Aws::String m_peerVpcAwsAccountId;
681
682 Aws::String m_peerVpcId;
683
684 FleetType m_fleetType{FleetType::NOT_SET};
685
686 Aws::String m_instanceRoleArn;
687
688 CertificateConfiguration m_certificateConfiguration;
689
691
692 Aws::Vector<Tag> m_tags;
693
694 ComputeType m_computeType{ComputeType::NOT_SET};
695
696 AnywhereConfiguration m_anywhereConfiguration;
697
699
701
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;
728};
729
730} // namespace Model
731} // namespace GameLift
732} // namespace Aws
const RuntimeConfiguration & GetRuntimeConfiguration() const
const CertificateConfiguration & GetCertificateConfiguration() const
const Aws::String & GetDescription() const
const Aws::String & GetPeerVpcAwsAccountId() const
void SetResourceCreationLimitPolicy(ResourceCreationLimitPolicyT &&value)
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)
CreateFleetRequest & WithLocations(LocationsT &&value)
const Aws::String & GetServerLaunchParameters() const
CreateFleetRequest & AddMetricGroups(MetricGroupsT &&value)
ProtectionPolicy GetNewGameSessionProtectionPolicy() const
void SetEC2InboundPermissions(EC2InboundPermissionsT &&value)
void SetAnywhereConfiguration(AnywhereConfigurationT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateFleetRequest & WithComputeType(ComputeType value)
const Aws::Vector< IpPermission > & GetEC2InboundPermissions() const
void SetInstanceRoleCredentialsProvider(InstanceRoleCredentialsProvider value)
CreateFleetRequest & WithLogPaths(LogPathsT &&value)
CreateFleetRequest & WithAnywhereConfiguration(AnywhereConfigurationT &&value)
CreateFleetRequest & WithDescription(DescriptionT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
void SetServerLaunchParameters(ServerLaunchParametersT &&value)
CreateFleetRequest & WithResourceCreationLimitPolicy(ResourceCreationLimitPolicyT &&value)
CreateFleetRequest & WithName(NameT &&value)
CreateFleetRequest & WithBuildId(BuildIdT &&value)
CreateFleetRequest & WithInstanceRoleArn(InstanceRoleArnT &&value)
InstanceRoleCredentialsProvider GetInstanceRoleCredentialsProvider() const
virtual const char * GetServiceRequestName() const override
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)
CreateFleetRequest & WithTags(TagsT &&value)
const ResourceCreationLimitPolicy & GetResourceCreationLimitPolicy() const
CreateFleetRequest & AddLogPaths(LogPathsT &&value)
void SetPeerVpcAwsAccountId(PeerVpcAwsAccountIdT &&value)
CreateFleetRequest & WithEC2InboundPermissions(EC2InboundPermissionsT &&value)
const Aws::String & GetServerLaunchPath() const
CreateFleetRequest & WithPlayerGatewayMode(PlayerGatewayMode value)
const Aws::Vector< LocationConfiguration > & GetLocations() const
CreateFleetRequest & AddEC2InboundPermissions(EC2InboundPermissionsT &&value)
const PlayerGatewayConfiguration & GetPlayerGatewayConfiguration() 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
void SetMetricGroups(MetricGroupsT &&value)
void SetPlayerGatewayMode(PlayerGatewayMode value)
CreateFleetRequest & WithServerLaunchPath(ServerLaunchPathT &&value)
void SetNewGameSessionProtectionPolicy(ProtectionPolicy value)
CreateFleetRequest & WithScriptId(ScriptIdT &&value)
CreateFleetRequest & WithNewGameSessionProtectionPolicy(ProtectionPolicy value)
const AnywhereConfiguration & GetAnywhereConfiguration() const
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