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

Represents the input of a ListStreams operation.

See * Also:

AWS * API Reference

*/ class ListStreamsRequest : public DynamoDBStreamsRequest { public: AWS_DYNAMODBSTREAMS_API ListStreamsRequest(); // 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 "ListStreams"; } AWS_DYNAMODBSTREAMS_API Aws::String SerializePayload() const override; AWS_DYNAMODBSTREAMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

If this parameter is provided, then only the streams associated with this * table name are returned.

*/ inline const Aws::String& GetTableName() const{ return m_tableName; } /** *

If this parameter is provided, then only the streams associated with this * table name are returned.

*/ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** *

If this parameter is provided, then only the streams associated with this * table name are returned.

*/ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** *

If this parameter is provided, then only the streams associated with this * table name are returned.

*/ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** *

If this parameter is provided, then only the streams associated with this * table name are returned.

*/ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** *

If this parameter is provided, then only the streams associated with this * table name are returned.

*/ inline ListStreamsRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *

If this parameter is provided, then only the streams associated with this * table name are returned.

*/ inline ListStreamsRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *

If this parameter is provided, then only the streams associated with this * table name are returned.

*/ inline ListStreamsRequest& WithTableName(const char* value) { SetTableName(value); return *this;} /** *

The maximum number of streams to return. The upper limit is 100.

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

The maximum number of streams to return. The upper limit is 100.

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

The maximum number of streams to return. The upper limit is 100.

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

The maximum number of streams to return. The upper limit is 100.

*/ inline ListStreamsRequest& WithLimit(int value) { SetLimit(value); return *this;} /** *

The ARN (Amazon Resource Name) of the first item that this operation will * evaluate. Use the value that was returned for * LastEvaluatedStreamArn in the previous operation.

*/ inline const Aws::String& GetExclusiveStartStreamArn() const{ return m_exclusiveStartStreamArn; } /** *

The ARN (Amazon Resource Name) of the first item that this operation will * evaluate. Use the value that was returned for * LastEvaluatedStreamArn in the previous operation.

*/ inline bool ExclusiveStartStreamArnHasBeenSet() const { return m_exclusiveStartStreamArnHasBeenSet; } /** *

The ARN (Amazon Resource Name) of the first item that this operation will * evaluate. Use the value that was returned for * LastEvaluatedStreamArn in the previous operation.

*/ inline void SetExclusiveStartStreamArn(const Aws::String& value) { m_exclusiveStartStreamArnHasBeenSet = true; m_exclusiveStartStreamArn = value; } /** *

The ARN (Amazon Resource Name) of the first item that this operation will * evaluate. Use the value that was returned for * LastEvaluatedStreamArn in the previous operation.

*/ inline void SetExclusiveStartStreamArn(Aws::String&& value) { m_exclusiveStartStreamArnHasBeenSet = true; m_exclusiveStartStreamArn = std::move(value); } /** *

The ARN (Amazon Resource Name) of the first item that this operation will * evaluate. Use the value that was returned for * LastEvaluatedStreamArn in the previous operation.

*/ inline void SetExclusiveStartStreamArn(const char* value) { m_exclusiveStartStreamArnHasBeenSet = true; m_exclusiveStartStreamArn.assign(value); } /** *

The ARN (Amazon Resource Name) of the first item that this operation will * evaluate. Use the value that was returned for * LastEvaluatedStreamArn in the previous operation.

*/ inline ListStreamsRequest& WithExclusiveStartStreamArn(const Aws::String& value) { SetExclusiveStartStreamArn(value); return *this;} /** *

The ARN (Amazon Resource Name) of the first item that this operation will * evaluate. Use the value that was returned for * LastEvaluatedStreamArn in the previous operation.

*/ inline ListStreamsRequest& WithExclusiveStartStreamArn(Aws::String&& value) { SetExclusiveStartStreamArn(std::move(value)); return *this;} /** *

The ARN (Amazon Resource Name) of the first item that this operation will * evaluate. Use the value that was returned for * LastEvaluatedStreamArn in the previous operation.

*/ inline ListStreamsRequest& WithExclusiveStartStreamArn(const char* value) { SetExclusiveStartStreamArn(value); return *this;} private: Aws::String m_tableName; bool m_tableNameHasBeenSet = false; int m_limit; bool m_limitHasBeenSet = false; Aws::String m_exclusiveStartStreamArn; bool m_exclusiveStartStreamArnHasBeenSet = false; }; } // namespace Model } // namespace DynamoDBStreams } // namespace Aws