This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-gamelift/include/aws/gamelift/model/DescribeEC2InstanceLimitsRequest.h

115 lines
5.2 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/gamelift/GameLift_EXPORTS.h>
#include <aws/gamelift/GameLiftRequest.h>
#include <aws/gamelift/model/EC2InstanceType.h>
#include <utility>
namespace Aws
{
namespace GameLift
{
namespace Model
{
/**
* <p>Represents the input for a request action.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeEC2InstanceLimitsInput">AWS
* API Reference</a></p>
*/
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;
/**
* <p>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 <a
* href="http://aws.amazon.com/ec2/instance-types/">Amazon EC2 Instance Types</a>
* for detailed descriptions. Leave this parameter blank to retrieve limits for all
* types.</p>
*/
inline const EC2InstanceType& GetEC2InstanceType() const{ return m_eC2InstanceType; }
/**
* <p>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 <a
* href="http://aws.amazon.com/ec2/instance-types/">Amazon EC2 Instance Types</a>
* for detailed descriptions. Leave this parameter blank to retrieve limits for all
* types.</p>
*/
inline bool EC2InstanceTypeHasBeenSet() const { return m_eC2InstanceTypeHasBeenSet; }
/**
* <p>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 <a
* href="http://aws.amazon.com/ec2/instance-types/">Amazon EC2 Instance Types</a>
* for detailed descriptions. Leave this parameter blank to retrieve limits for all
* types.</p>
*/
inline void SetEC2InstanceType(const EC2InstanceType& value) { m_eC2InstanceTypeHasBeenSet = true; m_eC2InstanceType = value; }
/**
* <p>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 <a
* href="http://aws.amazon.com/ec2/instance-types/">Amazon EC2 Instance Types</a>
* for detailed descriptions. Leave this parameter blank to retrieve limits for all
* types.</p>
*/
inline void SetEC2InstanceType(EC2InstanceType&& value) { m_eC2InstanceTypeHasBeenSet = true; m_eC2InstanceType = std::move(value); }
/**
* <p>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 <a
* href="http://aws.amazon.com/ec2/instance-types/">Amazon EC2 Instance Types</a>
* for detailed descriptions. Leave this parameter blank to retrieve limits for all
* types.</p>
*/
inline DescribeEC2InstanceLimitsRequest& WithEC2InstanceType(const EC2InstanceType& value) { SetEC2InstanceType(value); return *this;}
/**
* <p>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 <a
* href="http://aws.amazon.com/ec2/instance-types/">Amazon EC2 Instance Types</a>
* for detailed descriptions. Leave this parameter blank to retrieve limits for all
* types.</p>
*/
inline DescribeEC2InstanceLimitsRequest& WithEC2InstanceType(EC2InstanceType&& value) { SetEC2InstanceType(std::move(value)); return *this;}
private:
EC2InstanceType m_eC2InstanceType;
bool m_eC2InstanceTypeHasBeenSet;
};
} // namespace Model
} // namespace GameLift
} // namespace Aws