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

The identifer of the input.

See Also:

AWS * API Reference

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

The identifier of the input routed to AWS IoT Events.

*/ inline const IotEventsInputIdentifier& GetIotEventsInputIdentifier() const{ return m_iotEventsInputIdentifier; } /** *

The identifier of the input routed to AWS IoT Events.

*/ inline bool IotEventsInputIdentifierHasBeenSet() const { return m_iotEventsInputIdentifierHasBeenSet; } /** *

The identifier of the input routed to AWS IoT Events.

*/ inline void SetIotEventsInputIdentifier(const IotEventsInputIdentifier& value) { m_iotEventsInputIdentifierHasBeenSet = true; m_iotEventsInputIdentifier = value; } /** *

The identifier of the input routed to AWS IoT Events.

*/ inline void SetIotEventsInputIdentifier(IotEventsInputIdentifier&& value) { m_iotEventsInputIdentifierHasBeenSet = true; m_iotEventsInputIdentifier = std::move(value); } /** *

The identifier of the input routed to AWS IoT Events.

*/ inline InputIdentifier& WithIotEventsInputIdentifier(const IotEventsInputIdentifier& value) { SetIotEventsInputIdentifier(value); return *this;} /** *

The identifier of the input routed to AWS IoT Events.

*/ inline InputIdentifier& WithIotEventsInputIdentifier(IotEventsInputIdentifier&& value) { SetIotEventsInputIdentifier(std::move(value)); return *this;} /** *

The identifer of the input routed from AWS IoT SiteWise.

*/ inline const IotSiteWiseInputIdentifier& GetIotSiteWiseInputIdentifier() const{ return m_iotSiteWiseInputIdentifier; } /** *

The identifer of the input routed from AWS IoT SiteWise.

*/ inline bool IotSiteWiseInputIdentifierHasBeenSet() const { return m_iotSiteWiseInputIdentifierHasBeenSet; } /** *

The identifer of the input routed from AWS IoT SiteWise.

*/ inline void SetIotSiteWiseInputIdentifier(const IotSiteWiseInputIdentifier& value) { m_iotSiteWiseInputIdentifierHasBeenSet = true; m_iotSiteWiseInputIdentifier = value; } /** *

The identifer of the input routed from AWS IoT SiteWise.

*/ inline void SetIotSiteWiseInputIdentifier(IotSiteWiseInputIdentifier&& value) { m_iotSiteWiseInputIdentifierHasBeenSet = true; m_iotSiteWiseInputIdentifier = std::move(value); } /** *

The identifer of the input routed from AWS IoT SiteWise.

*/ inline InputIdentifier& WithIotSiteWiseInputIdentifier(const IotSiteWiseInputIdentifier& value) { SetIotSiteWiseInputIdentifier(value); return *this;} /** *

The identifer of the input routed from AWS IoT SiteWise.

*/ inline InputIdentifier& WithIotSiteWiseInputIdentifier(IotSiteWiseInputIdentifier&& value) { SetIotSiteWiseInputIdentifier(std::move(value)); return *this;} private: IotEventsInputIdentifier m_iotEventsInputIdentifier; bool m_iotEventsInputIdentifierHasBeenSet = false; IotSiteWiseInputIdentifier m_iotSiteWiseInputIdentifier; bool m_iotSiteWiseInputIdentifierHasBeenSet = false; }; } // namespace Model } // namespace IoTEvents } // namespace Aws