/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace DynamoDB { namespace Model { /** *

Represents the input of a ListTables operation.

See * Also:

AWS * API Reference

*/ class ListTablesRequest : public DynamoDBRequest { public: AWS_DYNAMODB_API ListTablesRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListTables"; } AWS_DYNAMODB_API Aws::String SerializePayload() const override; AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The first table name that this operation will evaluate. Use the value that * was returned for LastEvaluatedTableName in a previous operation, so * that you can obtain the next page of results.

*/ inline const Aws::String& GetExclusiveStartTableName() const{ return m_exclusiveStartTableName; } /** *

The first table name that this operation will evaluate. Use the value that * was returned for LastEvaluatedTableName in a previous operation, so * that you can obtain the next page of results.

*/ inline bool ExclusiveStartTableNameHasBeenSet() const { return m_exclusiveStartTableNameHasBeenSet; } /** *

The first table name that this operation will evaluate. Use the value that * was returned for LastEvaluatedTableName in a previous operation, so * that you can obtain the next page of results.

*/ inline void SetExclusiveStartTableName(const Aws::String& value) { m_exclusiveStartTableNameHasBeenSet = true; m_exclusiveStartTableName = value; } /** *

The first table name that this operation will evaluate. Use the value that * was returned for LastEvaluatedTableName in a previous operation, so * that you can obtain the next page of results.

*/ inline void SetExclusiveStartTableName(Aws::String&& value) { m_exclusiveStartTableNameHasBeenSet = true; m_exclusiveStartTableName = std::move(value); } /** *

The first table name that this operation will evaluate. Use the value that * was returned for LastEvaluatedTableName in a previous operation, so * that you can obtain the next page of results.

*/ inline void SetExclusiveStartTableName(const char* value) { m_exclusiveStartTableNameHasBeenSet = true; m_exclusiveStartTableName.assign(value); } /** *

The first table name that this operation will evaluate. Use the value that * was returned for LastEvaluatedTableName in a previous operation, so * that you can obtain the next page of results.

*/ inline ListTablesRequest& WithExclusiveStartTableName(const Aws::String& value) { SetExclusiveStartTableName(value); return *this;} /** *

The first table name that this operation will evaluate. Use the value that * was returned for LastEvaluatedTableName in a previous operation, so * that you can obtain the next page of results.

*/ inline ListTablesRequest& WithExclusiveStartTableName(Aws::String&& value) { SetExclusiveStartTableName(std::move(value)); return *this;} /** *

The first table name that this operation will evaluate. Use the value that * was returned for LastEvaluatedTableName in a previous operation, so * that you can obtain the next page of results.

*/ inline ListTablesRequest& WithExclusiveStartTableName(const char* value) { SetExclusiveStartTableName(value); return *this;} /** *

A maximum number of table names to return. If this parameter is not * specified, the limit is 100.

*/ inline int GetLimit() const{ return m_limit; } /** *

A maximum number of table names to return. If this parameter is not * specified, the limit is 100.

*/ inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } /** *

A maximum number of table names to return. If this parameter is not * specified, the limit is 100.

*/ inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } /** *

A maximum number of table names to return. If this parameter is not * specified, the limit is 100.

*/ inline ListTablesRequest& WithLimit(int value) { SetLimit(value); return *this;} private: Aws::String m_exclusiveStartTableName; bool m_exclusiveStartTableNameHasBeenSet = false; int m_limit; bool m_limitHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws