/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a Reserved Instance modification.See Also:
AWS
* API Reference
A unique, case-sensitive key supplied by the client to ensure that the * request is idempotent. For more information, see Ensuring * Idempotency.
*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *A unique, case-sensitive key supplied by the client to ensure that the * request is idempotent. For more information, see Ensuring * Idempotency.
*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *A unique, case-sensitive key supplied by the client to ensure that the * request is idempotent. For more information, see Ensuring * Idempotency.
*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *A unique, case-sensitive key supplied by the client to ensure that the * request is idempotent. For more information, see Ensuring * Idempotency.
*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *A unique, case-sensitive key supplied by the client to ensure that the * request is idempotent. For more information, see Ensuring * Idempotency.
*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *A unique, case-sensitive key supplied by the client to ensure that the * request is idempotent. For more information, see Ensuring * Idempotency.
*/ inline ReservedInstancesModification& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *A unique, case-sensitive key supplied by the client to ensure that the * request is idempotent. For more information, see Ensuring * Idempotency.
*/ inline ReservedInstancesModification& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *A unique, case-sensitive key supplied by the client to ensure that the * request is idempotent. For more information, see Ensuring * Idempotency.
*/ inline ReservedInstancesModification& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *The time when the modification request was created.
*/ inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; } /** *The time when the modification request was created.
*/ inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; } /** *The time when the modification request was created.
*/ inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; } /** *The time when the modification request was created.
*/ inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); } /** *The time when the modification request was created.
*/ inline ReservedInstancesModification& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;} /** *The time when the modification request was created.
*/ inline ReservedInstancesModification& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;} /** *The time for the modification to become effective.
*/ inline const Aws::Utils::DateTime& GetEffectiveDate() const{ return m_effectiveDate; } /** *The time for the modification to become effective.
*/ inline bool EffectiveDateHasBeenSet() const { return m_effectiveDateHasBeenSet; } /** *The time for the modification to become effective.
*/ inline void SetEffectiveDate(const Aws::Utils::DateTime& value) { m_effectiveDateHasBeenSet = true; m_effectiveDate = value; } /** *The time for the modification to become effective.
*/ inline void SetEffectiveDate(Aws::Utils::DateTime&& value) { m_effectiveDateHasBeenSet = true; m_effectiveDate = std::move(value); } /** *The time for the modification to become effective.
*/ inline ReservedInstancesModification& WithEffectiveDate(const Aws::Utils::DateTime& value) { SetEffectiveDate(value); return *this;} /** *The time for the modification to become effective.
*/ inline ReservedInstancesModification& WithEffectiveDate(Aws::Utils::DateTime&& value) { SetEffectiveDate(std::move(value)); return *this;} /** *Contains target configurations along with their corresponding new Reserved * Instance IDs.
*/ inline const Aws::VectorContains target configurations along with their corresponding new Reserved * Instance IDs.
*/ inline bool ModificationResultsHasBeenSet() const { return m_modificationResultsHasBeenSet; } /** *Contains target configurations along with their corresponding new Reserved * Instance IDs.
*/ inline void SetModificationResults(const Aws::VectorContains target configurations along with their corresponding new Reserved * Instance IDs.
*/ inline void SetModificationResults(Aws::VectorContains target configurations along with their corresponding new Reserved * Instance IDs.
*/ inline ReservedInstancesModification& WithModificationResults(const Aws::VectorContains target configurations along with their corresponding new Reserved * Instance IDs.
*/ inline ReservedInstancesModification& WithModificationResults(Aws::VectorContains target configurations along with their corresponding new Reserved * Instance IDs.
*/ inline ReservedInstancesModification& AddModificationResults(const ReservedInstancesModificationResponse& value) { m_modificationResultsHasBeenSet = true; m_modificationResults.push_back(value); return *this; } /** *Contains target configurations along with their corresponding new Reserved * Instance IDs.
*/ inline ReservedInstancesModification& AddModificationResults(ReservedInstancesModificationResponse&& value) { m_modificationResultsHasBeenSet = true; m_modificationResults.push_back(std::move(value)); return *this; } /** *The IDs of one or more Reserved Instances.
*/ inline const Aws::VectorThe IDs of one or more Reserved Instances.
*/ inline bool ReservedInstancesIdsHasBeenSet() const { return m_reservedInstancesIdsHasBeenSet; } /** *The IDs of one or more Reserved Instances.
*/ inline void SetReservedInstancesIds(const Aws::VectorThe IDs of one or more Reserved Instances.
*/ inline void SetReservedInstancesIds(Aws::VectorThe IDs of one or more Reserved Instances.
*/ inline ReservedInstancesModification& WithReservedInstancesIds(const Aws::VectorThe IDs of one or more Reserved Instances.
*/ inline ReservedInstancesModification& WithReservedInstancesIds(Aws::VectorThe IDs of one or more Reserved Instances.
*/ inline ReservedInstancesModification& AddReservedInstancesIds(const ReservedInstancesId& value) { m_reservedInstancesIdsHasBeenSet = true; m_reservedInstancesIds.push_back(value); return *this; } /** *The IDs of one or more Reserved Instances.
*/ inline ReservedInstancesModification& AddReservedInstancesIds(ReservedInstancesId&& value) { m_reservedInstancesIdsHasBeenSet = true; m_reservedInstancesIds.push_back(std::move(value)); return *this; } /** *A unique ID for the Reserved Instance modification.
*/ inline const Aws::String& GetReservedInstancesModificationId() const{ return m_reservedInstancesModificationId; } /** *A unique ID for the Reserved Instance modification.
*/ inline bool ReservedInstancesModificationIdHasBeenSet() const { return m_reservedInstancesModificationIdHasBeenSet; } /** *A unique ID for the Reserved Instance modification.
*/ inline void SetReservedInstancesModificationId(const Aws::String& value) { m_reservedInstancesModificationIdHasBeenSet = true; m_reservedInstancesModificationId = value; } /** *A unique ID for the Reserved Instance modification.
*/ inline void SetReservedInstancesModificationId(Aws::String&& value) { m_reservedInstancesModificationIdHasBeenSet = true; m_reservedInstancesModificationId = std::move(value); } /** *A unique ID for the Reserved Instance modification.
*/ inline void SetReservedInstancesModificationId(const char* value) { m_reservedInstancesModificationIdHasBeenSet = true; m_reservedInstancesModificationId.assign(value); } /** *A unique ID for the Reserved Instance modification.
*/ inline ReservedInstancesModification& WithReservedInstancesModificationId(const Aws::String& value) { SetReservedInstancesModificationId(value); return *this;} /** *A unique ID for the Reserved Instance modification.
*/ inline ReservedInstancesModification& WithReservedInstancesModificationId(Aws::String&& value) { SetReservedInstancesModificationId(std::move(value)); return *this;} /** *A unique ID for the Reserved Instance modification.
*/ inline ReservedInstancesModification& WithReservedInstancesModificationId(const char* value) { SetReservedInstancesModificationId(value); return *this;} /** *The status of the Reserved Instances modification request.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The status of the Reserved Instances modification request.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the Reserved Instances modification request.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the Reserved Instances modification request.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the Reserved Instances modification request.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The status of the Reserved Instances modification request.
*/ inline ReservedInstancesModification& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The status of the Reserved Instances modification request.
*/ inline ReservedInstancesModification& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The status of the Reserved Instances modification request.
*/ inline ReservedInstancesModification& WithStatus(const char* value) { SetStatus(value); return *this;} /** *The reason for the status.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *The reason for the status.
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *The reason for the status.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *The reason for the status.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *The reason for the status.
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *The reason for the status.
*/ inline ReservedInstancesModification& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *The reason for the status.
*/ inline ReservedInstancesModification& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *The reason for the status.
*/ inline ReservedInstancesModification& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *The time when the modification request was last updated.
*/ inline const Aws::Utils::DateTime& GetUpdateDate() const{ return m_updateDate; } /** *The time when the modification request was last updated.
*/ inline bool UpdateDateHasBeenSet() const { return m_updateDateHasBeenSet; } /** *The time when the modification request was last updated.
*/ inline void SetUpdateDate(const Aws::Utils::DateTime& value) { m_updateDateHasBeenSet = true; m_updateDate = value; } /** *The time when the modification request was last updated.
*/ inline void SetUpdateDate(Aws::Utils::DateTime&& value) { m_updateDateHasBeenSet = true; m_updateDate = std::move(value); } /** *The time when the modification request was last updated.
*/ inline ReservedInstancesModification& WithUpdateDate(const Aws::Utils::DateTime& value) { SetUpdateDate(value); return *this;} /** *The time when the modification request was last updated.
*/ inline ReservedInstancesModification& WithUpdateDate(Aws::Utils::DateTime&& value) { SetUpdateDate(std::move(value)); return *this;} private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::Utils::DateTime m_createDate; bool m_createDateHasBeenSet = false; Aws::Utils::DateTime m_effectiveDate; bool m_effectiveDateHasBeenSet = false; Aws::Vector