/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace EMR { namespace Model { class ListReleaseLabelsResult { public: AWS_EMR_API ListReleaseLabelsResult(); AWS_EMR_API ListReleaseLabelsResult(const Aws::AmazonWebServiceResult& result); AWS_EMR_API ListReleaseLabelsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The returned release labels.

*/ inline const Aws::Vector& GetReleaseLabels() const{ return m_releaseLabels; } /** *

The returned release labels.

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

The returned release labels.

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

The returned release labels.

*/ inline ListReleaseLabelsResult& WithReleaseLabels(const Aws::Vector& value) { SetReleaseLabels(value); return *this;} /** *

The returned release labels.

*/ inline ListReleaseLabelsResult& WithReleaseLabels(Aws::Vector&& value) { SetReleaseLabels(std::move(value)); return *this;} /** *

The returned release labels.

*/ inline ListReleaseLabelsResult& AddReleaseLabels(const Aws::String& value) { m_releaseLabels.push_back(value); return *this; } /** *

The returned release labels.

*/ inline ListReleaseLabelsResult& AddReleaseLabels(Aws::String&& value) { m_releaseLabels.push_back(std::move(value)); return *this; } /** *

The returned release labels.

*/ inline ListReleaseLabelsResult& AddReleaseLabels(const char* value) { m_releaseLabels.push_back(value); return *this; } /** *

Used to paginate the next page of results if specified in the next * ListReleaseLabels request.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

Used to paginate the next page of results if specified in the next * ListReleaseLabels request.

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

Used to paginate the next page of results if specified in the next * ListReleaseLabels request.

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

Used to paginate the next page of results if specified in the next * ListReleaseLabels request.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

Used to paginate the next page of results if specified in the next * ListReleaseLabels request.

*/ inline ListReleaseLabelsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

Used to paginate the next page of results if specified in the next * ListReleaseLabels request.

*/ inline ListReleaseLabelsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

Used to paginate the next page of results if specified in the next * ListReleaseLabels request.

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