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

The list of Studio summary objects.

*/ inline const Aws::Vector& GetStudios() const{ return m_studios; } /** *

The list of Studio summary objects.

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

The list of Studio summary objects.

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

The list of Studio summary objects.

*/ inline ListStudiosResult& WithStudios(const Aws::Vector& value) { SetStudios(value); return *this;} /** *

The list of Studio summary objects.

*/ inline ListStudiosResult& WithStudios(Aws::Vector&& value) { SetStudios(std::move(value)); return *this;} /** *

The list of Studio summary objects.

*/ inline ListStudiosResult& AddStudios(const StudioSummary& value) { m_studios.push_back(value); return *this; } /** *

The list of Studio summary objects.

*/ inline ListStudiosResult& AddStudios(StudioSummary&& value) { m_studios.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 ListStudiosResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

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

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

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

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