/** * 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 IoTAnalytics { namespace Model { /** *

Configuration information for delivery of data set contents to AWS IoT * Events.

See Also:

AWS * API Reference

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

The name of the AWS IoT Events input to which data set contents are * delivered.

*/ inline const Aws::String& GetInputName() const{ return m_inputName; } /** *

The name of the AWS IoT Events input to which data set contents are * delivered.

*/ inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; } /** *

The name of the AWS IoT Events input to which data set contents are * delivered.

*/ inline void SetInputName(const Aws::String& value) { m_inputNameHasBeenSet = true; m_inputName = value; } /** *

The name of the AWS IoT Events input to which data set contents are * delivered.

*/ inline void SetInputName(Aws::String&& value) { m_inputNameHasBeenSet = true; m_inputName = std::move(value); } /** *

The name of the AWS IoT Events input to which data set contents are * delivered.

*/ inline void SetInputName(const char* value) { m_inputNameHasBeenSet = true; m_inputName.assign(value); } /** *

The name of the AWS IoT Events input to which data set contents are * delivered.

*/ inline IotEventsDestinationConfiguration& WithInputName(const Aws::String& value) { SetInputName(value); return *this;} /** *

The name of the AWS IoT Events input to which data set contents are * delivered.

*/ inline IotEventsDestinationConfiguration& WithInputName(Aws::String&& value) { SetInputName(std::move(value)); return *this;} /** *

The name of the AWS IoT Events input to which data set contents are * delivered.

*/ inline IotEventsDestinationConfiguration& WithInputName(const char* value) { SetInputName(value); return *this;} /** *

The ARN of the role which grants AWS IoT Analytics permission to deliver data * set contents to an AWS IoT Events input.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The ARN of the role which grants AWS IoT Analytics permission to deliver data * set contents to an AWS IoT Events input.

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

The ARN of the role which grants AWS IoT Analytics permission to deliver data * set contents to an AWS IoT Events input.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *

The ARN of the role which grants AWS IoT Analytics permission to deliver data * set contents to an AWS IoT Events input.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *

The ARN of the role which grants AWS IoT Analytics permission to deliver data * set contents to an AWS IoT Events input.

*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *

The ARN of the role which grants AWS IoT Analytics permission to deliver data * set contents to an AWS IoT Events input.

*/ inline IotEventsDestinationConfiguration& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The ARN of the role which grants AWS IoT Analytics permission to deliver data * set contents to an AWS IoT Events input.

*/ inline IotEventsDestinationConfiguration& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The ARN of the role which grants AWS IoT Analytics permission to deliver data * set contents to an AWS IoT Events input.

*/ inline IotEventsDestinationConfiguration& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: Aws::String m_inputName; bool m_inputNameHasBeenSet; Aws::String m_roleArn; bool m_roleArnHasBeenSet; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws