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

Contains the parameters for * DescribeReservedInstancesModifications.

See Also:

AWS * API Reference

*/ class DescribeReservedInstancesModificationsRequest : public EC2Request { public: AWS_EC2_API DescribeReservedInstancesModificationsRequest(); // 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 "DescribeReservedInstancesModifications"; } AWS_EC2_API Aws::String SerializePayload() const override; protected: AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

One or more filters.

  • client-token - The * idempotency token for the modification request.

  • * create-date - The time when the modification request was * created.

  • effective-date - The time when the * modification becomes effective.

  • * modification-result.reserved-instances-id - The ID for the Reserved * Instances created as part of the modification request. This ID is only available * when the status of the modification is fulfilled.

  • *

    modification-result.target-configuration.availability-zone - * The Availability Zone for the new Reserved Instances.

  • * modification-result.target-configuration.instance-count - The * number of new Reserved Instances.

  • * modification-result.target-configuration.instance-type - The * instance type of the new Reserved Instances.

  • * reserved-instances-id - The ID of the Reserved Instances * modified.

  • reserved-instances-modification-id - * The ID of the modification request.

  • status - The * status of the Reserved Instances modification request (processing | * fulfilled | failed).

  • * status-message - The reason for the status.

  • * update-date - The time when the modification request was last * updated.

*/ inline const Aws::Vector& GetFilters() const{ return m_filters; } /** *

One or more filters.

  • client-token - The * idempotency token for the modification request.

  • * create-date - The time when the modification request was * created.

  • effective-date - The time when the * modification becomes effective.

  • * modification-result.reserved-instances-id - The ID for the Reserved * Instances created as part of the modification request. This ID is only available * when the status of the modification is fulfilled.

  • *

    modification-result.target-configuration.availability-zone - * The Availability Zone for the new Reserved Instances.

  • * modification-result.target-configuration.instance-count - The * number of new Reserved Instances.

  • * modification-result.target-configuration.instance-type - The * instance type of the new Reserved Instances.

  • * reserved-instances-id - The ID of the Reserved Instances * modified.

  • reserved-instances-modification-id - * The ID of the modification request.

  • status - The * status of the Reserved Instances modification request (processing | * fulfilled | failed).

  • * status-message - The reason for the status.

  • * update-date - The time when the modification request was last * updated.

*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

One or more filters.

  • client-token - The * idempotency token for the modification request.

  • * create-date - The time when the modification request was * created.

  • effective-date - The time when the * modification becomes effective.

  • * modification-result.reserved-instances-id - The ID for the Reserved * Instances created as part of the modification request. This ID is only available * when the status of the modification is fulfilled.

  • *

    modification-result.target-configuration.availability-zone - * The Availability Zone for the new Reserved Instances.

  • * modification-result.target-configuration.instance-count - The * number of new Reserved Instances.

  • * modification-result.target-configuration.instance-type - The * instance type of the new Reserved Instances.

  • * reserved-instances-id - The ID of the Reserved Instances * modified.

  • reserved-instances-modification-id - * The ID of the modification request.

  • status - The * status of the Reserved Instances modification request (processing | * fulfilled | failed).

  • * status-message - The reason for the status.

  • * update-date - The time when the modification request was last * updated.

*/ inline void SetFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

One or more filters.

  • client-token - The * idempotency token for the modification request.

  • * create-date - The time when the modification request was * created.

  • effective-date - The time when the * modification becomes effective.

  • * modification-result.reserved-instances-id - The ID for the Reserved * Instances created as part of the modification request. This ID is only available * when the status of the modification is fulfilled.

  • *

    modification-result.target-configuration.availability-zone - * The Availability Zone for the new Reserved Instances.

  • * modification-result.target-configuration.instance-count - The * number of new Reserved Instances.

  • * modification-result.target-configuration.instance-type - The * instance type of the new Reserved Instances.

  • * reserved-instances-id - The ID of the Reserved Instances * modified.

  • reserved-instances-modification-id - * The ID of the modification request.

  • status - The * status of the Reserved Instances modification request (processing | * fulfilled | failed).

  • * status-message - The reason for the status.

  • * update-date - The time when the modification request was last * updated.

*/ inline void SetFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

One or more filters.

  • client-token - The * idempotency token for the modification request.

  • * create-date - The time when the modification request was * created.

  • effective-date - The time when the * modification becomes effective.

  • * modification-result.reserved-instances-id - The ID for the Reserved * Instances created as part of the modification request. This ID is only available * when the status of the modification is fulfilled.

  • *

    modification-result.target-configuration.availability-zone - * The Availability Zone for the new Reserved Instances.

  • * modification-result.target-configuration.instance-count - The * number of new Reserved Instances.

  • * modification-result.target-configuration.instance-type - The * instance type of the new Reserved Instances.

  • * reserved-instances-id - The ID of the Reserved Instances * modified.

  • reserved-instances-modification-id - * The ID of the modification request.

  • status - The * status of the Reserved Instances modification request (processing | * fulfilled | failed).

  • * status-message - The reason for the status.

  • * update-date - The time when the modification request was last * updated.

*/ inline DescribeReservedInstancesModificationsRequest& WithFilters(const Aws::Vector& value) { SetFilters(value); return *this;} /** *

One or more filters.

  • client-token - The * idempotency token for the modification request.

  • * create-date - The time when the modification request was * created.

  • effective-date - The time when the * modification becomes effective.

  • * modification-result.reserved-instances-id - The ID for the Reserved * Instances created as part of the modification request. This ID is only available * when the status of the modification is fulfilled.

  • *

    modification-result.target-configuration.availability-zone - * The Availability Zone for the new Reserved Instances.

  • * modification-result.target-configuration.instance-count - The * number of new Reserved Instances.

  • * modification-result.target-configuration.instance-type - The * instance type of the new Reserved Instances.

  • * reserved-instances-id - The ID of the Reserved Instances * modified.

  • reserved-instances-modification-id - * The ID of the modification request.

  • status - The * status of the Reserved Instances modification request (processing | * fulfilled | failed).

  • * status-message - The reason for the status.

  • * update-date - The time when the modification request was last * updated.

*/ inline DescribeReservedInstancesModificationsRequest& WithFilters(Aws::Vector&& value) { SetFilters(std::move(value)); return *this;} /** *

One or more filters.

  • client-token - The * idempotency token for the modification request.

  • * create-date - The time when the modification request was * created.

  • effective-date - The time when the * modification becomes effective.

  • * modification-result.reserved-instances-id - The ID for the Reserved * Instances created as part of the modification request. This ID is only available * when the status of the modification is fulfilled.

  • *

    modification-result.target-configuration.availability-zone - * The Availability Zone for the new Reserved Instances.

  • * modification-result.target-configuration.instance-count - The * number of new Reserved Instances.

  • * modification-result.target-configuration.instance-type - The * instance type of the new Reserved Instances.

  • * reserved-instances-id - The ID of the Reserved Instances * modified.

  • reserved-instances-modification-id - * The ID of the modification request.

  • status - The * status of the Reserved Instances modification request (processing | * fulfilled | failed).

  • * status-message - The reason for the status.

  • * update-date - The time when the modification request was last * updated.

*/ inline DescribeReservedInstancesModificationsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } /** *

One or more filters.

  • client-token - The * idempotency token for the modification request.

  • * create-date - The time when the modification request was * created.

  • effective-date - The time when the * modification becomes effective.

  • * modification-result.reserved-instances-id - The ID for the Reserved * Instances created as part of the modification request. This ID is only available * when the status of the modification is fulfilled.

  • *

    modification-result.target-configuration.availability-zone - * The Availability Zone for the new Reserved Instances.

  • * modification-result.target-configuration.instance-count - The * number of new Reserved Instances.

  • * modification-result.target-configuration.instance-type - The * instance type of the new Reserved Instances.

  • * reserved-instances-id - The ID of the Reserved Instances * modified.

  • reserved-instances-modification-id - * The ID of the modification request.

  • status - The * status of the Reserved Instances modification request (processing | * fulfilled | failed).

  • * status-message - The reason for the status.

  • * update-date - The time when the modification request was last * updated.

*/ inline DescribeReservedInstancesModificationsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } /** *

IDs for the submitted modification request.

*/ inline const Aws::Vector& GetReservedInstancesModificationIds() const{ return m_reservedInstancesModificationIds; } /** *

IDs for the submitted modification request.

*/ inline bool ReservedInstancesModificationIdsHasBeenSet() const { return m_reservedInstancesModificationIdsHasBeenSet; } /** *

IDs for the submitted modification request.

*/ inline void SetReservedInstancesModificationIds(const Aws::Vector& value) { m_reservedInstancesModificationIdsHasBeenSet = true; m_reservedInstancesModificationIds = value; } /** *

IDs for the submitted modification request.

*/ inline void SetReservedInstancesModificationIds(Aws::Vector&& value) { m_reservedInstancesModificationIdsHasBeenSet = true; m_reservedInstancesModificationIds = std::move(value); } /** *

IDs for the submitted modification request.

*/ inline DescribeReservedInstancesModificationsRequest& WithReservedInstancesModificationIds(const Aws::Vector& value) { SetReservedInstancesModificationIds(value); return *this;} /** *

IDs for the submitted modification request.

*/ inline DescribeReservedInstancesModificationsRequest& WithReservedInstancesModificationIds(Aws::Vector&& value) { SetReservedInstancesModificationIds(std::move(value)); return *this;} /** *

IDs for the submitted modification request.

*/ inline DescribeReservedInstancesModificationsRequest& AddReservedInstancesModificationIds(const Aws::String& value) { m_reservedInstancesModificationIdsHasBeenSet = true; m_reservedInstancesModificationIds.push_back(value); return *this; } /** *

IDs for the submitted modification request.

*/ inline DescribeReservedInstancesModificationsRequest& AddReservedInstancesModificationIds(Aws::String&& value) { m_reservedInstancesModificationIdsHasBeenSet = true; m_reservedInstancesModificationIds.push_back(std::move(value)); return *this; } /** *

IDs for the submitted modification request.

*/ inline DescribeReservedInstancesModificationsRequest& AddReservedInstancesModificationIds(const char* value) { m_reservedInstancesModificationIdsHasBeenSet = true; m_reservedInstancesModificationIds.push_back(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 DescribeReservedInstancesModificationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token to retrieve the next page of results.

*/ inline DescribeReservedInstancesModificationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token to retrieve the next page of results.

*/ inline DescribeReservedInstancesModificationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_filters; bool m_filtersHasBeenSet = false; Aws::Vector m_reservedInstancesModificationIds; bool m_reservedInstancesModificationIdsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws