/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Firehose { namespace Model { /** *

The stream and role Amazon Resource Names (ARNs) for a Kinesis data stream * used as the source for a delivery stream.

See Also:

AWS * API Reference

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

The 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 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 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 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 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 ARN of the source Kinesis data stream. For more information, see Amazon * Kinesis Data Streams ARN Format.

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

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

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

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

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

The ARN of the role that provides access to 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 that provides access to 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 that provides access to 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 that provides access to 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 that provides access to 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 that provides access to the source Kinesis data stream. * For more information, see AWS * Identity and Access Management (IAM) ARN Format.

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

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

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

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

*/ inline KinesisStreamSourceConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;} private: Aws::String m_kinesisStreamARN; bool m_kinesisStreamARNHasBeenSet; Aws::String m_roleARN; bool m_roleARNHasBeenSet; }; } // namespace Model } // namespace Firehose } // namespace Aws