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

The authorizations to an endpoint.

*/ inline const Aws::Vector& GetEndpointAuthorizationList() const{ return m_endpointAuthorizationList; } /** *

The authorizations to an endpoint.

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

The authorizations to an endpoint.

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

The authorizations to an endpoint.

*/ inline DescribeEndpointAuthorizationResult& WithEndpointAuthorizationList(const Aws::Vector& value) { SetEndpointAuthorizationList(value); return *this;} /** *

The authorizations to an endpoint.

*/ inline DescribeEndpointAuthorizationResult& WithEndpointAuthorizationList(Aws::Vector&& value) { SetEndpointAuthorizationList(std::move(value)); return *this;} /** *

The authorizations to an endpoint.

*/ inline DescribeEndpointAuthorizationResult& AddEndpointAuthorizationList(const EndpointAuthorization& value) { m_endpointAuthorizationList.push_back(value); return *this; } /** *

The authorizations to an endpoint.

*/ inline DescribeEndpointAuthorizationResult& AddEndpointAuthorizationList(EndpointAuthorization&& value) { m_endpointAuthorizationList.push_back(std::move(value)); return *this; } /** *

An optional pagination token provided by a previous * DescribeEndpointAuthorization 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 * DescribeEndpointAuthorization 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 * DescribeEndpointAuthorization 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 * DescribeEndpointAuthorization 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 * DescribeEndpointAuthorization request. If this parameter is * specified, the response includes only records beyond the marker, up to the value * specified by the MaxRecords parameter.

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

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

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

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

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