/** * 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 { namespace Firehose { namespace Model { /** */ class AWS_FIREHOSE_API ListDeliveryStreamsRequest : public FirehoseRequest { public: ListDeliveryStreamsRequest(); // 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 "ListDeliveryStreams"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The maximum number of delivery streams to list. The default value is 10.

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

The maximum number of delivery streams to list. The default value is 10.

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

The maximum number of delivery streams to list. The default value is 10.

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

The maximum number of delivery streams to list. The default value is 10.

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

The delivery stream type. This can be one of the following values:

    *
  • DirectPut: Provider applications access the delivery * stream directly.

  • KinesisStreamAsSource: The * delivery stream uses a Kinesis data stream as a source.

This * parameter is optional. If this parameter is omitted, delivery streams of all * types are returned.

*/ inline const DeliveryStreamType& GetDeliveryStreamType() const{ return m_deliveryStreamType; } /** *

The delivery stream type. This can be one of the following values:

    *
  • DirectPut: Provider applications access the delivery * stream directly.

  • KinesisStreamAsSource: The * delivery stream uses a Kinesis data stream as a source.

This * parameter is optional. If this parameter is omitted, delivery streams of all * types are returned.

*/ inline bool DeliveryStreamTypeHasBeenSet() const { return m_deliveryStreamTypeHasBeenSet; } /** *

The delivery stream type. This can be one of the following values:

    *
  • DirectPut: Provider applications access the delivery * stream directly.

  • KinesisStreamAsSource: The * delivery stream uses a Kinesis data stream as a source.

This * parameter is optional. If this parameter is omitted, delivery streams of all * types are returned.

*/ inline void SetDeliveryStreamType(const DeliveryStreamType& value) { m_deliveryStreamTypeHasBeenSet = true; m_deliveryStreamType = value; } /** *

The delivery stream type. This can be one of the following values:

    *
  • DirectPut: Provider applications access the delivery * stream directly.

  • KinesisStreamAsSource: The * delivery stream uses a Kinesis data stream as a source.

This * parameter is optional. If this parameter is omitted, delivery streams of all * types are returned.

*/ inline void SetDeliveryStreamType(DeliveryStreamType&& value) { m_deliveryStreamTypeHasBeenSet = true; m_deliveryStreamType = std::move(value); } /** *

The delivery stream type. This can be one of the following values:

    *
  • DirectPut: Provider applications access the delivery * stream directly.

  • KinesisStreamAsSource: The * delivery stream uses a Kinesis data stream as a source.

This * parameter is optional. If this parameter is omitted, delivery streams of all * types are returned.

*/ inline ListDeliveryStreamsRequest& WithDeliveryStreamType(const DeliveryStreamType& value) { SetDeliveryStreamType(value); return *this;} /** *

The delivery stream type. This can be one of the following values:

    *
  • DirectPut: Provider applications access the delivery * stream directly.

  • KinesisStreamAsSource: The * delivery stream uses a Kinesis data stream as a source.

This * parameter is optional. If this parameter is omitted, delivery streams of all * types are returned.

*/ inline ListDeliveryStreamsRequest& WithDeliveryStreamType(DeliveryStreamType&& value) { SetDeliveryStreamType(std::move(value)); return *this;} /** *

The list of delivery streams returned by this call to * ListDeliveryStreams will start with the delivery stream whose name * comes alphabetically immediately after the name you specify in * ExclusiveStartDeliveryStreamName.

*/ inline const Aws::String& GetExclusiveStartDeliveryStreamName() const{ return m_exclusiveStartDeliveryStreamName; } /** *

The list of delivery streams returned by this call to * ListDeliveryStreams will start with the delivery stream whose name * comes alphabetically immediately after the name you specify in * ExclusiveStartDeliveryStreamName.

*/ inline bool ExclusiveStartDeliveryStreamNameHasBeenSet() const { return m_exclusiveStartDeliveryStreamNameHasBeenSet; } /** *

The list of delivery streams returned by this call to * ListDeliveryStreams will start with the delivery stream whose name * comes alphabetically immediately after the name you specify in * ExclusiveStartDeliveryStreamName.

*/ inline void SetExclusiveStartDeliveryStreamName(const Aws::String& value) { m_exclusiveStartDeliveryStreamNameHasBeenSet = true; m_exclusiveStartDeliveryStreamName = value; } /** *

The list of delivery streams returned by this call to * ListDeliveryStreams will start with the delivery stream whose name * comes alphabetically immediately after the name you specify in * ExclusiveStartDeliveryStreamName.

*/ inline void SetExclusiveStartDeliveryStreamName(Aws::String&& value) { m_exclusiveStartDeliveryStreamNameHasBeenSet = true; m_exclusiveStartDeliveryStreamName = std::move(value); } /** *

The list of delivery streams returned by this call to * ListDeliveryStreams will start with the delivery stream whose name * comes alphabetically immediately after the name you specify in * ExclusiveStartDeliveryStreamName.

*/ inline void SetExclusiveStartDeliveryStreamName(const char* value) { m_exclusiveStartDeliveryStreamNameHasBeenSet = true; m_exclusiveStartDeliveryStreamName.assign(value); } /** *

The list of delivery streams returned by this call to * ListDeliveryStreams will start with the delivery stream whose name * comes alphabetically immediately after the name you specify in * ExclusiveStartDeliveryStreamName.

*/ inline ListDeliveryStreamsRequest& WithExclusiveStartDeliveryStreamName(const Aws::String& value) { SetExclusiveStartDeliveryStreamName(value); return *this;} /** *

The list of delivery streams returned by this call to * ListDeliveryStreams will start with the delivery stream whose name * comes alphabetically immediately after the name you specify in * ExclusiveStartDeliveryStreamName.

*/ inline ListDeliveryStreamsRequest& WithExclusiveStartDeliveryStreamName(Aws::String&& value) { SetExclusiveStartDeliveryStreamName(std::move(value)); return *this;} /** *

The list of delivery streams returned by this call to * ListDeliveryStreams will start with the delivery stream whose name * comes alphabetically immediately after the name you specify in * ExclusiveStartDeliveryStreamName.

*/ inline ListDeliveryStreamsRequest& WithExclusiveStartDeliveryStreamName(const char* value) { SetExclusiveStartDeliveryStreamName(value); return *this;} private: int m_limit; bool m_limitHasBeenSet; DeliveryStreamType m_deliveryStreamType; bool m_deliveryStreamTypeHasBeenSet; Aws::String m_exclusiveStartDeliveryStreamName; bool m_exclusiveStartDeliveryStreamNameHasBeenSet; }; } // namespace Model } // namespace Firehose } // namespace Aws