/** * 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 Mobile { namespace Model { /** *

Result structure contains a list of all available bundles with details. *

See Also:

AWS * API Reference

*/ class ListBundlesResult { public: AWS_MOBILE_API ListBundlesResult(); AWS_MOBILE_API ListBundlesResult(const Aws::AmazonWebServiceResult& result); AWS_MOBILE_API ListBundlesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of bundles.

*/ inline const Aws::Vector& GetBundleList() const{ return m_bundleList; } /** *

A list of bundles.

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

A list of bundles.

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

A list of bundles.

*/ inline ListBundlesResult& WithBundleList(const Aws::Vector& value) { SetBundleList(value); return *this;} /** *

A list of bundles.

*/ inline ListBundlesResult& WithBundleList(Aws::Vector&& value) { SetBundleList(std::move(value)); return *this;} /** *

A list of bundles.

*/ inline ListBundlesResult& AddBundleList(const BundleDetails& value) { m_bundleList.push_back(value); return *this; } /** *

A list of bundles.

*/ inline ListBundlesResult& AddBundleList(BundleDetails&& value) { m_bundleList.push_back(std::move(value)); return *this; } /** *

Pagination token. If non-null pagination token is returned in a result, then * pass its value in another request to fetch more entries.

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

Pagination token. If non-null pagination token is returned in a result, then * pass its value in another request to fetch more entries.

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

Pagination token. If non-null pagination token is returned in a result, then * pass its value in another request to fetch more entries.

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

Pagination token. If non-null pagination token is returned in a result, then * pass its value in another request to fetch more entries.

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

Pagination token. If non-null pagination token is returned in a result, then * pass its value in another request to fetch more entries.

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

Pagination token. If non-null pagination token is returned in a result, then * pass its value in another request to fetch more entries.

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

Pagination token. If non-null pagination token is returned in a result, then * pass its value in another request to fetch more entries.

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