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

A list of ImportSummary objects.

*/ inline const Aws::Vector& GetImportSummaryList() const{ return m_importSummaryList; } /** *

A list of ImportSummary objects.

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

A list of ImportSummary objects.

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

A list of ImportSummary objects.

*/ inline ListImportsResult& WithImportSummaryList(const Aws::Vector& value) { SetImportSummaryList(value); return *this;} /** *

A list of ImportSummary objects.

*/ inline ListImportsResult& WithImportSummaryList(Aws::Vector&& value) { SetImportSummaryList(std::move(value)); return *this;} /** *

A list of ImportSummary objects.

*/ inline ListImportsResult& AddImportSummaryList(const ImportSummary& value) { m_importSummaryList.push_back(value); return *this; } /** *

A list of ImportSummary objects.

*/ inline ListImportsResult& AddImportSummaryList(ImportSummary&& value) { m_importSummaryList.push_back(std::move(value)); return *this; } /** *

If this value is returned, there are additional results to be displayed. To * retrieve them, call ListImports again, with NextToken * set to this value.

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

If this value is returned, there are additional results to be displayed. To * retrieve them, call ListImports again, with NextToken * set to this value.

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

If this value is returned, there are additional results to be displayed. To * retrieve them, call ListImports again, with NextToken * set to this value.

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

If this value is returned, there are additional results to be displayed. To * retrieve them, call ListImports again, with NextToken * set to this value.

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

If this value is returned, there are additional results to be displayed. To * retrieve them, call ListImports again, with NextToken * set to this value.

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

If this value is returned, there are additional results to be displayed. To * retrieve them, call ListImports again, with NextToken * set to this value.

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

If this value is returned, there are additional results to be displayed. To * retrieve them, call ListImports again, with NextToken * set to this value.

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