/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Firehose { namespace Model { /** *

Details about a Kinesis data stream used as the source for a Kinesis Data * Firehose delivery stream.

See Also:

AWS * API Reference

*/ class AWS_FIREHOSE_API KinesisStreamSourceDescription { public: KinesisStreamSourceDescription(); KinesisStreamSourceDescription(Aws::Utils::Json::JsonView jsonValue); KinesisStreamSourceDescription& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) of the source Kinesis data stream. For more * information, see Amazon * Kinesis Data Streams ARN Format.

*/ inline const Aws::String& GetKinesisStreamARN() const{ return m_kinesisStreamARN; } /** *

The Amazon Resource Name (ARN) of the source Kinesis data stream. For more * information, see Amazon * Kinesis Data Streams ARN Format.

*/ inline bool KinesisStreamARNHasBeenSet() const { return m_kinesisStreamARNHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the source Kinesis data stream. For more * information, see Amazon * Kinesis Data Streams ARN Format.

*/ inline void SetKinesisStreamARN(const Aws::String& value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN = value; } /** *

The Amazon Resource Name (ARN) of the source Kinesis data stream. For more * information, see Amazon * Kinesis Data Streams ARN Format.

*/ inline void SetKinesisStreamARN(Aws::String&& value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN = std::move(value); } /** *

The Amazon Resource Name (ARN) of the source Kinesis data stream. For more * information, see Amazon * Kinesis Data Streams ARN Format.

*/ inline void SetKinesisStreamARN(const char* value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN.assign(value); } /** *

The Amazon Resource Name (ARN) of the source Kinesis data stream. For more * information, see Amazon * Kinesis Data Streams ARN Format.

*/ inline KinesisStreamSourceDescription& WithKinesisStreamARN(const Aws::String& value) { SetKinesisStreamARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of the source Kinesis data stream. For more * information, see Amazon * Kinesis Data Streams ARN Format.

*/ inline KinesisStreamSourceDescription& WithKinesisStreamARN(Aws::String&& value) { SetKinesisStreamARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the source Kinesis data stream. For more * information, see Amazon * Kinesis Data Streams ARN Format.

*/ inline KinesisStreamSourceDescription& WithKinesisStreamARN(const char* value) { SetKinesisStreamARN(value); return *this;} /** *

The ARN of the role used by the source Kinesis data stream. For more * information, see AWS * Identity and Access Management (IAM) ARN Format.

*/ inline const Aws::String& GetRoleARN() const{ return m_roleARN; } /** *

The ARN of the role used by the source Kinesis data stream. For more * information, see AWS * Identity and Access Management (IAM) ARN Format.

*/ inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; } /** *

The ARN of the role used by the source Kinesis data stream. For more * information, see AWS * Identity and Access Management (IAM) ARN Format.

*/ inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; } /** *

The ARN of the role used by the source Kinesis data stream. For more * information, see AWS * Identity and Access Management (IAM) ARN Format.

*/ inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); } /** *

The ARN of the role used by the source Kinesis data stream. For more * information, see AWS * Identity and Access Management (IAM) ARN Format.

*/ inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); } /** *

The ARN of the role used by the source Kinesis data stream. For more * information, see AWS * Identity and Access Management (IAM) ARN Format.

*/ inline KinesisStreamSourceDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;} /** *

The ARN of the role used by the source Kinesis data stream. For more * information, see AWS * Identity and Access Management (IAM) ARN Format.

*/ inline KinesisStreamSourceDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;} /** *

The ARN of the role used by the source Kinesis data stream. For more * information, see AWS * Identity and Access Management (IAM) ARN Format.

*/ inline KinesisStreamSourceDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;} /** *

Kinesis Data Firehose starts retrieving records from the Kinesis data stream * starting with this timestamp.

*/ inline const Aws::Utils::DateTime& GetDeliveryStartTimestamp() const{ return m_deliveryStartTimestamp; } /** *

Kinesis Data Firehose starts retrieving records from the Kinesis data stream * starting with this timestamp.

*/ inline bool DeliveryStartTimestampHasBeenSet() const { return m_deliveryStartTimestampHasBeenSet; } /** *

Kinesis Data Firehose starts retrieving records from the Kinesis data stream * starting with this timestamp.

*/ inline void SetDeliveryStartTimestamp(const Aws::Utils::DateTime& value) { m_deliveryStartTimestampHasBeenSet = true; m_deliveryStartTimestamp = value; } /** *

Kinesis Data Firehose starts retrieving records from the Kinesis data stream * starting with this timestamp.

*/ inline void SetDeliveryStartTimestamp(Aws::Utils::DateTime&& value) { m_deliveryStartTimestampHasBeenSet = true; m_deliveryStartTimestamp = std::move(value); } /** *

Kinesis Data Firehose starts retrieving records from the Kinesis data stream * starting with this timestamp.

*/ inline KinesisStreamSourceDescription& WithDeliveryStartTimestamp(const Aws::Utils::DateTime& value) { SetDeliveryStartTimestamp(value); return *this;} /** *

Kinesis Data Firehose starts retrieving records from the Kinesis data stream * starting with this timestamp.

*/ inline KinesisStreamSourceDescription& WithDeliveryStartTimestamp(Aws::Utils::DateTime&& value) { SetDeliveryStartTimestamp(std::move(value)); return *this;} private: Aws::String m_kinesisStreamARN; bool m_kinesisStreamARNHasBeenSet; Aws::String m_roleARN; bool m_roleARNHasBeenSet; Aws::Utils::DateTime m_deliveryStartTimestamp; bool m_deliveryStartTimestampHasBeenSet; }; } // namespace Model } // namespace Firehose } // namespace Aws