/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace Redshift { namespace Model { class DescribeReservedNodeExchangeStatusResult { public: AWS_REDSHIFT_API DescribeReservedNodeExchangeStatusResult(); AWS_REDSHIFT_API DescribeReservedNodeExchangeStatusResult(const Aws::AmazonWebServiceResult& result); AWS_REDSHIFT_API DescribeReservedNodeExchangeStatusResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The details of the reserved-node exchange request, including the status, * request time, source reserved-node identifier, and additional details.

*/ inline const Aws::Vector& GetReservedNodeExchangeStatusDetails() const{ return m_reservedNodeExchangeStatusDetails; } /** *

The details of the reserved-node exchange request, including the status, * request time, source reserved-node identifier, and additional details.

*/ inline void SetReservedNodeExchangeStatusDetails(const Aws::Vector& value) { m_reservedNodeExchangeStatusDetails = value; } /** *

The details of the reserved-node exchange request, including the status, * request time, source reserved-node identifier, and additional details.

*/ inline void SetReservedNodeExchangeStatusDetails(Aws::Vector&& value) { m_reservedNodeExchangeStatusDetails = std::move(value); } /** *

The details of the reserved-node exchange request, including the status, * request time, source reserved-node identifier, and additional details.

*/ inline DescribeReservedNodeExchangeStatusResult& WithReservedNodeExchangeStatusDetails(const Aws::Vector& value) { SetReservedNodeExchangeStatusDetails(value); return *this;} /** *

The details of the reserved-node exchange request, including the status, * request time, source reserved-node identifier, and additional details.

*/ inline DescribeReservedNodeExchangeStatusResult& WithReservedNodeExchangeStatusDetails(Aws::Vector&& value) { SetReservedNodeExchangeStatusDetails(std::move(value)); return *this;} /** *

The details of the reserved-node exchange request, including the status, * request time, source reserved-node identifier, and additional details.

*/ inline DescribeReservedNodeExchangeStatusResult& AddReservedNodeExchangeStatusDetails(const ReservedNodeExchangeStatus& value) { m_reservedNodeExchangeStatusDetails.push_back(value); return *this; } /** *

The details of the reserved-node exchange request, including the status, * request time, source reserved-node identifier, and additional details.

*/ inline DescribeReservedNodeExchangeStatusResult& AddReservedNodeExchangeStatusDetails(ReservedNodeExchangeStatus&& value) { m_reservedNodeExchangeStatusDetails.push_back(std::move(value)); return *this; } /** *

A pagination token provided by a previous * DescribeReservedNodeExchangeStatus request.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

A pagination token provided by a previous * DescribeReservedNodeExchangeStatus request.

*/ inline void SetMarker(const Aws::String& value) { m_marker = value; } /** *

A pagination token provided by a previous * DescribeReservedNodeExchangeStatus request.

*/ inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); } /** *

A pagination token provided by a previous * DescribeReservedNodeExchangeStatus request.

*/ inline void SetMarker(const char* value) { m_marker.assign(value); } /** *

A pagination token provided by a previous * DescribeReservedNodeExchangeStatus request.

*/ inline DescribeReservedNodeExchangeStatusResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

A pagination token provided by a previous * DescribeReservedNodeExchangeStatus request.

*/ inline DescribeReservedNodeExchangeStatusResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

A pagination token provided by a previous * DescribeReservedNodeExchangeStatus request.

*/ inline DescribeReservedNodeExchangeStatusResult& WithMarker(const char* value) { SetMarker(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeReservedNodeExchangeStatusResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeReservedNodeExchangeStatusResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_reservedNodeExchangeStatusDetails; Aws::String m_marker; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace Redshift } // namespace Aws