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

Shows the results of datashares available for producers.

*/ inline const Aws::Vector& GetDataShares() const{ return m_dataShares; } /** *

Shows the results of datashares available for producers.

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

Shows the results of datashares available for producers.

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

Shows the results of datashares available for producers.

*/ inline DescribeDataSharesForProducerResult& WithDataShares(const Aws::Vector& value) { SetDataShares(value); return *this;} /** *

Shows the results of datashares available for producers.

*/ inline DescribeDataSharesForProducerResult& WithDataShares(Aws::Vector&& value) { SetDataShares(std::move(value)); return *this;} /** *

Shows the results of datashares available for producers.

*/ inline DescribeDataSharesForProducerResult& AddDataShares(const DataShare& value) { m_dataShares.push_back(value); return *this; } /** *

Shows the results of datashares available for producers.

*/ inline DescribeDataSharesForProducerResult& AddDataShares(DataShare&& value) { m_dataShares.push_back(std::move(value)); return *this; } /** *

An optional parameter that specifies the starting point to return a set of * response records. When the results of a DescribeDataSharesForProducer * request exceed the value specified in MaxRecords, Amazon Web * Services 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 to return a set of * response records. When the results of a DescribeDataSharesForProducer * request exceed the value specified in MaxRecords, Amazon Web * Services 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 to return a set of * response records. When the results of a DescribeDataSharesForProducer * request exceed the value specified in MaxRecords, Amazon Web * Services 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 to return a set of * response records. When the results of a DescribeDataSharesForProducer * request exceed the value specified in MaxRecords, Amazon Web * Services 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 to return a set of * response records. When the results of a DescribeDataSharesForProducer * request exceed the value specified in MaxRecords, Amazon Web * Services 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 DescribeDataSharesForProducerResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

An optional parameter that specifies the starting point to return a set of * response records. When the results of a DescribeDataSharesForProducer * request exceed the value specified in MaxRecords, Amazon Web * Services 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 DescribeDataSharesForProducerResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

An optional parameter that specifies the starting point to return a set of * response records. When the results of a DescribeDataSharesForProducer * request exceed the value specified in MaxRecords, Amazon Web * Services 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 DescribeDataSharesForProducerResult& 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 DescribeDataSharesForProducerResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeDataSharesForProducerResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_dataShares; Aws::String m_marker; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace Redshift } // namespace Aws