/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Identifies an Amazon Kinesis Firehose delivery stream as the streaming
* source. You provide the delivery stream's Amazon Resource Name (ARN) and an IAM
* role ARN that enables Amazon Kinesis Analytics to access the stream on your
* behalf.See Also:
AWS
* API Reference
ARN of the input delivery stream.
*/ inline const Aws::String& GetResourceARN() const{ return m_resourceARN; } /** *ARN of the input delivery stream.
*/ inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; } /** *ARN of the input delivery stream.
*/ inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; } /** *ARN of the input delivery stream.
*/ inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); } /** *ARN of the input delivery stream.
*/ inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); } /** *ARN of the input delivery stream.
*/ inline KinesisFirehoseInput& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;} /** *ARN of the input delivery stream.
*/ inline KinesisFirehoseInput& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;} /** *ARN of the input delivery stream.
*/ inline KinesisFirehoseInput& WithResourceARN(const char* value) { SetResourceARN(value); return *this;} /** *ARN of the IAM role that Amazon Kinesis Analytics can assume to access the * stream on your behalf. You need to make sure that the role has the necessary * permissions to access the stream.
*/ inline const Aws::String& GetRoleARN() const{ return m_roleARN; } /** *ARN of the IAM role that Amazon Kinesis Analytics can assume to access the * stream on your behalf. You need to make sure that the role has the necessary * permissions to access the stream.
*/ inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; } /** *ARN of the IAM role that Amazon Kinesis Analytics can assume to access the * stream on your behalf. You need to make sure that the role has the necessary * permissions to access the stream.
*/ inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; } /** *ARN of the IAM role that Amazon Kinesis Analytics can assume to access the * stream on your behalf. You need to make sure that the role has the necessary * permissions to access the stream.
*/ inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); } /** *ARN of the IAM role that Amazon Kinesis Analytics can assume to access the * stream on your behalf. You need to make sure that the role has the necessary * permissions to access the stream.
*/ inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); } /** *ARN of the IAM role that Amazon Kinesis Analytics can assume to access the * stream on your behalf. You need to make sure that the role has the necessary * permissions to access the stream.
*/ inline KinesisFirehoseInput& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;} /** *ARN of the IAM role that Amazon Kinesis Analytics can assume to access the * stream on your behalf. You need to make sure that the role has the necessary * permissions to access the stream.
*/ inline KinesisFirehoseInput& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;} /** *ARN of the IAM role that Amazon Kinesis Analytics can assume to access the * stream on your behalf. You need to make sure that the role has the necessary * permissions to access the stream.
*/ inline KinesisFirehoseInput& WithRoleARN(const char* value) { SetRoleARN(value); return *this;} private: Aws::String m_resourceARN; bool m_resourceARNHasBeenSet = false; Aws::String m_roleARN; bool m_roleARNHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalytics } // namespace Aws