/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DynamoDB { namespace Model { /** *

Represents the output of a ListTables operation.

See * Also:

AWS * API Reference

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

The names of the tables associated with the current account at the current * endpoint. The maximum size of this array is 100.

If * LastEvaluatedTableName also appears in the output, you can use this * value as the ExclusiveStartTableName parameter in a subsequent * ListTables request and obtain the next page of results.

*/ inline const Aws::Vector& GetTableNames() const{ return m_tableNames; } /** *

The names of the tables associated with the current account at the current * endpoint. The maximum size of this array is 100.

If * LastEvaluatedTableName also appears in the output, you can use this * value as the ExclusiveStartTableName parameter in a subsequent * ListTables request and obtain the next page of results.

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

The names of the tables associated with the current account at the current * endpoint. The maximum size of this array is 100.

If * LastEvaluatedTableName also appears in the output, you can use this * value as the ExclusiveStartTableName parameter in a subsequent * ListTables request and obtain the next page of results.

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

The names of the tables associated with the current account at the current * endpoint. The maximum size of this array is 100.

If * LastEvaluatedTableName also appears in the output, you can use this * value as the ExclusiveStartTableName parameter in a subsequent * ListTables request and obtain the next page of results.

*/ inline ListTablesResult& WithTableNames(const Aws::Vector& value) { SetTableNames(value); return *this;} /** *

The names of the tables associated with the current account at the current * endpoint. The maximum size of this array is 100.

If * LastEvaluatedTableName also appears in the output, you can use this * value as the ExclusiveStartTableName parameter in a subsequent * ListTables request and obtain the next page of results.

*/ inline ListTablesResult& WithTableNames(Aws::Vector&& value) { SetTableNames(std::move(value)); return *this;} /** *

The names of the tables associated with the current account at the current * endpoint. The maximum size of this array is 100.

If * LastEvaluatedTableName also appears in the output, you can use this * value as the ExclusiveStartTableName parameter in a subsequent * ListTables request and obtain the next page of results.

*/ inline ListTablesResult& AddTableNames(const Aws::String& value) { m_tableNames.push_back(value); return *this; } /** *

The names of the tables associated with the current account at the current * endpoint. The maximum size of this array is 100.

If * LastEvaluatedTableName also appears in the output, you can use this * value as the ExclusiveStartTableName parameter in a subsequent * ListTables request and obtain the next page of results.

*/ inline ListTablesResult& AddTableNames(Aws::String&& value) { m_tableNames.push_back(std::move(value)); return *this; } /** *

The names of the tables associated with the current account at the current * endpoint. The maximum size of this array is 100.

If * LastEvaluatedTableName also appears in the output, you can use this * value as the ExclusiveStartTableName parameter in a subsequent * ListTables request and obtain the next page of results.

*/ inline ListTablesResult& AddTableNames(const char* value) { m_tableNames.push_back(value); return *this; } /** *

The name of the last table in the current page of results. Use this value as * the ExclusiveStartTableName in a new request to obtain the next * page of results, until all the table names are returned.

If you do not * receive a LastEvaluatedTableName value in the response, this means * that there are no more table names to be retrieved.

*/ inline const Aws::String& GetLastEvaluatedTableName() const{ return m_lastEvaluatedTableName; } /** *

The name of the last table in the current page of results. Use this value as * the ExclusiveStartTableName in a new request to obtain the next * page of results, until all the table names are returned.

If you do not * receive a LastEvaluatedTableName value in the response, this means * that there are no more table names to be retrieved.

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

The name of the last table in the current page of results. Use this value as * the ExclusiveStartTableName in a new request to obtain the next * page of results, until all the table names are returned.

If you do not * receive a LastEvaluatedTableName value in the response, this means * that there are no more table names to be retrieved.

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

The name of the last table in the current page of results. Use this value as * the ExclusiveStartTableName in a new request to obtain the next * page of results, until all the table names are returned.

If you do not * receive a LastEvaluatedTableName value in the response, this means * that there are no more table names to be retrieved.

*/ inline void SetLastEvaluatedTableName(const char* value) { m_lastEvaluatedTableName.assign(value); } /** *

The name of the last table in the current page of results. Use this value as * the ExclusiveStartTableName in a new request to obtain the next * page of results, until all the table names are returned.

If you do not * receive a LastEvaluatedTableName value in the response, this means * that there are no more table names to be retrieved.

*/ inline ListTablesResult& WithLastEvaluatedTableName(const Aws::String& value) { SetLastEvaluatedTableName(value); return *this;} /** *

The name of the last table in the current page of results. Use this value as * the ExclusiveStartTableName in a new request to obtain the next * page of results, until all the table names are returned.

If you do not * receive a LastEvaluatedTableName value in the response, this means * that there are no more table names to be retrieved.

*/ inline ListTablesResult& WithLastEvaluatedTableName(Aws::String&& value) { SetLastEvaluatedTableName(std::move(value)); return *this;} /** *

The name of the last table in the current page of results. Use this value as * the ExclusiveStartTableName in a new request to obtain the next * page of results, until all the table names are returned.

If you do not * receive a LastEvaluatedTableName value in the response, this means * that there are no more table names to be retrieved.

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