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

A list of notebook executions.

*/ inline const Aws::Vector& GetNotebookExecutions() const{ return m_notebookExecutions; } /** *

A list of notebook executions.

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

A list of notebook executions.

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

A list of notebook executions.

*/ inline ListNotebookExecutionsResult& WithNotebookExecutions(const Aws::Vector& value) { SetNotebookExecutions(value); return *this;} /** *

A list of notebook executions.

*/ inline ListNotebookExecutionsResult& WithNotebookExecutions(Aws::Vector&& value) { SetNotebookExecutions(std::move(value)); return *this;} /** *

A list of notebook executions.

*/ inline ListNotebookExecutionsResult& AddNotebookExecutions(const NotebookExecutionSummary& value) { m_notebookExecutions.push_back(value); return *this; } /** *

A list of notebook executions.

*/ inline ListNotebookExecutionsResult& AddNotebookExecutions(NotebookExecutionSummary&& value) { m_notebookExecutions.push_back(std::move(value)); return *this; } /** *

A pagination token that a subsequent ListNotebookExecutions can * use to determine the next set of results to retrieve.

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

A pagination token that a subsequent ListNotebookExecutions can * use to determine the next set of results to retrieve.

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

A pagination token that a subsequent ListNotebookExecutions can * use to determine the next set of results to retrieve.

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

A pagination token that a subsequent ListNotebookExecutions can * use to determine the next set of results to retrieve.

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

A pagination token that a subsequent ListNotebookExecutions can * use to determine the next set of results to retrieve.

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

A pagination token that a subsequent ListNotebookExecutions can * use to determine the next set of results to retrieve.

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

A pagination token that a subsequent ListNotebookExecutions can * use to determine the next set of results to retrieve.

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