/** * 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 processing configuration for the given measurement property. You can * configure measurements to be kept at the edge or forwarded to the Amazon Web * Services Cloud. By default, measurements are forwarded to the * cloud.

See Also:

AWS * API Reference

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

The forwarding configuration for the given measurement property.

*/ inline const ForwardingConfig& GetForwardingConfig() const{ return m_forwardingConfig; } /** *

The forwarding configuration for the given measurement property.

*/ inline bool ForwardingConfigHasBeenSet() const { return m_forwardingConfigHasBeenSet; } /** *

The forwarding configuration for the given measurement property.

*/ inline void SetForwardingConfig(const ForwardingConfig& value) { m_forwardingConfigHasBeenSet = true; m_forwardingConfig = value; } /** *

The forwarding configuration for the given measurement property.

*/ inline void SetForwardingConfig(ForwardingConfig&& value) { m_forwardingConfigHasBeenSet = true; m_forwardingConfig = std::move(value); } /** *

The forwarding configuration for the given measurement property.

*/ inline MeasurementProcessingConfig& WithForwardingConfig(const ForwardingConfig& value) { SetForwardingConfig(value); return *this;} /** *

The forwarding configuration for the given measurement property.

*/ inline MeasurementProcessingConfig& WithForwardingConfig(ForwardingConfig&& value) { SetForwardingConfig(std::move(value)); return *this;} private: ForwardingConfig m_forwardingConfig; bool m_forwardingConfigHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws