/** * 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 DescribeReservedNodeExchangeStatusRequest : public RedshiftRequest { public: AWS_REDSHIFT_API DescribeReservedNodeExchangeStatusRequest(); // 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 "DescribeReservedNodeExchangeStatus"; } AWS_REDSHIFT_API Aws::String SerializePayload() const override; protected: AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The identifier of the source reserved node in a reserved-node exchange * request.

*/ inline const Aws::String& GetReservedNodeId() const{ return m_reservedNodeId; } /** *

The identifier of the source reserved node in a reserved-node exchange * request.

*/ inline bool ReservedNodeIdHasBeenSet() const { return m_reservedNodeIdHasBeenSet; } /** *

The identifier of the source reserved node in a reserved-node exchange * request.

*/ inline void SetReservedNodeId(const Aws::String& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = value; } /** *

The identifier of the source reserved node in a reserved-node exchange * request.

*/ inline void SetReservedNodeId(Aws::String&& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = std::move(value); } /** *

The identifier of the source reserved node in a reserved-node exchange * request.

*/ inline void SetReservedNodeId(const char* value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId.assign(value); } /** *

The identifier of the source reserved node in a reserved-node exchange * request.

*/ inline DescribeReservedNodeExchangeStatusRequest& WithReservedNodeId(const Aws::String& value) { SetReservedNodeId(value); return *this;} /** *

The identifier of the source reserved node in a reserved-node exchange * request.

*/ inline DescribeReservedNodeExchangeStatusRequest& WithReservedNodeId(Aws::String&& value) { SetReservedNodeId(std::move(value)); return *this;} /** *

The identifier of the source reserved node in a reserved-node exchange * request.

*/ inline DescribeReservedNodeExchangeStatusRequest& WithReservedNodeId(const char* value) { SetReservedNodeId(value); return *this;} /** *

The identifier of the reserved-node exchange request.

*/ inline const Aws::String& GetReservedNodeExchangeRequestId() const{ return m_reservedNodeExchangeRequestId; } /** *

The identifier of the reserved-node exchange request.

*/ inline bool ReservedNodeExchangeRequestIdHasBeenSet() const { return m_reservedNodeExchangeRequestIdHasBeenSet; } /** *

The identifier of the reserved-node exchange request.

*/ inline void SetReservedNodeExchangeRequestId(const Aws::String& value) { m_reservedNodeExchangeRequestIdHasBeenSet = true; m_reservedNodeExchangeRequestId = value; } /** *

The identifier of the reserved-node exchange request.

*/ inline void SetReservedNodeExchangeRequestId(Aws::String&& value) { m_reservedNodeExchangeRequestIdHasBeenSet = true; m_reservedNodeExchangeRequestId = std::move(value); } /** *

The identifier of the reserved-node exchange request.

*/ inline void SetReservedNodeExchangeRequestId(const char* value) { m_reservedNodeExchangeRequestIdHasBeenSet = true; m_reservedNodeExchangeRequestId.assign(value); } /** *

The identifier of the reserved-node exchange request.

*/ inline DescribeReservedNodeExchangeStatusRequest& WithReservedNodeExchangeRequestId(const Aws::String& value) { SetReservedNodeExchangeRequestId(value); return *this;} /** *

The identifier of the reserved-node exchange request.

*/ inline DescribeReservedNodeExchangeStatusRequest& WithReservedNodeExchangeRequestId(Aws::String&& value) { SetReservedNodeExchangeRequestId(std::move(value)); return *this;} /** *

The identifier of the reserved-node exchange request.

*/ inline DescribeReservedNodeExchangeStatusRequest& WithReservedNodeExchangeRequestId(const char* value) { SetReservedNodeExchangeRequestId(value); return *this;} /** *

The maximum number of response records to return in each call. If the number * of remaining response records exceeds the specified MaxRecords * value, a value is returned in a Marker field of the response. You * can retrieve the next set of records by retrying the command with the returned * marker value.

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

The maximum number of response records to return in each call. If the number * of remaining response records exceeds the specified MaxRecords * value, a value is returned in a Marker field of the response. You * can retrieve the next set of records by retrying the command with the returned * marker value.

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

The maximum number of response records to return in each call. If the number * of remaining response records exceeds the specified MaxRecords * value, a value is returned in a Marker field of the response. You * can retrieve the next set of records by retrying the command with the returned * marker value.

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

The maximum number of response records to return in each call. If the number * of remaining response records exceeds the specified MaxRecords * value, a value is returned in a Marker field of the response. You * can retrieve the next set of records by retrying the command with the returned * marker value.

*/ inline DescribeReservedNodeExchangeStatusRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;} /** *

An optional pagination token provided by a previous * DescribeReservedNodeExchangeStatus request. If this parameter is * specified, the response includes only records beyond the marker, up to the value * specified by the MaxRecords parameter. 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 pagination token provided by a previous * DescribeReservedNodeExchangeStatus request. If this parameter is * specified, the response includes only records beyond the marker, up to the value * specified by the MaxRecords parameter. You can retrieve the next * set of response records by providing the returned marker value in the * Marker parameter and retrying the request.

*/ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *

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

An optional pagination token provided by a previous * DescribeReservedNodeExchangeStatus request. If this parameter is * specified, the response includes only records beyond the marker, up to the value * specified by the MaxRecords parameter. 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_markerHasBeenSet = true; m_marker = std::move(value); } /** *

An optional pagination token provided by a previous * DescribeReservedNodeExchangeStatus request. If this parameter is * specified, the response includes only records beyond the marker, up to the value * specified by the MaxRecords parameter. 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_markerHasBeenSet = true; m_marker.assign(value); } /** *

An optional pagination token provided by a previous * DescribeReservedNodeExchangeStatus request. If this parameter is * specified, the response includes only records beyond the marker, up to the value * specified by the MaxRecords parameter. You can retrieve the next * set of response records by providing the returned marker value in the * Marker parameter and retrying the request.

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

An optional pagination token provided by a previous * DescribeReservedNodeExchangeStatus request. If this parameter is * specified, the response includes only records beyond the marker, up to the value * specified by the MaxRecords parameter. You can retrieve the next * set of response records by providing the returned marker value in the * Marker parameter and retrying the request.

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

An optional pagination token provided by a previous * DescribeReservedNodeExchangeStatus request. If this parameter is * specified, the response includes only records beyond the marker, up to the value * specified by the MaxRecords parameter. You can retrieve the next * set of response records by providing the returned marker value in the * Marker parameter and retrying the request.

*/ inline DescribeReservedNodeExchangeStatusRequest& WithMarker(const char* value) { SetMarker(value); return *this;} private: Aws::String m_reservedNodeId; bool m_reservedNodeIdHasBeenSet = false; Aws::String m_reservedNodeExchangeRequestId; bool m_reservedNodeExchangeRequestIdHasBeenSet = false; int m_maxRecords; bool m_maxRecordsHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws