/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the parameters for DescribeReservedInstancesOfferings.See
* Also:
AWS
* API Reference
The Availability Zone in which the Reserved Instance can be used.
*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *The Availability Zone in which the Reserved Instance can be used.
*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *The Availability Zone in which the Reserved Instance can be used.
*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *The Availability Zone in which the Reserved Instance can be used.
*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *The Availability Zone in which the Reserved Instance can be used.
*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *The Availability Zone in which the Reserved Instance can be used.
*/ inline DescribeReservedInstancesOfferingsRequest& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *The Availability Zone in which the Reserved Instance can be used.
*/ inline DescribeReservedInstancesOfferingsRequest& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *The Availability Zone in which the Reserved Instance can be used.
*/ inline DescribeReservedInstancesOfferingsRequest& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *One or more filters.
availability-zone
- The
* Availability Zone where the Reserved Instance can be used.
* duration
- The duration of the Reserved Instance (for example, one
* year or three years), in seconds (31536000
|
* 94608000
).
fixed-price
- The
* purchase price of the Reserved Instance (for example, 9800.0).
instance-type
- The instance type that is covered by the
* reservation.
marketplace
- Set to
* true
to show only Reserved Instance Marketplace offerings. When
* this filter is not used, which is the default behavior, all offerings from both
* Amazon Web Services and the Reserved Instance Marketplace are listed.
product-description
- The Reserved Instance product
* platform description (Linux/UNIX
| Linux with SQL Server
* Standard
| Linux with SQL Server Web
| Linux with SQL
* Server Enterprise
| SUSE Linux
| Red Hat Enterprise
* Linux
| Red Hat Enterprise Linux with HA
|
* Windows
| Windows with SQL Server Standard
|
* Windows with SQL Server Web
| Windows with SQL Server
* Enterprise
).
* reserved-instances-offering-id
- The Reserved Instances offering
* ID.
scope
- The scope of the Reserved Instance
* (Availability Zone
or Region
).
* usage-price
- The usage price of the Reserved Instance, per hour
* (for example, 0.84).
One or more filters.
availability-zone
- The
* Availability Zone where the Reserved Instance can be used.
* duration
- The duration of the Reserved Instance (for example, one
* year or three years), in seconds (31536000
|
* 94608000
).
fixed-price
- The
* purchase price of the Reserved Instance (for example, 9800.0).
instance-type
- The instance type that is covered by the
* reservation.
marketplace
- Set to
* true
to show only Reserved Instance Marketplace offerings. When
* this filter is not used, which is the default behavior, all offerings from both
* Amazon Web Services and the Reserved Instance Marketplace are listed.
product-description
- The Reserved Instance product
* platform description (Linux/UNIX
| Linux with SQL Server
* Standard
| Linux with SQL Server Web
| Linux with SQL
* Server Enterprise
| SUSE Linux
| Red Hat Enterprise
* Linux
| Red Hat Enterprise Linux with HA
|
* Windows
| Windows with SQL Server Standard
|
* Windows with SQL Server Web
| Windows with SQL Server
* Enterprise
).
* reserved-instances-offering-id
- The Reserved Instances offering
* ID.
scope
- The scope of the Reserved Instance
* (Availability Zone
or Region
).
* usage-price
- The usage price of the Reserved Instance, per hour
* (for example, 0.84).
One or more filters.
availability-zone
- The
* Availability Zone where the Reserved Instance can be used.
* duration
- The duration of the Reserved Instance (for example, one
* year or three years), in seconds (31536000
|
* 94608000
).
fixed-price
- The
* purchase price of the Reserved Instance (for example, 9800.0).
instance-type
- The instance type that is covered by the
* reservation.
marketplace
- Set to
* true
to show only Reserved Instance Marketplace offerings. When
* this filter is not used, which is the default behavior, all offerings from both
* Amazon Web Services and the Reserved Instance Marketplace are listed.
product-description
- The Reserved Instance product
* platform description (Linux/UNIX
| Linux with SQL Server
* Standard
| Linux with SQL Server Web
| Linux with SQL
* Server Enterprise
| SUSE Linux
| Red Hat Enterprise
* Linux
| Red Hat Enterprise Linux with HA
|
* Windows
| Windows with SQL Server Standard
|
* Windows with SQL Server Web
| Windows with SQL Server
* Enterprise
).
* reserved-instances-offering-id
- The Reserved Instances offering
* ID.
scope
- The scope of the Reserved Instance
* (Availability Zone
or Region
).
* usage-price
- The usage price of the Reserved Instance, per hour
* (for example, 0.84).
One or more filters.
availability-zone
- The
* Availability Zone where the Reserved Instance can be used.
* duration
- The duration of the Reserved Instance (for example, one
* year or three years), in seconds (31536000
|
* 94608000
).
fixed-price
- The
* purchase price of the Reserved Instance (for example, 9800.0).
instance-type
- The instance type that is covered by the
* reservation.
marketplace
- Set to
* true
to show only Reserved Instance Marketplace offerings. When
* this filter is not used, which is the default behavior, all offerings from both
* Amazon Web Services and the Reserved Instance Marketplace are listed.
product-description
- The Reserved Instance product
* platform description (Linux/UNIX
| Linux with SQL Server
* Standard
| Linux with SQL Server Web
| Linux with SQL
* Server Enterprise
| SUSE Linux
| Red Hat Enterprise
* Linux
| Red Hat Enterprise Linux with HA
|
* Windows
| Windows with SQL Server Standard
|
* Windows with SQL Server Web
| Windows with SQL Server
* Enterprise
).
* reserved-instances-offering-id
- The Reserved Instances offering
* ID.
scope
- The scope of the Reserved Instance
* (Availability Zone
or Region
).
* usage-price
- The usage price of the Reserved Instance, per hour
* (for example, 0.84).
One or more filters.
availability-zone
- The
* Availability Zone where the Reserved Instance can be used.
* duration
- The duration of the Reserved Instance (for example, one
* year or three years), in seconds (31536000
|
* 94608000
).
fixed-price
- The
* purchase price of the Reserved Instance (for example, 9800.0).
instance-type
- The instance type that is covered by the
* reservation.
marketplace
- Set to
* true
to show only Reserved Instance Marketplace offerings. When
* this filter is not used, which is the default behavior, all offerings from both
* Amazon Web Services and the Reserved Instance Marketplace are listed.
product-description
- The Reserved Instance product
* platform description (Linux/UNIX
| Linux with SQL Server
* Standard
| Linux with SQL Server Web
| Linux with SQL
* Server Enterprise
| SUSE Linux
| Red Hat Enterprise
* Linux
| Red Hat Enterprise Linux with HA
|
* Windows
| Windows with SQL Server Standard
|
* Windows with SQL Server Web
| Windows with SQL Server
* Enterprise
).
* reserved-instances-offering-id
- The Reserved Instances offering
* ID.
scope
- The scope of the Reserved Instance
* (Availability Zone
or Region
).
* usage-price
- The usage price of the Reserved Instance, per hour
* (for example, 0.84).
One or more filters.
availability-zone
- The
* Availability Zone where the Reserved Instance can be used.
* duration
- The duration of the Reserved Instance (for example, one
* year or three years), in seconds (31536000
|
* 94608000
).
fixed-price
- The
* purchase price of the Reserved Instance (for example, 9800.0).
instance-type
- The instance type that is covered by the
* reservation.
marketplace
- Set to
* true
to show only Reserved Instance Marketplace offerings. When
* this filter is not used, which is the default behavior, all offerings from both
* Amazon Web Services and the Reserved Instance Marketplace are listed.
product-description
- The Reserved Instance product
* platform description (Linux/UNIX
| Linux with SQL Server
* Standard
| Linux with SQL Server Web
| Linux with SQL
* Server Enterprise
| SUSE Linux
| Red Hat Enterprise
* Linux
| Red Hat Enterprise Linux with HA
|
* Windows
| Windows with SQL Server Standard
|
* Windows with SQL Server Web
| Windows with SQL Server
* Enterprise
).
* reserved-instances-offering-id
- The Reserved Instances offering
* ID.
scope
- The scope of the Reserved Instance
* (Availability Zone
or Region
).
* usage-price
- The usage price of the Reserved Instance, per hour
* (for example, 0.84).
One or more filters.
availability-zone
- The
* Availability Zone where the Reserved Instance can be used.
* duration
- The duration of the Reserved Instance (for example, one
* year or three years), in seconds (31536000
|
* 94608000
).
fixed-price
- The
* purchase price of the Reserved Instance (for example, 9800.0).
instance-type
- The instance type that is covered by the
* reservation.
marketplace
- Set to
* true
to show only Reserved Instance Marketplace offerings. When
* this filter is not used, which is the default behavior, all offerings from both
* Amazon Web Services and the Reserved Instance Marketplace are listed.
product-description
- The Reserved Instance product
* platform description (Linux/UNIX
| Linux with SQL Server
* Standard
| Linux with SQL Server Web
| Linux with SQL
* Server Enterprise
| SUSE Linux
| Red Hat Enterprise
* Linux
| Red Hat Enterprise Linux with HA
|
* Windows
| Windows with SQL Server Standard
|
* Windows with SQL Server Web
| Windows with SQL Server
* Enterprise
).
* reserved-instances-offering-id
- The Reserved Instances offering
* ID.
scope
- The scope of the Reserved Instance
* (Availability Zone
or Region
).
* usage-price
- The usage price of the Reserved Instance, per hour
* (for example, 0.84).
One or more filters.
availability-zone
- The
* Availability Zone where the Reserved Instance can be used.
* duration
- The duration of the Reserved Instance (for example, one
* year or three years), in seconds (31536000
|
* 94608000
).
fixed-price
- The
* purchase price of the Reserved Instance (for example, 9800.0).
instance-type
- The instance type that is covered by the
* reservation.
marketplace
- Set to
* true
to show only Reserved Instance Marketplace offerings. When
* this filter is not used, which is the default behavior, all offerings from both
* Amazon Web Services and the Reserved Instance Marketplace are listed.
product-description
- The Reserved Instance product
* platform description (Linux/UNIX
| Linux with SQL Server
* Standard
| Linux with SQL Server Web
| Linux with SQL
* Server Enterprise
| SUSE Linux
| Red Hat Enterprise
* Linux
| Red Hat Enterprise Linux with HA
|
* Windows
| Windows with SQL Server Standard
|
* Windows with SQL Server Web
| Windows with SQL Server
* Enterprise
).
* reserved-instances-offering-id
- The Reserved Instances offering
* ID.
scope
- The scope of the Reserved Instance
* (Availability Zone
or Region
).
* usage-price
- The usage price of the Reserved Instance, per hour
* (for example, 0.84).
Include Reserved Instance Marketplace offerings in the response.
*/ inline bool GetIncludeMarketplace() const{ return m_includeMarketplace; } /** *Include Reserved Instance Marketplace offerings in the response.
*/ inline bool IncludeMarketplaceHasBeenSet() const { return m_includeMarketplaceHasBeenSet; } /** *Include Reserved Instance Marketplace offerings in the response.
*/ inline void SetIncludeMarketplace(bool value) { m_includeMarketplaceHasBeenSet = true; m_includeMarketplace = value; } /** *Include Reserved Instance Marketplace offerings in the response.
*/ inline DescribeReservedInstancesOfferingsRequest& WithIncludeMarketplace(bool value) { SetIncludeMarketplace(value); return *this;} /** *The instance type that the reservation will cover (for example,
* m1.small
). For more information, see Instance
* types in the Amazon EC2 User Guide.
The instance type that the reservation will cover (for example,
* m1.small
). For more information, see Instance
* types in the Amazon EC2 User Guide.
The instance type that the reservation will cover (for example,
* m1.small
). For more information, see Instance
* types in the Amazon EC2 User Guide.
The instance type that the reservation will cover (for example,
* m1.small
). For more information, see Instance
* types in the Amazon EC2 User Guide.
The instance type that the reservation will cover (for example,
* m1.small
). For more information, see Instance
* types in the Amazon EC2 User Guide.
The instance type that the reservation will cover (for example,
* m1.small
). For more information, see Instance
* types in the Amazon EC2 User Guide.
The maximum duration (in seconds) to filter when searching for offerings.
*Default: 94608000 (3 years)
*/ inline long long GetMaxDuration() const{ return m_maxDuration; } /** *The maximum duration (in seconds) to filter when searching for offerings.
*Default: 94608000 (3 years)
*/ inline bool MaxDurationHasBeenSet() const { return m_maxDurationHasBeenSet; } /** *The maximum duration (in seconds) to filter when searching for offerings.
*Default: 94608000 (3 years)
*/ inline void SetMaxDuration(long long value) { m_maxDurationHasBeenSet = true; m_maxDuration = value; } /** *The maximum duration (in seconds) to filter when searching for offerings.
*Default: 94608000 (3 years)
*/ inline DescribeReservedInstancesOfferingsRequest& WithMaxDuration(long long value) { SetMaxDuration(value); return *this;} /** *The maximum number of instances to filter when searching for offerings.
*Default: 20
*/ inline int GetMaxInstanceCount() const{ return m_maxInstanceCount; } /** *The maximum number of instances to filter when searching for offerings.
*Default: 20
*/ inline bool MaxInstanceCountHasBeenSet() const { return m_maxInstanceCountHasBeenSet; } /** *The maximum number of instances to filter when searching for offerings.
*Default: 20
*/ inline void SetMaxInstanceCount(int value) { m_maxInstanceCountHasBeenSet = true; m_maxInstanceCount = value; } /** *The maximum number of instances to filter when searching for offerings.
*Default: 20
*/ inline DescribeReservedInstancesOfferingsRequest& WithMaxInstanceCount(int value) { SetMaxInstanceCount(value); return *this;} /** *The minimum duration (in seconds) to filter when searching for offerings.
*Default: 2592000 (1 month)
*/ inline long long GetMinDuration() const{ return m_minDuration; } /** *The minimum duration (in seconds) to filter when searching for offerings.
*Default: 2592000 (1 month)
*/ inline bool MinDurationHasBeenSet() const { return m_minDurationHasBeenSet; } /** *The minimum duration (in seconds) to filter when searching for offerings.
*Default: 2592000 (1 month)
*/ inline void SetMinDuration(long long value) { m_minDurationHasBeenSet = true; m_minDuration = value; } /** *The minimum duration (in seconds) to filter when searching for offerings.
*Default: 2592000 (1 month)
*/ inline DescribeReservedInstancesOfferingsRequest& WithMinDuration(long long value) { SetMinDuration(value); return *this;} /** *The offering class of the Reserved Instance. Can be standard
or
* convertible
.
The offering class of the Reserved Instance. Can be standard
or
* convertible
.
The offering class of the Reserved Instance. Can be standard
or
* convertible
.
The offering class of the Reserved Instance. Can be standard
or
* convertible
.
The offering class of the Reserved Instance. Can be standard
or
* convertible
.
The offering class of the Reserved Instance. Can be standard
or
* convertible
.
The Reserved Instance product platform description. Instances that include
* (Amazon VPC)
in the description are for use with Amazon VPC.
The Reserved Instance product platform description. Instances that include
* (Amazon VPC)
in the description are for use with Amazon VPC.
The Reserved Instance product platform description. Instances that include
* (Amazon VPC)
in the description are for use with Amazon VPC.
The Reserved Instance product platform description. Instances that include
* (Amazon VPC)
in the description are for use with Amazon VPC.
The Reserved Instance product platform description. Instances that include
* (Amazon VPC)
in the description are for use with Amazon VPC.
The Reserved Instance product platform description. Instances that include
* (Amazon VPC)
in the description are for use with Amazon VPC.
One or more Reserved Instances offering IDs.
*/ inline const Aws::VectorOne or more Reserved Instances offering IDs.
*/ inline bool ReservedInstancesOfferingIdsHasBeenSet() const { return m_reservedInstancesOfferingIdsHasBeenSet; } /** *One or more Reserved Instances offering IDs.
*/ inline void SetReservedInstancesOfferingIds(const Aws::VectorOne or more Reserved Instances offering IDs.
*/ inline void SetReservedInstancesOfferingIds(Aws::VectorOne or more Reserved Instances offering IDs.
*/ inline DescribeReservedInstancesOfferingsRequest& WithReservedInstancesOfferingIds(const Aws::VectorOne or more Reserved Instances offering IDs.
*/ inline DescribeReservedInstancesOfferingsRequest& WithReservedInstancesOfferingIds(Aws::VectorOne or more Reserved Instances offering IDs.
*/ inline DescribeReservedInstancesOfferingsRequest& AddReservedInstancesOfferingIds(const Aws::String& value) { m_reservedInstancesOfferingIdsHasBeenSet = true; m_reservedInstancesOfferingIds.push_back(value); return *this; } /** *One or more Reserved Instances offering IDs.
*/ inline DescribeReservedInstancesOfferingsRequest& AddReservedInstancesOfferingIds(Aws::String&& value) { m_reservedInstancesOfferingIdsHasBeenSet = true; m_reservedInstancesOfferingIds.push_back(std::move(value)); return *this; } /** *One or more Reserved Instances offering IDs.
*/ inline DescribeReservedInstancesOfferingsRequest& AddReservedInstancesOfferingIds(const char* value) { m_reservedInstancesOfferingIdsHasBeenSet = true; m_reservedInstancesOfferingIds.push_back(value); return *this; } /** *Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
The tenancy of the instances covered by the reservation. A Reserved Instance
* with a tenancy of dedicated
is applied to instances that run in a
* VPC on single-tenant hardware (i.e., Dedicated Instances).
* Important: The host
value cannot be used with this
* parameter. Use the default
or dedicated
values
* only.
Default: default
The tenancy of the instances covered by the reservation. A Reserved Instance
* with a tenancy of dedicated
is applied to instances that run in a
* VPC on single-tenant hardware (i.e., Dedicated Instances).
* Important: The host
value cannot be used with this
* parameter. Use the default
or dedicated
values
* only.
Default: default
The tenancy of the instances covered by the reservation. A Reserved Instance
* with a tenancy of dedicated
is applied to instances that run in a
* VPC on single-tenant hardware (i.e., Dedicated Instances).
* Important: The host
value cannot be used with this
* parameter. Use the default
or dedicated
values
* only.
Default: default
The tenancy of the instances covered by the reservation. A Reserved Instance
* with a tenancy of dedicated
is applied to instances that run in a
* VPC on single-tenant hardware (i.e., Dedicated Instances).
* Important: The host
value cannot be used with this
* parameter. Use the default
or dedicated
values
* only.
Default: default
The tenancy of the instances covered by the reservation. A Reserved Instance
* with a tenancy of dedicated
is applied to instances that run in a
* VPC on single-tenant hardware (i.e., Dedicated Instances).
* Important: The host
value cannot be used with this
* parameter. Use the default
or dedicated
values
* only.
Default: default
The tenancy of the instances covered by the reservation. A Reserved Instance
* with a tenancy of dedicated
is applied to instances that run in a
* VPC on single-tenant hardware (i.e., Dedicated Instances).
* Important: The host
value cannot be used with this
* parameter. Use the default
or dedicated
values
* only.
Default: default
The maximum number of results to return for the request in a single page. The
* remaining results of the initial request can be seen by sending another request
* with the returned NextToken
value. The maximum is 100.
Default: 100
*/ inline int GetMaxResults() const{ return m_maxResults; } /** *The maximum number of results to return for the request in a single page. The
* remaining results of the initial request can be seen by sending another request
* with the returned NextToken
value. The maximum is 100.
Default: 100
*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *The maximum number of results to return for the request in a single page. The
* remaining results of the initial request can be seen by sending another request
* with the returned NextToken
value. The maximum is 100.
Default: 100
*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *The maximum number of results to return for the request in a single page. The
* remaining results of the initial request can be seen by sending another request
* with the returned NextToken
value. The maximum is 100.
Default: 100
*/ inline DescribeReservedInstancesOfferingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *The token to retrieve the next page of results.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *The token to retrieve the next page of results.
*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *The token to retrieve the next page of results.
*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *The token to retrieve the next page of results.
*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *The token to retrieve the next page of results.
*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *The token to retrieve the next page of results.
*/ inline DescribeReservedInstancesOfferingsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *The token to retrieve the next page of results.
*/ inline DescribeReservedInstancesOfferingsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *The token to retrieve the next page of results.
*/ inline DescribeReservedInstancesOfferingsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *The Reserved Instance offering type. If you are using tools that predate the
* 2011-11-01 API version, you only have access to the Medium
* Utilization
Reserved Instance offering type.
The Reserved Instance offering type. If you are using tools that predate the
* 2011-11-01 API version, you only have access to the Medium
* Utilization
Reserved Instance offering type.
The Reserved Instance offering type. If you are using tools that predate the
* 2011-11-01 API version, you only have access to the Medium
* Utilization
Reserved Instance offering type.
The Reserved Instance offering type. If you are using tools that predate the
* 2011-11-01 API version, you only have access to the Medium
* Utilization
Reserved Instance offering type.
The Reserved Instance offering type. If you are using tools that predate the
* 2011-11-01 API version, you only have access to the Medium
* Utilization
Reserved Instance offering type.
The Reserved Instance offering type. If you are using tools that predate the
* 2011-11-01 API version, you only have access to the Medium
* Utilization
Reserved Instance offering type.