/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Redshift { namespace Model { /** */ class DescribeEndpointAccessRequest : public RedshiftRequest { public: AWS_REDSHIFT_API DescribeEndpointAccessRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeEndpointAccess"; } AWS_REDSHIFT_API Aws::String SerializePayload() const override; protected: AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The cluster identifier associated with the described endpoint.

*/ inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; } /** *

The cluster identifier associated with the described endpoint.

*/ inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; } /** *

The cluster identifier associated with the described endpoint.

*/ inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; } /** *

The cluster identifier associated with the described endpoint.

*/ inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); } /** *

The cluster identifier associated with the described endpoint.

*/ inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); } /** *

The cluster identifier associated with the described endpoint.

*/ inline DescribeEndpointAccessRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;} /** *

The cluster identifier associated with the described endpoint.

*/ inline DescribeEndpointAccessRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;} /** *

The cluster identifier associated with the described endpoint.

*/ inline DescribeEndpointAccessRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;} /** *

The Amazon Web Services account ID of the owner of the cluster.

*/ inline const Aws::String& GetResourceOwner() const{ return m_resourceOwner; } /** *

The Amazon Web Services account ID of the owner of the cluster.

*/ inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; } /** *

The Amazon Web Services account ID of the owner of the cluster.

*/ inline void SetResourceOwner(const Aws::String& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = value; } /** *

The Amazon Web Services account ID of the owner of the cluster.

*/ inline void SetResourceOwner(Aws::String&& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = std::move(value); } /** *

The Amazon Web Services account ID of the owner of the cluster.

*/ inline void SetResourceOwner(const char* value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner.assign(value); } /** *

The Amazon Web Services account ID of the owner of the cluster.

*/ inline DescribeEndpointAccessRequest& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;} /** *

The Amazon Web Services account ID of the owner of the cluster.

*/ inline DescribeEndpointAccessRequest& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;} /** *

The Amazon Web Services account ID of the owner of the cluster.

*/ inline DescribeEndpointAccessRequest& WithResourceOwner(const char* value) { SetResourceOwner(value); return *this;} /** *

The name of the endpoint to be described.

*/ inline const Aws::String& GetEndpointName() const{ return m_endpointName; } /** *

The name of the endpoint to be described.

*/ inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; } /** *

The name of the endpoint to be described.

*/ inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; } /** *

The name of the endpoint to be described.

*/ inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); } /** *

The name of the endpoint to be described.

*/ inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); } /** *

The name of the endpoint to be described.

*/ inline DescribeEndpointAccessRequest& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;} /** *

The name of the endpoint to be described.

*/ inline DescribeEndpointAccessRequest& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;} /** *

The name of the endpoint to be described.

*/ inline DescribeEndpointAccessRequest& WithEndpointName(const char* value) { SetEndpointName(value); return *this;} /** *

The virtual private cloud (VPC) identifier with access to the cluster.

*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *

The virtual private cloud (VPC) identifier with access to the cluster.

*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *

The virtual private cloud (VPC) identifier with access to the cluster.

*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *

The virtual private cloud (VPC) identifier with access to the cluster.

*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *

The virtual private cloud (VPC) identifier with access to the cluster.

*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *

The virtual private cloud (VPC) identifier with access to the cluster.

*/ inline DescribeEndpointAccessRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *

The virtual private cloud (VPC) identifier with access to the cluster.

*/ inline DescribeEndpointAccessRequest& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *

The virtual private cloud (VPC) identifier with access to the cluster.

*/ inline DescribeEndpointAccessRequest& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *

The maximum number of records to include in the response. If more records * exist than the specified MaxRecords value, a pagination token * called a Marker is included in the response so that the remaining * results can be retrieved.

*/ inline int GetMaxRecords() const{ return m_maxRecords; } /** *

The maximum number of records to include in the response. If more records * exist than the specified MaxRecords value, a pagination token * called a Marker is included in the response so that the remaining * results can be retrieved.

*/ inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; } /** *

The maximum number of records to include in the response. If more records * exist than the specified MaxRecords value, a pagination token * called a Marker is included in the response so that the remaining * results can be retrieved.

*/ inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; } /** *

The maximum number of records to include in the response. If more records * exist than the specified MaxRecords value, a pagination token * called a Marker is included in the response so that the remaining * results can be retrieved.

*/ inline DescribeEndpointAccessRequest& WithMaxRecords(int value) { SetMaxRecords(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 bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *

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_markerHasBeenSet = true; 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_markerHasBeenSet = true; 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_markerHasBeenSet = true; 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 DescribeEndpointAccessRequest& 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 DescribeEndpointAccessRequest& 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 DescribeEndpointAccessRequest& WithMarker(const char* value) { SetMarker(value); return *this;} private: Aws::String m_clusterIdentifier; bool m_clusterIdentifierHasBeenSet = false; Aws::String m_resourceOwner; bool m_resourceOwnerHasBeenSet = false; Aws::String m_endpointName; bool m_endpointNameHasBeenSet = false; Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; int m_maxRecords; bool m_maxRecordsHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws