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

A pagination token that's included if more results are available.

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

A pagination token that's included if more results are available.

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

A pagination token that's included if more results are available.

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

A pagination token that's included if more results are available.

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

A pagination token that's included if more results are available.

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

A pagination token that's included if more results are available.

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

A pagination token that's included if more results are available.

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

A list of reference stores.

*/ inline const Aws::Vector& GetReferenceStores() const{ return m_referenceStores; } /** *

A list of reference stores.

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

A list of reference stores.

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

A list of reference stores.

*/ inline ListReferenceStoresResult& WithReferenceStores(const Aws::Vector& value) { SetReferenceStores(value); return *this;} /** *

A list of reference stores.

*/ inline ListReferenceStoresResult& WithReferenceStores(Aws::Vector&& value) { SetReferenceStores(std::move(value)); return *this;} /** *

A list of reference stores.

*/ inline ListReferenceStoresResult& AddReferenceStores(const ReferenceStoreDetail& value) { m_referenceStores.push_back(value); return *this; } /** *

A list of reference stores.

*/ inline ListReferenceStoresResult& AddReferenceStores(ReferenceStoreDetail&& value) { m_referenceStores.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 ListReferenceStoresResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListReferenceStoresResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListReferenceStoresResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_referenceStores; Aws::String m_requestId; }; } // namespace Model } // namespace Omics } // namespace Aws