/** * 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 GetReservedNodeExchangeConfigurationOptionsResult { public: AWS_REDSHIFT_API GetReservedNodeExchangeConfigurationOptionsResult(); AWS_REDSHIFT_API GetReservedNodeExchangeConfigurationOptionsResult(const Aws::AmazonWebServiceResult& result); AWS_REDSHIFT_API GetReservedNodeExchangeConfigurationOptionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A pagination token provided by a previous * GetReservedNodeExchangeConfigurationOptions request.

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

A pagination token provided by a previous * GetReservedNodeExchangeConfigurationOptions request.

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

A pagination token provided by a previous * GetReservedNodeExchangeConfigurationOptions request.

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

A pagination token provided by a previous * GetReservedNodeExchangeConfigurationOptions request.

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

A pagination token provided by a previous * GetReservedNodeExchangeConfigurationOptions request.

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

A pagination token provided by a previous * GetReservedNodeExchangeConfigurationOptions request.

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

A pagination token provided by a previous * GetReservedNodeExchangeConfigurationOptions request.

*/ inline GetReservedNodeExchangeConfigurationOptionsResult& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

the configuration options for the reserved-node exchange. These options * include information about the source reserved node and target reserved node. * Details include the node type, the price, the node count, and the offering * type.

*/ inline const Aws::Vector& GetReservedNodeConfigurationOptionList() const{ return m_reservedNodeConfigurationOptionList; } /** *

the configuration options for the reserved-node exchange. These options * include information about the source reserved node and target reserved node. * Details include the node type, the price, the node count, and the offering * type.

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

the configuration options for the reserved-node exchange. These options * include information about the source reserved node and target reserved node. * Details include the node type, the price, the node count, and the offering * type.

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

the configuration options for the reserved-node exchange. These options * include information about the source reserved node and target reserved node. * Details include the node type, the price, the node count, and the offering * type.

*/ inline GetReservedNodeExchangeConfigurationOptionsResult& WithReservedNodeConfigurationOptionList(const Aws::Vector& value) { SetReservedNodeConfigurationOptionList(value); return *this;} /** *

the configuration options for the reserved-node exchange. These options * include information about the source reserved node and target reserved node. * Details include the node type, the price, the node count, and the offering * type.

*/ inline GetReservedNodeExchangeConfigurationOptionsResult& WithReservedNodeConfigurationOptionList(Aws::Vector&& value) { SetReservedNodeConfigurationOptionList(std::move(value)); return *this;} /** *

the configuration options for the reserved-node exchange. These options * include information about the source reserved node and target reserved node. * Details include the node type, the price, the node count, and the offering * type.

*/ inline GetReservedNodeExchangeConfigurationOptionsResult& AddReservedNodeConfigurationOptionList(const ReservedNodeConfigurationOption& value) { m_reservedNodeConfigurationOptionList.push_back(value); return *this; } /** *

the configuration options for the reserved-node exchange. These options * include information about the source reserved node and target reserved node. * Details include the node type, the price, the node count, and the offering * type.

*/ inline GetReservedNodeExchangeConfigurationOptionsResult& AddReservedNodeConfigurationOptionList(ReservedNodeConfigurationOption&& value) { m_reservedNodeConfigurationOptionList.push_back(std::move(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 GetReservedNodeExchangeConfigurationOptionsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetReservedNodeExchangeConfigurationOptionsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_marker; Aws::Vector m_reservedNodeConfigurationOptionList; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace Redshift } // namespace Aws