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

The forwarding configuration for a given property.

See Also:

* AWS * API Reference

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

The forwarding state for the given property.

*/ inline const ForwardingConfigState& GetState() const{ return m_state; } /** *

The forwarding state for the given property.

*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *

The forwarding state for the given property.

*/ inline void SetState(const ForwardingConfigState& value) { m_stateHasBeenSet = true; m_state = value; } /** *

The forwarding state for the given property.

*/ inline void SetState(ForwardingConfigState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *

The forwarding state for the given property.

*/ inline ForwardingConfig& WithState(const ForwardingConfigState& value) { SetState(value); return *this;} /** *

The forwarding state for the given property.

*/ inline ForwardingConfig& WithState(ForwardingConfigState&& value) { SetState(std::move(value)); return *this;} private: ForwardingConfigState m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws