/** * 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 Neptune { namespace Model { class DescribeGlobalClustersResult { public: AWS_NEPTUNE_API DescribeGlobalClustersResult(); AWS_NEPTUNE_API DescribeGlobalClustersResult(const Aws::AmazonWebServiceResult& result); AWS_NEPTUNE_API DescribeGlobalClustersResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A pagination token. If this parameter is returned in the response, more * records are available, which can be retrieved by one or more additional calls to * DescribeGlobalClusters.

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

A pagination token. If this parameter is returned in the response, more * records are available, which can be retrieved by one or more additional calls to * DescribeGlobalClusters.

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

A pagination token. If this parameter is returned in the response, more * records are available, which can be retrieved by one or more additional calls to * DescribeGlobalClusters.

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

A pagination token. If this parameter is returned in the response, more * records are available, which can be retrieved by one or more additional calls to * DescribeGlobalClusters.

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

A pagination token. If this parameter is returned in the response, more * records are available, which can be retrieved by one or more additional calls to * DescribeGlobalClusters.

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

A pagination token. If this parameter is returned in the response, more * records are available, which can be retrieved by one or more additional calls to * DescribeGlobalClusters.

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

A pagination token. If this parameter is returned in the response, more * records are available, which can be retrieved by one or more additional calls to * DescribeGlobalClusters.

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

The list of global clusters and instances returned by this request.

*/ inline const Aws::Vector& GetGlobalClusters() const{ return m_globalClusters; } /** *

The list of global clusters and instances returned by this request.

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

The list of global clusters and instances returned by this request.

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

The list of global clusters and instances returned by this request.

*/ inline DescribeGlobalClustersResult& WithGlobalClusters(const Aws::Vector& value) { SetGlobalClusters(value); return *this;} /** *

The list of global clusters and instances returned by this request.

*/ inline DescribeGlobalClustersResult& WithGlobalClusters(Aws::Vector&& value) { SetGlobalClusters(std::move(value)); return *this;} /** *

The list of global clusters and instances returned by this request.

*/ inline DescribeGlobalClustersResult& AddGlobalClusters(const GlobalCluster& value) { m_globalClusters.push_back(value); return *this; } /** *

The list of global clusters and instances returned by this request.

*/ inline DescribeGlobalClustersResult& AddGlobalClusters(GlobalCluster&& value) { m_globalClusters.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 DescribeGlobalClustersResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeGlobalClustersResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_marker; Aws::Vector m_globalClusters; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace Neptune } // namespace Aws