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

Information about a signal.

See Also:

AWS * API Reference

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

The name of the signal.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the signal.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the signal.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the signal.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the signal.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the signal.

*/ inline SignalInformation& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the signal.

*/ inline SignalInformation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the signal.

*/ inline SignalInformation& WithName(const char* value) { SetName(value); return *this;} /** *

The maximum number of samples to collect.

*/ inline long long GetMaxSampleCount() const{ return m_maxSampleCount; } /** *

The maximum number of samples to collect.

*/ inline bool MaxSampleCountHasBeenSet() const { return m_maxSampleCountHasBeenSet; } /** *

The maximum number of samples to collect.

*/ inline void SetMaxSampleCount(long long value) { m_maxSampleCountHasBeenSet = true; m_maxSampleCount = value; } /** *

The maximum number of samples to collect.

*/ inline SignalInformation& WithMaxSampleCount(long long value) { SetMaxSampleCount(value); return *this;} /** *

The minimum duration of time (in milliseconds) between two triggering events * to collect data.

If a signal changes often, you might want to * collect data at a slower rate.

*/ inline long long GetMinimumSamplingIntervalMs() const{ return m_minimumSamplingIntervalMs; } /** *

The minimum duration of time (in milliseconds) between two triggering events * to collect data.

If a signal changes often, you might want to * collect data at a slower rate.

*/ inline bool MinimumSamplingIntervalMsHasBeenSet() const { return m_minimumSamplingIntervalMsHasBeenSet; } /** *

The minimum duration of time (in milliseconds) between two triggering events * to collect data.

If a signal changes often, you might want to * collect data at a slower rate.

*/ inline void SetMinimumSamplingIntervalMs(long long value) { m_minimumSamplingIntervalMsHasBeenSet = true; m_minimumSamplingIntervalMs = value; } /** *

The minimum duration of time (in milliseconds) between two triggering events * to collect data.

If a signal changes often, you might want to * collect data at a slower rate.

*/ inline SignalInformation& WithMinimumSamplingIntervalMs(long long value) { SetMinimumSamplingIntervalMs(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; long long m_maxSampleCount; bool m_maxSampleCountHasBeenSet = false; long long m_minimumSamplingIntervalMs; bool m_minimumSamplingIntervalMsHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws