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

The list of endpoints with access to the cluster.

*/ inline const Aws::Vector& GetEndpointAccessList() const{ return m_endpointAccessList; } /** *

The list of endpoints with access to the cluster.

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

The list of endpoints with access to the cluster.

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

The list of endpoints with access to the cluster.

*/ inline DescribeEndpointAccessResult& WithEndpointAccessList(const Aws::Vector& value) { SetEndpointAccessList(value); return *this;} /** *

The list of endpoints with access to the cluster.

*/ inline DescribeEndpointAccessResult& WithEndpointAccessList(Aws::Vector&& value) { SetEndpointAccessList(std::move(value)); return *this;} /** *

The list of endpoints with access to the cluster.

*/ inline DescribeEndpointAccessResult& AddEndpointAccessList(const EndpointAccess& value) { m_endpointAccessList.push_back(value); return *this; } /** *

The list of endpoints with access to the cluster.

*/ inline DescribeEndpointAccessResult& AddEndpointAccessList(EndpointAccess&& value) { m_endpointAccessList.push_back(std::move(value)); return *this; } /** *

An optional pagination token provided by a previous * DescribeEndpointAccess request. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * the MaxRecords parameter.

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

An optional pagination token provided by a previous * DescribeEndpointAccess request. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * the MaxRecords parameter.

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

An optional pagination token provided by a previous * DescribeEndpointAccess request. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * the MaxRecords parameter.

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

An optional pagination token provided by a previous * DescribeEndpointAccess request. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * the MaxRecords parameter.

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

An optional pagination token provided by a previous * DescribeEndpointAccess request. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * the MaxRecords parameter.

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

An optional pagination token provided by a previous * DescribeEndpointAccess request. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * the MaxRecords parameter.

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

An optional pagination token provided by a previous * DescribeEndpointAccess request. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * the MaxRecords parameter.

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