/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace EMR { namespace Model { /** *

This output contains the list of steps returned in reverse order. This means * that the last step is the first element in the list.

See Also:

* AWS * API Reference

*/ class ListStepsResult { public: AWS_EMR_API ListStepsResult(); AWS_EMR_API ListStepsResult(const Aws::AmazonWebServiceResult& result); AWS_EMR_API ListStepsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The filtered list of steps for the cluster.

*/ inline const Aws::Vector& GetSteps() const{ return m_steps; } /** *

The filtered list of steps for the cluster.

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

The filtered list of steps for the cluster.

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

The filtered list of steps for the cluster.

*/ inline ListStepsResult& WithSteps(const Aws::Vector& value) { SetSteps(value); return *this;} /** *

The filtered list of steps for the cluster.

*/ inline ListStepsResult& WithSteps(Aws::Vector&& value) { SetSteps(std::move(value)); return *this;} /** *

The filtered list of steps for the cluster.

*/ inline ListStepsResult& AddSteps(const StepSummary& value) { m_steps.push_back(value); return *this; } /** *

The filtered list of steps for the cluster.

*/ inline ListStepsResult& AddSteps(StepSummary&& value) { m_steps.push_back(std::move(value)); return *this; } /** *

The maximum number of steps that a single ListSteps action * returns is 50. To return a longer list of steps, use multiple * ListSteps actions along with the Marker parameter, * which is a pagination token that indicates the next set of results to * retrieve.

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

The maximum number of steps that a single ListSteps action * returns is 50. To return a longer list of steps, use multiple * ListSteps actions along with the Marker parameter, * which is a pagination token that indicates the next set of results to * retrieve.

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

The maximum number of steps that a single ListSteps action * returns is 50. To return a longer list of steps, use multiple * ListSteps actions along with the Marker parameter, * which is a pagination token that indicates the next set of results to * retrieve.

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

The maximum number of steps that a single ListSteps action * returns is 50. To return a longer list of steps, use multiple * ListSteps actions along with the Marker parameter, * which is a pagination token that indicates the next set of results to * retrieve.

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

The maximum number of steps that a single ListSteps action * returns is 50. To return a longer list of steps, use multiple * ListSteps actions along with the Marker parameter, * which is a pagination token that indicates the next set of results to * retrieve.

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

The maximum number of steps that a single ListSteps action * returns is 50. To return a longer list of steps, use multiple * ListSteps actions along with the Marker parameter, * which is a pagination token that indicates the next set of results to * retrieve.

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

The maximum number of steps that a single ListSteps action * returns is 50. To return a longer list of steps, use multiple * ListSteps actions along with the Marker parameter, * which is a pagination token that indicates the next set of results to * retrieve.

*/ inline ListStepsResult& WithMarker(const char* value) { SetMarker(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListStepsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListStepsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListStepsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_steps; Aws::String m_marker; Aws::String m_requestId; }; } // namespace Model } // namespace EMR } // namespace Aws