/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace GameLift { namespace Model { /** *

Represents the input for a request action.

See Also:

AWS * API Reference

*/ class AWS_GAMELIFT_API DescribeEC2InstanceLimitsRequest : public GameLiftRequest { public: DescribeEC2InstanceLimitsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeEC2InstanceLimits"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Name of an EC2 instance type that is supported in Amazon GameLift. A fleet * instance type determines the computing resources of each instance in the fleet, * including CPU, memory, storage, and networking capacity. Amazon GameLift * supports the following EC2 instance types. See Amazon EC2 Instance Types * for detailed descriptions. Leave this parameter blank to retrieve limits for all * types.

*/ inline const EC2InstanceType& GetEC2InstanceType() const{ return m_eC2InstanceType; } /** *

Name of an EC2 instance type that is supported in Amazon GameLift. A fleet * instance type determines the computing resources of each instance in the fleet, * including CPU, memory, storage, and networking capacity. Amazon GameLift * supports the following EC2 instance types. See Amazon EC2 Instance Types * for detailed descriptions. Leave this parameter blank to retrieve limits for all * types.

*/ inline bool EC2InstanceTypeHasBeenSet() const { return m_eC2InstanceTypeHasBeenSet; } /** *

Name of an EC2 instance type that is supported in Amazon GameLift. A fleet * instance type determines the computing resources of each instance in the fleet, * including CPU, memory, storage, and networking capacity. Amazon GameLift * supports the following EC2 instance types. See Amazon EC2 Instance Types * for detailed descriptions. Leave this parameter blank to retrieve limits for all * types.

*/ inline void SetEC2InstanceType(const EC2InstanceType& value) { m_eC2InstanceTypeHasBeenSet = true; m_eC2InstanceType = value; } /** *

Name of an EC2 instance type that is supported in Amazon GameLift. A fleet * instance type determines the computing resources of each instance in the fleet, * including CPU, memory, storage, and networking capacity. Amazon GameLift * supports the following EC2 instance types. See Amazon EC2 Instance Types * for detailed descriptions. Leave this parameter blank to retrieve limits for all * types.

*/ inline void SetEC2InstanceType(EC2InstanceType&& value) { m_eC2InstanceTypeHasBeenSet = true; m_eC2InstanceType = std::move(value); } /** *

Name of an EC2 instance type that is supported in Amazon GameLift. A fleet * instance type determines the computing resources of each instance in the fleet, * including CPU, memory, storage, and networking capacity. Amazon GameLift * supports the following EC2 instance types. See Amazon EC2 Instance Types * for detailed descriptions. Leave this parameter blank to retrieve limits for all * types.

*/ inline DescribeEC2InstanceLimitsRequest& WithEC2InstanceType(const EC2InstanceType& value) { SetEC2InstanceType(value); return *this;} /** *

Name of an EC2 instance type that is supported in Amazon GameLift. A fleet * instance type determines the computing resources of each instance in the fleet, * including CPU, memory, storage, and networking capacity. Amazon GameLift * supports the following EC2 instance types. See Amazon EC2 Instance Types * for detailed descriptions. Leave this parameter blank to retrieve limits for all * types.

*/ inline DescribeEC2InstanceLimitsRequest& WithEC2InstanceType(EC2InstanceType&& value) { SetEC2InstanceType(std::move(value)); return *this;} private: EC2InstanceType m_eC2InstanceType; bool m_eC2InstanceTypeHasBeenSet; }; } // namespace Model } // namespace GameLift } // namespace Aws