/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Identifies an Amazon Kinesis stream as the streaming source. You provide the
* 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 Amazon Kinesis stream to read.
*/ inline const Aws::String& GetResourceARN() const{ return m_resourceARN; } /** *ARN of the input Amazon Kinesis stream to read.
*/ inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; } /** *ARN of the input Amazon Kinesis stream to read.
*/ inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; } /** *ARN of the input Amazon Kinesis stream to read.
*/ inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); } /** *ARN of the input Amazon Kinesis stream to read.
*/ inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); } /** *ARN of the input Amazon Kinesis stream to read.
*/ inline KinesisStreamsInput& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;} /** *ARN of the input Amazon Kinesis stream to read.
*/ inline KinesisStreamsInput& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;} /** *ARN of the input Amazon Kinesis stream to read.
*/ inline KinesisStreamsInput& 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 grant the necessary permissions to this * role.
*/ 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 grant the necessary permissions to this * role.
*/ 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 grant the necessary permissions to this * role.
*/ 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 grant the necessary permissions to this * role.
*/ 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 grant the necessary permissions to this * role.
*/ 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 grant the necessary permissions to this * role.
*/ inline KinesisStreamsInput& 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 grant the necessary permissions to this * role.
*/ inline KinesisStreamsInput& 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 grant the necessary permissions to this * role.
*/ inline KinesisStreamsInput& 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