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

An optional parameter that specifies the starting point for returning a set * of response records. When the results of a * GetReservedNodeExchangeOfferings request exceed the value specified * in MaxRecords, Amazon Redshift returns a value in the marker field of the * response. You can retrieve the next set of response records by providing the * returned marker value in the marker parameter and retrying the request.

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

An optional parameter that specifies the starting point for returning a set * of response records. When the results of a * GetReservedNodeExchangeOfferings request exceed the value specified * in MaxRecords, Amazon Redshift returns a value in the marker field of the * response. You can retrieve the next set of response records by providing the * returned marker value in the marker parameter and retrying the request.

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

An optional parameter that specifies the starting point for returning a set * of response records. When the results of a * GetReservedNodeExchangeOfferings request exceed the value specified * in MaxRecords, Amazon Redshift returns a value in the marker field of the * response. You can retrieve the next set of response records by providing the * returned marker value in the marker parameter and retrying the request.

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

An optional parameter that specifies the starting point for returning a set * of response records. When the results of a * GetReservedNodeExchangeOfferings request exceed the value specified * in MaxRecords, Amazon Redshift returns a value in the marker field of the * response. You can retrieve the next set of response records by providing the * returned marker value in the marker parameter and retrying the request.

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

An optional parameter that specifies the starting point for returning a set * of response records. When the results of a * GetReservedNodeExchangeOfferings request exceed the value specified * in MaxRecords, Amazon Redshift returns a value in the marker field of the * response. You can retrieve the next set of response records by providing the * returned marker value in the marker parameter and retrying the request.

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

An optional parameter that specifies the starting point for returning a set * of response records. When the results of a * GetReservedNodeExchangeOfferings request exceed the value specified * in MaxRecords, Amazon Redshift returns a value in the marker field of the * response. You can retrieve the next set of response records by providing the * returned marker value in the marker parameter and retrying the request.

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

An optional parameter that specifies the starting point for returning a set * of response records. When the results of a * GetReservedNodeExchangeOfferings request exceed the value specified * in MaxRecords, Amazon Redshift returns a value in the marker field of the * response. You can retrieve the next set of response records by providing the * returned marker value in the marker parameter and retrying the request.

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

Returns an array of ReservedNodeOffering objects.

*/ inline const Aws::Vector& GetReservedNodeOfferings() const{ return m_reservedNodeOfferings; } /** *

Returns an array of ReservedNodeOffering objects.

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

Returns an array of ReservedNodeOffering objects.

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

Returns an array of ReservedNodeOffering objects.

*/ inline GetReservedNodeExchangeOfferingsResult& WithReservedNodeOfferings(const Aws::Vector& value) { SetReservedNodeOfferings(value); return *this;} /** *

Returns an array of ReservedNodeOffering objects.

*/ inline GetReservedNodeExchangeOfferingsResult& WithReservedNodeOfferings(Aws::Vector&& value) { SetReservedNodeOfferings(std::move(value)); return *this;} /** *

Returns an array of ReservedNodeOffering objects.

*/ inline GetReservedNodeExchangeOfferingsResult& AddReservedNodeOfferings(const ReservedNodeOffering& value) { m_reservedNodeOfferings.push_back(value); return *this; } /** *

Returns an array of ReservedNodeOffering objects.

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