/** * 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 EMR { namespace Model { /** */ class ListInstanceFleetsRequest : public EMRRequest { public: AWS_EMR_API ListInstanceFleetsRequest(); // 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 "ListInstanceFleets"; } AWS_EMR_API Aws::String SerializePayload() const override; AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The unique identifier of the cluster.

*/ inline const Aws::String& GetClusterId() const{ return m_clusterId; } /** *

The unique identifier of the cluster.

*/ inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; } /** *

The unique identifier of the cluster.

*/ inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; } /** *

The unique identifier of the cluster.

*/ inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); } /** *

The unique identifier of the cluster.

*/ inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); } /** *

The unique identifier of the cluster.

*/ inline ListInstanceFleetsRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;} /** *

The unique identifier of the cluster.

*/ inline ListInstanceFleetsRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;} /** *

The unique identifier of the cluster.

*/ inline ListInstanceFleetsRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;} /** *

The pagination token that indicates the next set of results to retrieve.

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

The pagination token that indicates the next set of results to retrieve.

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

The pagination token that indicates the next set of results to retrieve.

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

The pagination token that indicates the next set of results to retrieve.

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

The pagination token that indicates the next set of results to retrieve.

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

The pagination token that indicates the next set of results to retrieve.

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

The pagination token that indicates the next set of results to retrieve.

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

The pagination token that indicates the next set of results to retrieve.

*/ inline ListInstanceFleetsRequest& WithMarker(const char* value) { SetMarker(value); return *this;} private: Aws::String m_clusterId; bool m_clusterIdHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; }; } // namespace Model } // namespace EMR } // namespace Aws