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

The ARN of the Kinesis data stream that the consumer is registered with. For * more information, see Amazon * Resource Names (ARNs) and AWS Service Namespaces.

*/ inline const Aws::String& GetStreamARN() const{ return m_streamARN; } /** *

The ARN of the Kinesis data stream that the consumer is registered with. For * more information, see Amazon * Resource Names (ARNs) and AWS Service Namespaces.

*/ inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; } /** *

The ARN of the Kinesis data stream that the consumer is registered with. For * more information, see Amazon * Resource Names (ARNs) and AWS Service Namespaces.

*/ inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; } /** *

The ARN of the Kinesis data stream that the consumer is registered with. For * more information, see Amazon * Resource Names (ARNs) and AWS Service Namespaces.

*/ inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); } /** *

The ARN of the Kinesis data stream that the consumer is registered with. For * more information, see Amazon * Resource Names (ARNs) and AWS Service Namespaces.

*/ inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); } /** *

The ARN of the Kinesis data stream that the consumer is registered with. For * more information, see Amazon * Resource Names (ARNs) and AWS Service Namespaces.

*/ inline DescribeStreamConsumerRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;} /** *

The ARN of the Kinesis data stream that the consumer is registered with. For * more information, see Amazon * Resource Names (ARNs) and AWS Service Namespaces.

*/ inline DescribeStreamConsumerRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;} /** *

The ARN of the Kinesis data stream that the consumer is registered with. For * more information, see Amazon * Resource Names (ARNs) and AWS Service Namespaces.

*/ inline DescribeStreamConsumerRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;} /** *

The name that you gave to the consumer.

*/ inline const Aws::String& GetConsumerName() const{ return m_consumerName; } /** *

The name that you gave to the consumer.

*/ inline bool ConsumerNameHasBeenSet() const { return m_consumerNameHasBeenSet; } /** *

The name that you gave to the consumer.

*/ inline void SetConsumerName(const Aws::String& value) { m_consumerNameHasBeenSet = true; m_consumerName = value; } /** *

The name that you gave to the consumer.

*/ inline void SetConsumerName(Aws::String&& value) { m_consumerNameHasBeenSet = true; m_consumerName = std::move(value); } /** *

The name that you gave to the consumer.

*/ inline void SetConsumerName(const char* value) { m_consumerNameHasBeenSet = true; m_consumerName.assign(value); } /** *

The name that you gave to the consumer.

*/ inline DescribeStreamConsumerRequest& WithConsumerName(const Aws::String& value) { SetConsumerName(value); return *this;} /** *

The name that you gave to the consumer.

*/ inline DescribeStreamConsumerRequest& WithConsumerName(Aws::String&& value) { SetConsumerName(std::move(value)); return *this;} /** *

The name that you gave to the consumer.

*/ inline DescribeStreamConsumerRequest& WithConsumerName(const char* value) { SetConsumerName(value); return *this;} /** *

The ARN returned by Kinesis Data Streams when you registered the * consumer.

*/ inline const Aws::String& GetConsumerARN() const{ return m_consumerARN; } /** *

The ARN returned by Kinesis Data Streams when you registered the * consumer.

*/ inline bool ConsumerARNHasBeenSet() const { return m_consumerARNHasBeenSet; } /** *

The ARN returned by Kinesis Data Streams when you registered the * consumer.

*/ inline void SetConsumerARN(const Aws::String& value) { m_consumerARNHasBeenSet = true; m_consumerARN = value; } /** *

The ARN returned by Kinesis Data Streams when you registered the * consumer.

*/ inline void SetConsumerARN(Aws::String&& value) { m_consumerARNHasBeenSet = true; m_consumerARN = std::move(value); } /** *

The ARN returned by Kinesis Data Streams when you registered the * consumer.

*/ inline void SetConsumerARN(const char* value) { m_consumerARNHasBeenSet = true; m_consumerARN.assign(value); } /** *

The ARN returned by Kinesis Data Streams when you registered the * consumer.

*/ inline DescribeStreamConsumerRequest& WithConsumerARN(const Aws::String& value) { SetConsumerARN(value); return *this;} /** *

The ARN returned by Kinesis Data Streams when you registered the * consumer.

*/ inline DescribeStreamConsumerRequest& WithConsumerARN(Aws::String&& value) { SetConsumerARN(std::move(value)); return *this;} /** *

The ARN returned by Kinesis Data Streams when you registered the * consumer.

*/ inline DescribeStreamConsumerRequest& WithConsumerARN(const char* value) { SetConsumerARN(value); return *this;} private: Aws::String m_streamARN; bool m_streamARNHasBeenSet; Aws::String m_consumerName; bool m_consumerNameHasBeenSet; Aws::String m_consumerARN; bool m_consumerARNHasBeenSet; }; } // namespace Model } // namespace Kinesis } // namespace Aws