/** * 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 { /** *

Information about the input.

See Also:

AWS API * Reference

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

Information about the configuration of an input.

*/ inline const InputConfiguration& GetInputConfiguration() const{ return m_inputConfiguration; } /** *

Information about the configuration of an input.

*/ inline bool InputConfigurationHasBeenSet() const { return m_inputConfigurationHasBeenSet; } /** *

Information about the configuration of an input.

*/ inline void SetInputConfiguration(const InputConfiguration& value) { m_inputConfigurationHasBeenSet = true; m_inputConfiguration = value; } /** *

Information about the configuration of an input.

*/ inline void SetInputConfiguration(InputConfiguration&& value) { m_inputConfigurationHasBeenSet = true; m_inputConfiguration = std::move(value); } /** *

Information about the configuration of an input.

*/ inline Input& WithInputConfiguration(const InputConfiguration& value) { SetInputConfiguration(value); return *this;} /** *

Information about the configuration of an input.

*/ inline Input& WithInputConfiguration(InputConfiguration&& value) { SetInputConfiguration(std::move(value)); return *this;} /** *

The definition of the input.

*/ inline const InputDefinition& GetInputDefinition() const{ return m_inputDefinition; } /** *

The definition of the input.

*/ inline bool InputDefinitionHasBeenSet() const { return m_inputDefinitionHasBeenSet; } /** *

The definition of the input.

*/ inline void SetInputDefinition(const InputDefinition& value) { m_inputDefinitionHasBeenSet = true; m_inputDefinition = value; } /** *

The definition of the input.

*/ inline void SetInputDefinition(InputDefinition&& value) { m_inputDefinitionHasBeenSet = true; m_inputDefinition = std::move(value); } /** *

The definition of the input.

*/ inline Input& WithInputDefinition(const InputDefinition& value) { SetInputDefinition(value); return *this;} /** *

The definition of the input.

*/ inline Input& WithInputDefinition(InputDefinition&& value) { SetInputDefinition(std::move(value)); return *this;} private: InputConfiguration m_inputConfiguration; bool m_inputConfigurationHasBeenSet = false; InputDefinition m_inputDefinition; bool m_inputDefinitionHasBeenSet = false; }; } // namespace Model } // namespace IoTEvents } // namespace Aws