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

The processing configuration for the given transform property. You can * configure transforms to be kept at the edge or forwarded to the Amazon Web * Services Cloud. You can also configure transforms to be computed at the edge or * in the cloud.

See Also:

AWS * API Reference

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

The compute location for the given transform property.

*/ inline const ComputeLocation& GetComputeLocation() const{ return m_computeLocation; } /** *

The compute location for the given transform property.

*/ inline bool ComputeLocationHasBeenSet() const { return m_computeLocationHasBeenSet; } /** *

The compute location for the given transform property.

*/ inline void SetComputeLocation(const ComputeLocation& value) { m_computeLocationHasBeenSet = true; m_computeLocation = value; } /** *

The compute location for the given transform property.

*/ inline void SetComputeLocation(ComputeLocation&& value) { m_computeLocationHasBeenSet = true; m_computeLocation = std::move(value); } /** *

The compute location for the given transform property.

*/ inline TransformProcessingConfig& WithComputeLocation(const ComputeLocation& value) { SetComputeLocation(value); return *this;} /** *

The compute location for the given transform property.

*/ inline TransformProcessingConfig& WithComputeLocation(ComputeLocation&& value) { SetComputeLocation(std::move(value)); return *this;} inline const ForwardingConfig& GetForwardingConfig() const{ return m_forwardingConfig; } inline bool ForwardingConfigHasBeenSet() const { return m_forwardingConfigHasBeenSet; } inline void SetForwardingConfig(const ForwardingConfig& value) { m_forwardingConfigHasBeenSet = true; m_forwardingConfig = value; } inline void SetForwardingConfig(ForwardingConfig&& value) { m_forwardingConfigHasBeenSet = true; m_forwardingConfig = std::move(value); } inline TransformProcessingConfig& WithForwardingConfig(const ForwardingConfig& value) { SetForwardingConfig(value); return *this;} inline TransformProcessingConfig& WithForwardingConfig(ForwardingConfig&& value) { SetForwardingConfig(std::move(value)); return *this;} private: ComputeLocation m_computeLocation; bool m_computeLocationHasBeenSet = false; ForwardingConfig m_forwardingConfig; bool m_forwardingConfigHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws