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

The name of the delivery stream.

*/ inline const Aws::String& GetDeliveryStreamName() const{ return m_deliveryStreamName; } /** *

The name of the delivery stream.

*/ inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; } /** *

The name of the delivery stream.

*/ inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; } /** *

The name of the delivery stream.

*/ inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::move(value); } /** *

The name of the delivery stream.

*/ inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); } /** *

The name of the delivery stream.

*/ inline DescribeDeliveryStreamRequest& WithDeliveryStreamName(const Aws::String& value) { SetDeliveryStreamName(value); return *this;} /** *

The name of the delivery stream.

*/ inline DescribeDeliveryStreamRequest& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(std::move(value)); return *this;} /** *

The name of the delivery stream.

*/ inline DescribeDeliveryStreamRequest& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(value); return *this;} /** *

The limit on the number of destinations to return. You can have one * destination per delivery stream.

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

The limit on the number of destinations to return. You can have one * destination per delivery stream.

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

The limit on the number of destinations to return. You can have one * destination per delivery stream.

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

The limit on the number of destinations to return. You can have one * destination per delivery stream.

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

The ID of the destination to start returning the destination information. * Kinesis Data Firehose supports one destination per delivery stream.

*/ inline const Aws::String& GetExclusiveStartDestinationId() const{ return m_exclusiveStartDestinationId; } /** *

The ID of the destination to start returning the destination information. * Kinesis Data Firehose supports one destination per delivery stream.

*/ inline bool ExclusiveStartDestinationIdHasBeenSet() const { return m_exclusiveStartDestinationIdHasBeenSet; } /** *

The ID of the destination to start returning the destination information. * Kinesis Data Firehose supports one destination per delivery stream.

*/ inline void SetExclusiveStartDestinationId(const Aws::String& value) { m_exclusiveStartDestinationIdHasBeenSet = true; m_exclusiveStartDestinationId = value; } /** *

The ID of the destination to start returning the destination information. * Kinesis Data Firehose supports one destination per delivery stream.

*/ inline void SetExclusiveStartDestinationId(Aws::String&& value) { m_exclusiveStartDestinationIdHasBeenSet = true; m_exclusiveStartDestinationId = std::move(value); } /** *

The ID of the destination to start returning the destination information. * Kinesis Data Firehose supports one destination per delivery stream.

*/ inline void SetExclusiveStartDestinationId(const char* value) { m_exclusiveStartDestinationIdHasBeenSet = true; m_exclusiveStartDestinationId.assign(value); } /** *

The ID of the destination to start returning the destination information. * Kinesis Data Firehose supports one destination per delivery stream.

*/ inline DescribeDeliveryStreamRequest& WithExclusiveStartDestinationId(const Aws::String& value) { SetExclusiveStartDestinationId(value); return *this;} /** *

The ID of the destination to start returning the destination information. * Kinesis Data Firehose supports one destination per delivery stream.

*/ inline DescribeDeliveryStreamRequest& WithExclusiveStartDestinationId(Aws::String&& value) { SetExclusiveStartDestinationId(std::move(value)); return *this;} /** *

The ID of the destination to start returning the destination information. * Kinesis Data Firehose supports one destination per delivery stream.

*/ inline DescribeDeliveryStreamRequest& WithExclusiveStartDestinationId(const char* value) { SetExclusiveStartDestinationId(value); return *this;} private: Aws::String m_deliveryStreamName; bool m_deliveryStreamNameHasBeenSet; int m_limit; bool m_limitHasBeenSet; Aws::String m_exclusiveStartDestinationId; bool m_exclusiveStartDestinationIdHasBeenSet; }; } // namespace Model } // namespace Firehose } // namespace Aws