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

The list of instance fleets for the cluster and given filters.

*/ inline const Aws::Vector& GetInstanceFleets() const{ return m_instanceFleets; } /** *

The list of instance fleets for the cluster and given filters.

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

The list of instance fleets for the cluster and given filters.

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

The list of instance fleets for the cluster and given filters.

*/ inline ListInstanceFleetsResult& WithInstanceFleets(const Aws::Vector& value) { SetInstanceFleets(value); return *this;} /** *

The list of instance fleets for the cluster and given filters.

*/ inline ListInstanceFleetsResult& WithInstanceFleets(Aws::Vector&& value) { SetInstanceFleets(std::move(value)); return *this;} /** *

The list of instance fleets for the cluster and given filters.

*/ inline ListInstanceFleetsResult& AddInstanceFleets(const InstanceFleet& value) { m_instanceFleets.push_back(value); return *this; } /** *

The list of instance fleets for the cluster and given filters.

*/ inline ListInstanceFleetsResult& AddInstanceFleets(InstanceFleet&& value) { m_instanceFleets.push_back(std::move(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 void SetMarker(const Aws::String& value) { m_marker = value; } /** *

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

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

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

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

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

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

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

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

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

*/ inline ListInstanceFleetsResult& 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 ListInstanceFleetsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListInstanceFleetsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListInstanceFleetsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_instanceFleets; Aws::String m_marker; Aws::String m_requestId; }; } // namespace Model } // namespace EMR } // namespace Aws