/** * 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 Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace S3Control { namespace Model { class ListStorageLensConfigurationsResult { public: AWS_S3CONTROL_API ListStorageLensConfigurationsResult(); AWS_S3CONTROL_API ListStorageLensConfigurationsResult(const Aws::AmazonWebServiceResult& result); AWS_S3CONTROL_API ListStorageLensConfigurationsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

If the request produced more than the maximum number of S3 Storage Lens * configuration results, you can pass this value into a subsequent request to * retrieve the next page of results.

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

If the request produced more than the maximum number of S3 Storage Lens * configuration results, you can pass this value into a subsequent request to * retrieve the next page of results.

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

If the request produced more than the maximum number of S3 Storage Lens * configuration results, you can pass this value into a subsequent request to * retrieve the next page of results.

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

If the request produced more than the maximum number of S3 Storage Lens * configuration results, you can pass this value into a subsequent request to * retrieve the next page of results.

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

If the request produced more than the maximum number of S3 Storage Lens * configuration results, you can pass this value into a subsequent request to * retrieve the next page of results.

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

If the request produced more than the maximum number of S3 Storage Lens * configuration results, you can pass this value into a subsequent request to * retrieve the next page of results.

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

If the request produced more than the maximum number of S3 Storage Lens * configuration results, you can pass this value into a subsequent request to * retrieve the next page of results.

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

A list of S3 Storage Lens configurations.

*/ inline const Aws::Vector& GetStorageLensConfigurationList() const{ return m_storageLensConfigurationList; } /** *

A list of S3 Storage Lens configurations.

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

A list of S3 Storage Lens configurations.

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

A list of S3 Storage Lens configurations.

*/ inline ListStorageLensConfigurationsResult& WithStorageLensConfigurationList(const Aws::Vector& value) { SetStorageLensConfigurationList(value); return *this;} /** *

A list of S3 Storage Lens configurations.

*/ inline ListStorageLensConfigurationsResult& WithStorageLensConfigurationList(Aws::Vector&& value) { SetStorageLensConfigurationList(std::move(value)); return *this;} /** *

A list of S3 Storage Lens configurations.

*/ inline ListStorageLensConfigurationsResult& AddStorageLensConfigurationList(const ListStorageLensConfigurationEntry& value) { m_storageLensConfigurationList.push_back(value); return *this; } /** *

A list of S3 Storage Lens configurations.

*/ inline ListStorageLensConfigurationsResult& AddStorageLensConfigurationList(ListStorageLensConfigurationEntry&& value) { m_storageLensConfigurationList.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 ListStorageLensConfigurationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListStorageLensConfigurationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListStorageLensConfigurationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_storageLensConfigurationList; Aws::String m_requestId; }; } // namespace Model } // namespace S3Control } // namespace Aws