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

The configuration is the TargetSamplingRate, which is the * sampling rate of the data after post processing by Amazon Lookout for Equipment. * For example, if you provide data that has been collected at a 1 second level and * you want the system to resample the data at a 1 minute rate before training, the * TargetSamplingRate is 1 minute.

When providing a value for * the TargetSamplingRate, you must attach the prefix "PT" to the rate * you want. The value for a 1 second rate is therefore PT1S, the value for * a 15 minute rate is PT15M, and the value for a 1 hour rate is PT1H *

See Also:

AWS * API Reference

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

The sampling rate of the data after post processing by Amazon Lookout for * Equipment. For example, if you provide data that has been collected at a 1 * second level and you want the system to resample the data at a 1 minute rate * before training, the TargetSamplingRate is 1 minute.

When * providing a value for the TargetSamplingRate, you must attach the * prefix "PT" to the rate you want. The value for a 1 second rate is therefore * PT1S, the value for a 15 minute rate is PT15M, and the value for a * 1 hour rate is PT1H

*/ inline const TargetSamplingRate& GetTargetSamplingRate() const{ return m_targetSamplingRate; } /** *

The sampling rate of the data after post processing by Amazon Lookout for * Equipment. For example, if you provide data that has been collected at a 1 * second level and you want the system to resample the data at a 1 minute rate * before training, the TargetSamplingRate is 1 minute.

When * providing a value for the TargetSamplingRate, you must attach the * prefix "PT" to the rate you want. The value for a 1 second rate is therefore * PT1S, the value for a 15 minute rate is PT15M, and the value for a * 1 hour rate is PT1H

*/ inline bool TargetSamplingRateHasBeenSet() const { return m_targetSamplingRateHasBeenSet; } /** *

The sampling rate of the data after post processing by Amazon Lookout for * Equipment. For example, if you provide data that has been collected at a 1 * second level and you want the system to resample the data at a 1 minute rate * before training, the TargetSamplingRate is 1 minute.

When * providing a value for the TargetSamplingRate, you must attach the * prefix "PT" to the rate you want. The value for a 1 second rate is therefore * PT1S, the value for a 15 minute rate is PT15M, and the value for a * 1 hour rate is PT1H

*/ inline void SetTargetSamplingRate(const TargetSamplingRate& value) { m_targetSamplingRateHasBeenSet = true; m_targetSamplingRate = value; } /** *

The sampling rate of the data after post processing by Amazon Lookout for * Equipment. For example, if you provide data that has been collected at a 1 * second level and you want the system to resample the data at a 1 minute rate * before training, the TargetSamplingRate is 1 minute.

When * providing a value for the TargetSamplingRate, you must attach the * prefix "PT" to the rate you want. The value for a 1 second rate is therefore * PT1S, the value for a 15 minute rate is PT15M, and the value for a * 1 hour rate is PT1H

*/ inline void SetTargetSamplingRate(TargetSamplingRate&& value) { m_targetSamplingRateHasBeenSet = true; m_targetSamplingRate = std::move(value); } /** *

The sampling rate of the data after post processing by Amazon Lookout for * Equipment. For example, if you provide data that has been collected at a 1 * second level and you want the system to resample the data at a 1 minute rate * before training, the TargetSamplingRate is 1 minute.

When * providing a value for the TargetSamplingRate, you must attach the * prefix "PT" to the rate you want. The value for a 1 second rate is therefore * PT1S, the value for a 15 minute rate is PT15M, and the value for a * 1 hour rate is PT1H

*/ inline DataPreProcessingConfiguration& WithTargetSamplingRate(const TargetSamplingRate& value) { SetTargetSamplingRate(value); return *this;} /** *

The sampling rate of the data after post processing by Amazon Lookout for * Equipment. For example, if you provide data that has been collected at a 1 * second level and you want the system to resample the data at a 1 minute rate * before training, the TargetSamplingRate is 1 minute.

When * providing a value for the TargetSamplingRate, you must attach the * prefix "PT" to the rate you want. The value for a 1 second rate is therefore * PT1S, the value for a 15 minute rate is PT15M, and the value for a * 1 hour rate is PT1H

*/ inline DataPreProcessingConfiguration& WithTargetSamplingRate(TargetSamplingRate&& value) { SetTargetSamplingRate(std::move(value)); return *this;} private: TargetSamplingRate m_targetSamplingRate; bool m_targetSamplingRateHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws