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

Represents the input for ListStreams.

See Also:

* AWS * API Reference

*/ class AWS_KINESIS_API ListStreamsRequest : public KinesisRequest { public: 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::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The maximum number of streams to list.

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

The maximum number of streams to list.

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

The maximum number of streams to list.

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

The maximum number of streams to list.

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

The name of the stream to start the list with.

*/ inline const Aws::String& GetExclusiveStartStreamName() const{ return m_exclusiveStartStreamName; } /** *

The name of the stream to start the list with.

*/ inline bool ExclusiveStartStreamNameHasBeenSet() const { return m_exclusiveStartStreamNameHasBeenSet; } /** *

The name of the stream to start the list with.

*/ inline void SetExclusiveStartStreamName(const Aws::String& value) { m_exclusiveStartStreamNameHasBeenSet = true; m_exclusiveStartStreamName = value; } /** *

The name of the stream to start the list with.

*/ inline void SetExclusiveStartStreamName(Aws::String&& value) { m_exclusiveStartStreamNameHasBeenSet = true; m_exclusiveStartStreamName = std::move(value); } /** *

The name of the stream to start the list with.

*/ inline void SetExclusiveStartStreamName(const char* value) { m_exclusiveStartStreamNameHasBeenSet = true; m_exclusiveStartStreamName.assign(value); } /** *

The name of the stream to start the list with.

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

The name of the stream to start the list with.

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

The name of the stream to start the list with.

*/ inline ListStreamsRequest& WithExclusiveStartStreamName(const char* value) { SetExclusiveStartStreamName(value); return *this;} private: int m_limit; bool m_limitHasBeenSet; Aws::String m_exclusiveStartStreamName; bool m_exclusiveStartStreamNameHasBeenSet; }; } // namespace Model } // namespace Kinesis } // namespace Aws