AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFleetRequest.h
1
6#pragma once
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>
24#include <utility>
25
26namespace Aws
27{
28namespace GameLift
29{
30namespace Model
31{
32
36 {
37 public:
38 AWS_GAMELIFT_API CreateFleetRequest();
39
40 // Service request name is the Operation name which will send this request out,
41 // each operation should has unique request name, so that we can get operation's name from this request.
42 // Note: this is not true for response, multiple operations may have the same response name,
43 // so we can not get operation's name from response.
44 inline virtual const char* GetServiceRequestName() const override { return "CreateFleet"; }
45
46 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
47
49
50
52
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline CreateFleetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline CreateFleetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline CreateFleetRequest& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 inline CreateFleetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline CreateFleetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline CreateFleetRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
87 inline const Aws::String& GetBuildId() const{ return m_buildId; }
88 inline bool BuildIdHasBeenSet() const { return m_buildIdHasBeenSet; }
89 inline void SetBuildId(const Aws::String& value) { m_buildIdHasBeenSet = true; m_buildId = value; }
90 inline void SetBuildId(Aws::String&& value) { m_buildIdHasBeenSet = true; m_buildId = std::move(value); }
91 inline void SetBuildId(const char* value) { m_buildIdHasBeenSet = true; m_buildId.assign(value); }
92 inline CreateFleetRequest& WithBuildId(const Aws::String& value) { SetBuildId(value); return *this;}
93 inline CreateFleetRequest& WithBuildId(Aws::String&& value) { SetBuildId(std::move(value)); return *this;}
94 inline CreateFleetRequest& WithBuildId(const char* value) { SetBuildId(value); return *this;}
96
98
104 inline const Aws::String& GetScriptId() const{ return m_scriptId; }
105 inline bool ScriptIdHasBeenSet() const { return m_scriptIdHasBeenSet; }
106 inline void SetScriptId(const Aws::String& value) { m_scriptIdHasBeenSet = true; m_scriptId = value; }
107 inline void SetScriptId(Aws::String&& value) { m_scriptIdHasBeenSet = true; m_scriptId = std::move(value); }
108 inline void SetScriptId(const char* value) { m_scriptIdHasBeenSet = true; m_scriptId.assign(value); }
109 inline CreateFleetRequest& WithScriptId(const Aws::String& value) { SetScriptId(value); return *this;}
110 inline CreateFleetRequest& WithScriptId(Aws::String&& value) { SetScriptId(std::move(value)); return *this;}
111 inline CreateFleetRequest& WithScriptId(const char* value) { SetScriptId(value); return *this;}
113
115
120 inline const Aws::String& GetServerLaunchPath() const{ return m_serverLaunchPath; }
121 inline bool ServerLaunchPathHasBeenSet() const { return m_serverLaunchPathHasBeenSet; }
122 inline void SetServerLaunchPath(const Aws::String& value) { m_serverLaunchPathHasBeenSet = true; m_serverLaunchPath = value; }
123 inline void SetServerLaunchPath(Aws::String&& value) { m_serverLaunchPathHasBeenSet = true; m_serverLaunchPath = std::move(value); }
124 inline void SetServerLaunchPath(const char* value) { m_serverLaunchPathHasBeenSet = true; m_serverLaunchPath.assign(value); }
125 inline CreateFleetRequest& WithServerLaunchPath(const Aws::String& value) { SetServerLaunchPath(value); return *this;}
126 inline CreateFleetRequest& WithServerLaunchPath(Aws::String&& value) { SetServerLaunchPath(std::move(value)); return *this;}
127 inline CreateFleetRequest& WithServerLaunchPath(const char* value) { SetServerLaunchPath(value); return *this;}
129
131
136 inline const Aws::String& GetServerLaunchParameters() const{ return m_serverLaunchParameters; }
137 inline bool ServerLaunchParametersHasBeenSet() const { return m_serverLaunchParametersHasBeenSet; }
138 inline void SetServerLaunchParameters(const Aws::String& value) { m_serverLaunchParametersHasBeenSet = true; m_serverLaunchParameters = value; }
139 inline void SetServerLaunchParameters(Aws::String&& value) { m_serverLaunchParametersHasBeenSet = true; m_serverLaunchParameters = std::move(value); }
140 inline void SetServerLaunchParameters(const char* value) { m_serverLaunchParametersHasBeenSet = true; m_serverLaunchParameters.assign(value); }
142 inline CreateFleetRequest& WithServerLaunchParameters(Aws::String&& value) { SetServerLaunchParameters(std::move(value)); return *this;}
143 inline CreateFleetRequest& WithServerLaunchParameters(const char* value) { SetServerLaunchParameters(value); return *this;}
145
147
155 inline const Aws::Vector<Aws::String>& GetLogPaths() const{ return m_logPaths; }
156 inline bool LogPathsHasBeenSet() const { return m_logPathsHasBeenSet; }
157 inline void SetLogPaths(const Aws::Vector<Aws::String>& value) { m_logPathsHasBeenSet = true; m_logPaths = value; }
158 inline void SetLogPaths(Aws::Vector<Aws::String>&& value) { m_logPathsHasBeenSet = true; m_logPaths = std::move(value); }
159 inline CreateFleetRequest& WithLogPaths(const Aws::Vector<Aws::String>& value) { SetLogPaths(value); return *this;}
160 inline CreateFleetRequest& WithLogPaths(Aws::Vector<Aws::String>&& value) { SetLogPaths(std::move(value)); return *this;}
161 inline CreateFleetRequest& AddLogPaths(const Aws::String& value) { m_logPathsHasBeenSet = true; m_logPaths.push_back(value); return *this; }
162 inline CreateFleetRequest& AddLogPaths(Aws::String&& value) { m_logPathsHasBeenSet = true; m_logPaths.push_back(std::move(value)); return *this; }
163 inline CreateFleetRequest& AddLogPaths(const char* value) { m_logPathsHasBeenSet = true; m_logPaths.push_back(value); return *this; }
165
167
175 inline const EC2InstanceType& GetEC2InstanceType() const{ return m_eC2InstanceType; }
176 inline bool EC2InstanceTypeHasBeenSet() const { return m_eC2InstanceTypeHasBeenSet; }
177 inline void SetEC2InstanceType(const EC2InstanceType& value) { m_eC2InstanceTypeHasBeenSet = true; m_eC2InstanceType = value; }
178 inline void SetEC2InstanceType(EC2InstanceType&& value) { m_eC2InstanceTypeHasBeenSet = true; m_eC2InstanceType = std::move(value); }
179 inline CreateFleetRequest& WithEC2InstanceType(const EC2InstanceType& value) { SetEC2InstanceType(value); return *this;}
180 inline CreateFleetRequest& WithEC2InstanceType(EC2InstanceType&& value) { SetEC2InstanceType(std::move(value)); return *this;}
182
184
197 inline const Aws::Vector<IpPermission>& GetEC2InboundPermissions() const{ return m_eC2InboundPermissions; }
198 inline bool EC2InboundPermissionsHasBeenSet() const { return m_eC2InboundPermissionsHasBeenSet; }
199 inline void SetEC2InboundPermissions(const Aws::Vector<IpPermission>& value) { m_eC2InboundPermissionsHasBeenSet = true; m_eC2InboundPermissions = value; }
200 inline void SetEC2InboundPermissions(Aws::Vector<IpPermission>&& value) { m_eC2InboundPermissionsHasBeenSet = true; m_eC2InboundPermissions = std::move(value); }
203 inline CreateFleetRequest& AddEC2InboundPermissions(const IpPermission& value) { m_eC2InboundPermissionsHasBeenSet = true; m_eC2InboundPermissions.push_back(value); return *this; }
204 inline CreateFleetRequest& AddEC2InboundPermissions(IpPermission&& value) { m_eC2InboundPermissionsHasBeenSet = true; m_eC2InboundPermissions.push_back(std::move(value)); return *this; }
206
208
218 inline const ProtectionPolicy& GetNewGameSessionProtectionPolicy() const{ return m_newGameSessionProtectionPolicy; }
219 inline bool NewGameSessionProtectionPolicyHasBeenSet() const { return m_newGameSessionProtectionPolicyHasBeenSet; }
220 inline void SetNewGameSessionProtectionPolicy(const ProtectionPolicy& value) { m_newGameSessionProtectionPolicyHasBeenSet = true; m_newGameSessionProtectionPolicy = value; }
221 inline void SetNewGameSessionProtectionPolicy(ProtectionPolicy&& value) { m_newGameSessionProtectionPolicyHasBeenSet = true; m_newGameSessionProtectionPolicy = std::move(value); }
225
227
238 inline const RuntimeConfiguration& GetRuntimeConfiguration() const{ return m_runtimeConfiguration; }
239 inline bool RuntimeConfigurationHasBeenSet() const { return m_runtimeConfigurationHasBeenSet; }
240 inline void SetRuntimeConfiguration(const RuntimeConfiguration& value) { m_runtimeConfigurationHasBeenSet = true; m_runtimeConfiguration = value; }
241 inline void SetRuntimeConfiguration(RuntimeConfiguration&& value) { m_runtimeConfigurationHasBeenSet = true; m_runtimeConfiguration = std::move(value); }
245
247
251 inline const ResourceCreationLimitPolicy& GetResourceCreationLimitPolicy() const{ return m_resourceCreationLimitPolicy; }
252 inline bool ResourceCreationLimitPolicyHasBeenSet() const { return m_resourceCreationLimitPolicyHasBeenSet; }
253 inline void SetResourceCreationLimitPolicy(const ResourceCreationLimitPolicy& value) { m_resourceCreationLimitPolicyHasBeenSet = true; m_resourceCreationLimitPolicy = value; }
254 inline void SetResourceCreationLimitPolicy(ResourceCreationLimitPolicy&& value) { m_resourceCreationLimitPolicyHasBeenSet = true; m_resourceCreationLimitPolicy = std::move(value); }
258
260
266 inline const Aws::Vector<Aws::String>& GetMetricGroups() const{ return m_metricGroups; }
267 inline bool MetricGroupsHasBeenSet() const { return m_metricGroupsHasBeenSet; }
268 inline void SetMetricGroups(const Aws::Vector<Aws::String>& value) { m_metricGroupsHasBeenSet = true; m_metricGroups = value; }
269 inline void SetMetricGroups(Aws::Vector<Aws::String>&& value) { m_metricGroupsHasBeenSet = true; m_metricGroups = std::move(value); }
271 inline CreateFleetRequest& WithMetricGroups(Aws::Vector<Aws::String>&& value) { SetMetricGroups(std::move(value)); return *this;}
272 inline CreateFleetRequest& AddMetricGroups(const Aws::String& value) { m_metricGroupsHasBeenSet = true; m_metricGroups.push_back(value); return *this; }
273 inline CreateFleetRequest& AddMetricGroups(Aws::String&& value) { m_metricGroupsHasBeenSet = true; m_metricGroups.push_back(std::move(value)); return *this; }
274 inline CreateFleetRequest& AddMetricGroups(const char* value) { m_metricGroupsHasBeenSet = true; m_metricGroups.push_back(value); return *this; }
276
278
284 inline const Aws::String& GetPeerVpcAwsAccountId() const{ return m_peerVpcAwsAccountId; }
285 inline bool PeerVpcAwsAccountIdHasBeenSet() const { return m_peerVpcAwsAccountIdHasBeenSet; }
286 inline void SetPeerVpcAwsAccountId(const Aws::String& value) { m_peerVpcAwsAccountIdHasBeenSet = true; m_peerVpcAwsAccountId = value; }
287 inline void SetPeerVpcAwsAccountId(Aws::String&& value) { m_peerVpcAwsAccountIdHasBeenSet = true; m_peerVpcAwsAccountId = std::move(value); }
288 inline void SetPeerVpcAwsAccountId(const char* value) { m_peerVpcAwsAccountIdHasBeenSet = true; m_peerVpcAwsAccountId.assign(value); }
290 inline CreateFleetRequest& WithPeerVpcAwsAccountId(Aws::String&& value) { SetPeerVpcAwsAccountId(std::move(value)); return *this;}
291 inline CreateFleetRequest& WithPeerVpcAwsAccountId(const char* value) { SetPeerVpcAwsAccountId(value); return *this;}
293
295
304 inline const Aws::String& GetPeerVpcId() const{ return m_peerVpcId; }
305 inline bool PeerVpcIdHasBeenSet() const { return m_peerVpcIdHasBeenSet; }
306 inline void SetPeerVpcId(const Aws::String& value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId = value; }
307 inline void SetPeerVpcId(Aws::String&& value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId = std::move(value); }
308 inline void SetPeerVpcId(const char* value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId.assign(value); }
309 inline CreateFleetRequest& WithPeerVpcId(const Aws::String& value) { SetPeerVpcId(value); return *this;}
310 inline CreateFleetRequest& WithPeerVpcId(Aws::String&& value) { SetPeerVpcId(std::move(value)); return *this;}
311 inline CreateFleetRequest& WithPeerVpcId(const char* value) { SetPeerVpcId(value); return *this;}
313
315
323 inline const FleetType& GetFleetType() const{ return m_fleetType; }
324 inline bool FleetTypeHasBeenSet() const { return m_fleetTypeHasBeenSet; }
325 inline void SetFleetType(const FleetType& value) { m_fleetTypeHasBeenSet = true; m_fleetType = value; }
326 inline void SetFleetType(FleetType&& value) { m_fleetTypeHasBeenSet = true; m_fleetType = std::move(value); }
327 inline CreateFleetRequest& WithFleetType(const FleetType& value) { SetFleetType(value); return *this;}
328 inline CreateFleetRequest& WithFleetType(FleetType&& value) { SetFleetType(std::move(value)); return *this;}
330
332
343 inline const Aws::String& GetInstanceRoleArn() const{ return m_instanceRoleArn; }
344 inline bool InstanceRoleArnHasBeenSet() const { return m_instanceRoleArnHasBeenSet; }
345 inline void SetInstanceRoleArn(const Aws::String& value) { m_instanceRoleArnHasBeenSet = true; m_instanceRoleArn = value; }
346 inline void SetInstanceRoleArn(Aws::String&& value) { m_instanceRoleArnHasBeenSet = true; m_instanceRoleArn = std::move(value); }
347 inline void SetInstanceRoleArn(const char* value) { m_instanceRoleArnHasBeenSet = true; m_instanceRoleArn.assign(value); }
348 inline CreateFleetRequest& WithInstanceRoleArn(const Aws::String& value) { SetInstanceRoleArn(value); return *this;}
349 inline CreateFleetRequest& WithInstanceRoleArn(Aws::String&& value) { SetInstanceRoleArn(std::move(value)); return *this;}
350 inline CreateFleetRequest& WithInstanceRoleArn(const char* value) { SetInstanceRoleArn(value); return *this;}
352
354
370 inline const CertificateConfiguration& GetCertificateConfiguration() const{ return m_certificateConfiguration; }
371 inline bool CertificateConfigurationHasBeenSet() const { return m_certificateConfigurationHasBeenSet; }
372 inline void SetCertificateConfiguration(const CertificateConfiguration& value) { m_certificateConfigurationHasBeenSet = true; m_certificateConfiguration = value; }
373 inline void SetCertificateConfiguration(CertificateConfiguration&& value) { m_certificateConfigurationHasBeenSet = true; m_certificateConfiguration = std::move(value); }
377
379
391 inline const Aws::Vector<LocationConfiguration>& GetLocations() const{ return m_locations; }
392 inline bool LocationsHasBeenSet() const { return m_locationsHasBeenSet; }
393 inline void SetLocations(const Aws::Vector<LocationConfiguration>& value) { m_locationsHasBeenSet = true; m_locations = value; }
394 inline void SetLocations(Aws::Vector<LocationConfiguration>&& value) { m_locationsHasBeenSet = true; m_locations = std::move(value); }
396 inline CreateFleetRequest& WithLocations(Aws::Vector<LocationConfiguration>&& value) { SetLocations(std::move(value)); return *this;}
397 inline CreateFleetRequest& AddLocations(const LocationConfiguration& value) { m_locationsHasBeenSet = true; m_locations.push_back(value); return *this; }
398 inline CreateFleetRequest& AddLocations(LocationConfiguration&& value) { m_locationsHasBeenSet = true; m_locations.push_back(std::move(value)); return *this; }
400
402
411 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
412 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
413 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
414 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
415 inline CreateFleetRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
416 inline CreateFleetRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
417 inline CreateFleetRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
418 inline CreateFleetRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
420
422
435 inline const ComputeType& GetComputeType() const{ return m_computeType; }
436 inline bool ComputeTypeHasBeenSet() const { return m_computeTypeHasBeenSet; }
437 inline void SetComputeType(const ComputeType& value) { m_computeTypeHasBeenSet = true; m_computeType = value; }
438 inline void SetComputeType(ComputeType&& value) { m_computeTypeHasBeenSet = true; m_computeType = std::move(value); }
439 inline CreateFleetRequest& WithComputeType(const ComputeType& value) { SetComputeType(value); return *this;}
440 inline CreateFleetRequest& WithComputeType(ComputeType&& value) { SetComputeType(std::move(value)); return *this;}
442
444
447 inline const AnywhereConfiguration& GetAnywhereConfiguration() const{ return m_anywhereConfiguration; }
448 inline bool AnywhereConfigurationHasBeenSet() const { return m_anywhereConfigurationHasBeenSet; }
449 inline void SetAnywhereConfiguration(const AnywhereConfiguration& value) { m_anywhereConfigurationHasBeenSet = true; m_anywhereConfiguration = value; }
450 inline void SetAnywhereConfiguration(AnywhereConfiguration&& value) { m_anywhereConfigurationHasBeenSet = true; m_anywhereConfiguration = std::move(value); }
454
456
466 inline const InstanceRoleCredentialsProvider& GetInstanceRoleCredentialsProvider() const{ return m_instanceRoleCredentialsProvider; }
467 inline bool InstanceRoleCredentialsProviderHasBeenSet() const { return m_instanceRoleCredentialsProviderHasBeenSet; }
468 inline void SetInstanceRoleCredentialsProvider(const InstanceRoleCredentialsProvider& value) { m_instanceRoleCredentialsProviderHasBeenSet = true; m_instanceRoleCredentialsProvider = value; }
469 inline void SetInstanceRoleCredentialsProvider(InstanceRoleCredentialsProvider&& value) { m_instanceRoleCredentialsProviderHasBeenSet = true; m_instanceRoleCredentialsProvider = std::move(value); }
473
475
483 inline const ContainerGroupsConfiguration& GetContainerGroupsConfiguration() const{ return m_containerGroupsConfiguration; }
484 inline bool ContainerGroupsConfigurationHasBeenSet() const { return m_containerGroupsConfigurationHasBeenSet; }
485 inline void SetContainerGroupsConfiguration(const ContainerGroupsConfiguration& value) { m_containerGroupsConfigurationHasBeenSet = true; m_containerGroupsConfiguration = value; }
486 inline void SetContainerGroupsConfiguration(ContainerGroupsConfiguration&& value) { m_containerGroupsConfigurationHasBeenSet = true; m_containerGroupsConfiguration = std::move(value); }
490 private:
491
492 Aws::String m_name;
493 bool m_nameHasBeenSet = false;
494
495 Aws::String m_description;
496 bool m_descriptionHasBeenSet = false;
497
498 Aws::String m_buildId;
499 bool m_buildIdHasBeenSet = false;
500
501 Aws::String m_scriptId;
502 bool m_scriptIdHasBeenSet = false;
503
504 Aws::String m_serverLaunchPath;
505 bool m_serverLaunchPathHasBeenSet = false;
506
507 Aws::String m_serverLaunchParameters;
508 bool m_serverLaunchParametersHasBeenSet = false;
509
510 Aws::Vector<Aws::String> m_logPaths;
511 bool m_logPathsHasBeenSet = false;
512
513 EC2InstanceType m_eC2InstanceType;
514 bool m_eC2InstanceTypeHasBeenSet = false;
515
516 Aws::Vector<IpPermission> m_eC2InboundPermissions;
517 bool m_eC2InboundPermissionsHasBeenSet = false;
518
519 ProtectionPolicy m_newGameSessionProtectionPolicy;
520 bool m_newGameSessionProtectionPolicyHasBeenSet = false;
521
522 RuntimeConfiguration m_runtimeConfiguration;
523 bool m_runtimeConfigurationHasBeenSet = false;
524
525 ResourceCreationLimitPolicy m_resourceCreationLimitPolicy;
526 bool m_resourceCreationLimitPolicyHasBeenSet = false;
527
528 Aws::Vector<Aws::String> m_metricGroups;
529 bool m_metricGroupsHasBeenSet = false;
530
531 Aws::String m_peerVpcAwsAccountId;
532 bool m_peerVpcAwsAccountIdHasBeenSet = false;
533
534 Aws::String m_peerVpcId;
535 bool m_peerVpcIdHasBeenSet = false;
536
537 FleetType m_fleetType;
538 bool m_fleetTypeHasBeenSet = false;
539
540 Aws::String m_instanceRoleArn;
541 bool m_instanceRoleArnHasBeenSet = false;
542
543 CertificateConfiguration m_certificateConfiguration;
544 bool m_certificateConfigurationHasBeenSet = false;
545
547 bool m_locationsHasBeenSet = false;
548
549 Aws::Vector<Tag> m_tags;
550 bool m_tagsHasBeenSet = false;
551
552 ComputeType m_computeType;
553 bool m_computeTypeHasBeenSet = false;
554
555 AnywhereConfiguration m_anywhereConfiguration;
556 bool m_anywhereConfigurationHasBeenSet = false;
557
558 InstanceRoleCredentialsProvider m_instanceRoleCredentialsProvider;
559 bool m_instanceRoleCredentialsProviderHasBeenSet = false;
560
561 ContainerGroupsConfiguration m_containerGroupsConfiguration;
562 bool m_containerGroupsConfigurationHasBeenSet = false;
563 };
564
565} // namespace Model
566} // namespace GameLift
567} // namespace Aws
const RuntimeConfiguration & GetRuntimeConfiguration() const
const CertificateConfiguration & GetCertificateConfiguration() 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)
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 Aws::String & GetServerLaunchParameters() const
CreateFleetRequest & WithContainerGroupsConfiguration(ContainerGroupsConfiguration &&value)
CreateFleetRequest & AddMetricGroups(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
const Aws::Vector< Tag > & GetTags() const
void SetEC2InboundPermissions(const Aws::Vector< IpPermission > &value)
CreateFleetRequest & WithPeerVpcAwsAccountId(const Aws::String &value)
CreateFleetRequest & WithDescription(const char *value)
CreateFleetRequest & WithPeerVpcAwsAccountId(Aws::String &&value)
const Aws::Vector< IpPermission > & GetEC2InboundPermissions() const
CreateFleetRequest & AddEC2InboundPermissions(const IpPermission &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)
void SetServerLaunchParameters(Aws::String &&value)
CreateFleetRequest & WithName(const char *value)
CreateFleetRequest & WithLocations(Aws::Vector< LocationConfiguration > &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
CreateFleetRequest & WithContainerGroupsConfiguration(const ContainerGroupsConfiguration &value)
const ProtectionPolicy & GetNewGameSessionProtectionPolicy() const
CreateFleetRequest & AddTags(const Tag &value)
void SetMetricGroups(Aws::Vector< Aws::String > &&value)
CreateFleetRequest & WithName(Aws::String &&value)
CreateFleetRequest & WithComputeType(ComputeType &&value)
virtual const char * GetServiceRequestName() const override
CreateFleetRequest & WithInstanceRoleArn(const char *value)
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 SetName(const Aws::String &value)
CreateFleetRequest & WithRuntimeConfiguration(RuntimeConfiguration &&value)
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)
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)
CreateFleetRequest & WithEC2InstanceType(EC2InstanceType &&value)
void SetDescription(const Aws::String &value)
CreateFleetRequest & WithBuildId(Aws::String &&value)
void SetPeerVpcAwsAccountId(Aws::String &&value)
void SetPeerVpcId(const Aws::String &value)
void SetLogPaths(Aws::Vector< Aws::String > &&value)
void SetTags(const Aws::Vector< Tag > &value)
CreateFleetRequest & WithEC2InboundPermissions(const Aws::Vector< IpPermission > &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)
const Aws::Vector< LocationConfiguration > & GetLocations() const
CreateFleetRequest & WithName(const Aws::String &value)
CreateFleetRequest & WithServerLaunchParameters(const char *value)
void SetLogPaths(const Aws::Vector< Aws::String > &value)
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 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
const EC2InstanceType & GetEC2InstanceType() const
CreateFleetRequest & WithPeerVpcAwsAccountId(const char *value)
CreateFleetRequest & WithServerLaunchPath(const Aws::String &value)
CreateFleetRequest & WithCertificateConfiguration(CertificateConfiguration &&value)
CreateFleetRequest & WithEC2InstanceType(const EC2InstanceType &value)
void SetFleetType(const FleetType &value)
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)
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