/** * 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 LookoutEquipment { namespace Model { class ListLabelsResult { public: AWS_LOOKOUTEQUIPMENT_API ListLabelsResult(); AWS_LOOKOUTEQUIPMENT_API ListLabelsResult(const Aws::AmazonWebServiceResult& result); AWS_LOOKOUTEQUIPMENT_API ListLabelsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An opaque pagination token indicating where to continue the listing of * datasets.

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

An opaque pagination token indicating where to continue the listing of * datasets.

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

An opaque pagination token indicating where to continue the listing of * datasets.

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

An opaque pagination token indicating where to continue the listing of * datasets.

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

An opaque pagination token indicating where to continue the listing of * datasets.

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

An opaque pagination token indicating where to continue the listing of * datasets.

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

An opaque pagination token indicating where to continue the listing of * datasets.

*/ inline ListLabelsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

A summary of the items in the label group.

*/ inline const Aws::Vector& GetLabelSummaries() const{ return m_labelSummaries; } /** *

A summary of the items in the label group.

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

A summary of the items in the label group.

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

A summary of the items in the label group.

*/ inline ListLabelsResult& WithLabelSummaries(const Aws::Vector& value) { SetLabelSummaries(value); return *this;} /** *

A summary of the items in the label group.

*/ inline ListLabelsResult& WithLabelSummaries(Aws::Vector&& value) { SetLabelSummaries(std::move(value)); return *this;} /** *

A summary of the items in the label group.

*/ inline ListLabelsResult& AddLabelSummaries(const LabelSummary& value) { m_labelSummaries.push_back(value); return *this; } /** *

A summary of the items in the label group.

*/ inline ListLabelsResult& AddLabelSummaries(LabelSummary&& value) { m_labelSummaries.push_back(std::move(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 ListLabelsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListLabelsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListLabelsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_labelSummaries; Aws::String m_requestId; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws