/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the details of the consumer you registered. This
* type of object is returned by RegisterStreamConsumer.See
* Also:
AWS
* API Reference
The name of the consumer is something you choose when you register the * consumer.
*/ inline const Aws::String& GetConsumerName() const{ return m_consumerName; } /** *The name of the consumer is something you choose when you register the * consumer.
*/ inline bool ConsumerNameHasBeenSet() const { return m_consumerNameHasBeenSet; } /** *The name of the consumer is something you choose when you register the * consumer.
*/ inline void SetConsumerName(const Aws::String& value) { m_consumerNameHasBeenSet = true; m_consumerName = value; } /** *The name of the consumer is something you choose when you register the * consumer.
*/ inline void SetConsumerName(Aws::String&& value) { m_consumerNameHasBeenSet = true; m_consumerName = std::move(value); } /** *The name of the consumer is something you choose when you register the * consumer.
*/ inline void SetConsumerName(const char* value) { m_consumerNameHasBeenSet = true; m_consumerName.assign(value); } /** *The name of the consumer is something you choose when you register the * consumer.
*/ inline Consumer& WithConsumerName(const Aws::String& value) { SetConsumerName(value); return *this;} /** *The name of the consumer is something you choose when you register the * consumer.
*/ inline Consumer& WithConsumerName(Aws::String&& value) { SetConsumerName(std::move(value)); return *this;} /** *The name of the consumer is something you choose when you register the * consumer.
*/ inline Consumer& WithConsumerName(const char* value) { SetConsumerName(value); return *this;} /** *When you register a consumer, Kinesis Data Streams generates an ARN for it. * You need this ARN to be able to call SubscribeToShard.
If you * delete a consumer and then create a new one with the same name, it won't have * the same ARN. That's because consumer ARNs contain the creation timestamp. This * is important to keep in mind if you have IAM policies that reference consumer * ARNs.
*/ inline const Aws::String& GetConsumerARN() const{ return m_consumerARN; } /** *When you register a consumer, Kinesis Data Streams generates an ARN for it. * You need this ARN to be able to call SubscribeToShard.
If you * delete a consumer and then create a new one with the same name, it won't have * the same ARN. That's because consumer ARNs contain the creation timestamp. This * is important to keep in mind if you have IAM policies that reference consumer * ARNs.
*/ inline bool ConsumerARNHasBeenSet() const { return m_consumerARNHasBeenSet; } /** *When you register a consumer, Kinesis Data Streams generates an ARN for it. * You need this ARN to be able to call SubscribeToShard.
If you * delete a consumer and then create a new one with the same name, it won't have * the same ARN. That's because consumer ARNs contain the creation timestamp. This * is important to keep in mind if you have IAM policies that reference consumer * ARNs.
*/ inline void SetConsumerARN(const Aws::String& value) { m_consumerARNHasBeenSet = true; m_consumerARN = value; } /** *When you register a consumer, Kinesis Data Streams generates an ARN for it. * You need this ARN to be able to call SubscribeToShard.
If you * delete a consumer and then create a new one with the same name, it won't have * the same ARN. That's because consumer ARNs contain the creation timestamp. This * is important to keep in mind if you have IAM policies that reference consumer * ARNs.
*/ inline void SetConsumerARN(Aws::String&& value) { m_consumerARNHasBeenSet = true; m_consumerARN = std::move(value); } /** *When you register a consumer, Kinesis Data Streams generates an ARN for it. * You need this ARN to be able to call SubscribeToShard.
If you * delete a consumer and then create a new one with the same name, it won't have * the same ARN. That's because consumer ARNs contain the creation timestamp. This * is important to keep in mind if you have IAM policies that reference consumer * ARNs.
*/ inline void SetConsumerARN(const char* value) { m_consumerARNHasBeenSet = true; m_consumerARN.assign(value); } /** *When you register a consumer, Kinesis Data Streams generates an ARN for it. * You need this ARN to be able to call SubscribeToShard.
If you * delete a consumer and then create a new one with the same name, it won't have * the same ARN. That's because consumer ARNs contain the creation timestamp. This * is important to keep in mind if you have IAM policies that reference consumer * ARNs.
*/ inline Consumer& WithConsumerARN(const Aws::String& value) { SetConsumerARN(value); return *this;} /** *When you register a consumer, Kinesis Data Streams generates an ARN for it. * You need this ARN to be able to call SubscribeToShard.
If you * delete a consumer and then create a new one with the same name, it won't have * the same ARN. That's because consumer ARNs contain the creation timestamp. This * is important to keep in mind if you have IAM policies that reference consumer * ARNs.
*/ inline Consumer& WithConsumerARN(Aws::String&& value) { SetConsumerARN(std::move(value)); return *this;} /** *When you register a consumer, Kinesis Data Streams generates an ARN for it. * You need this ARN to be able to call SubscribeToShard.
If you * delete a consumer and then create a new one with the same name, it won't have * the same ARN. That's because consumer ARNs contain the creation timestamp. This * is important to keep in mind if you have IAM policies that reference consumer * ARNs.
*/ inline Consumer& WithConsumerARN(const char* value) { SetConsumerARN(value); return *this;} /** *A consumer can't read data while in the CREATING
or
* DELETING
states.
A consumer can't read data while in the CREATING
or
* DELETING
states.
A consumer can't read data while in the CREATING
or
* DELETING
states.
A consumer can't read data while in the CREATING
or
* DELETING
states.
A consumer can't read data while in the CREATING
or
* DELETING
states.
A consumer can't read data while in the CREATING
or
* DELETING
states.