/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the detector (instance).See Also:
AWS
* API Reference
The name of the detector model that created this detector (instance).
*/ inline const Aws::String& GetDetectorModelName() const{ return m_detectorModelName; } /** *The name of the detector model that created this detector (instance).
*/ inline bool DetectorModelNameHasBeenSet() const { return m_detectorModelNameHasBeenSet; } /** *The name of the detector model that created this detector (instance).
*/ inline void SetDetectorModelName(const Aws::String& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = value; } /** *The name of the detector model that created this detector (instance).
*/ inline void SetDetectorModelName(Aws::String&& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = std::move(value); } /** *The name of the detector model that created this detector (instance).
*/ inline void SetDetectorModelName(const char* value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName.assign(value); } /** *The name of the detector model that created this detector (instance).
*/ inline Detector& WithDetectorModelName(const Aws::String& value) { SetDetectorModelName(value); return *this;} /** *The name of the detector model that created this detector (instance).
*/ inline Detector& WithDetectorModelName(Aws::String&& value) { SetDetectorModelName(std::move(value)); return *this;} /** *The name of the detector model that created this detector (instance).
*/ inline Detector& WithDetectorModelName(const char* value) { SetDetectorModelName(value); return *this;} /** *The value of the key (identifying the device or system) that caused the * creation of this detector (instance).
*/ inline const Aws::String& GetKeyValue() const{ return m_keyValue; } /** *The value of the key (identifying the device or system) that caused the * creation of this detector (instance).
*/ inline bool KeyValueHasBeenSet() const { return m_keyValueHasBeenSet; } /** *The value of the key (identifying the device or system) that caused the * creation of this detector (instance).
*/ inline void SetKeyValue(const Aws::String& value) { m_keyValueHasBeenSet = true; m_keyValue = value; } /** *The value of the key (identifying the device or system) that caused the * creation of this detector (instance).
*/ inline void SetKeyValue(Aws::String&& value) { m_keyValueHasBeenSet = true; m_keyValue = std::move(value); } /** *The value of the key (identifying the device or system) that caused the * creation of this detector (instance).
*/ inline void SetKeyValue(const char* value) { m_keyValueHasBeenSet = true; m_keyValue.assign(value); } /** *The value of the key (identifying the device or system) that caused the * creation of this detector (instance).
*/ inline Detector& WithKeyValue(const Aws::String& value) { SetKeyValue(value); return *this;} /** *The value of the key (identifying the device or system) that caused the * creation of this detector (instance).
*/ inline Detector& WithKeyValue(Aws::String&& value) { SetKeyValue(std::move(value)); return *this;} /** *The value of the key (identifying the device or system) that caused the * creation of this detector (instance).
*/ inline Detector& WithKeyValue(const char* value) { SetKeyValue(value); return *this;} /** *The version of the detector model that created this detector (instance).
*/ inline const Aws::String& GetDetectorModelVersion() const{ return m_detectorModelVersion; } /** *The version of the detector model that created this detector (instance).
*/ inline bool DetectorModelVersionHasBeenSet() const { return m_detectorModelVersionHasBeenSet; } /** *The version of the detector model that created this detector (instance).
*/ inline void SetDetectorModelVersion(const Aws::String& value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion = value; } /** *The version of the detector model that created this detector (instance).
*/ inline void SetDetectorModelVersion(Aws::String&& value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion = std::move(value); } /** *The version of the detector model that created this detector (instance).
*/ inline void SetDetectorModelVersion(const char* value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion.assign(value); } /** *The version of the detector model that created this detector (instance).
*/ inline Detector& WithDetectorModelVersion(const Aws::String& value) { SetDetectorModelVersion(value); return *this;} /** *The version of the detector model that created this detector (instance).
*/ inline Detector& WithDetectorModelVersion(Aws::String&& value) { SetDetectorModelVersion(std::move(value)); return *this;} /** *The version of the detector model that created this detector (instance).
*/ inline Detector& WithDetectorModelVersion(const char* value) { SetDetectorModelVersion(value); return *this;} /** *The current state of the detector (instance).
*/ inline const DetectorState& GetState() const{ return m_state; } /** *The current state of the detector (instance).
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The current state of the detector (instance).
*/ inline void SetState(const DetectorState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The current state of the detector (instance).
*/ inline void SetState(DetectorState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The current state of the detector (instance).
*/ inline Detector& WithState(const DetectorState& value) { SetState(value); return *this;} /** *The current state of the detector (instance).
*/ inline Detector& WithState(DetectorState&& value) { SetState(std::move(value)); return *this;} /** *The time the detector (instance) was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The time the detector (instance) was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The time the detector (instance) was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The time the detector (instance) was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The time the detector (instance) was created.
*/ inline Detector& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The time the detector (instance) was created.
*/ inline Detector& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The time the detector (instance) was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *The time the detector (instance) was last updated.
*/ inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } /** *The time the detector (instance) was last updated.
*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; } /** *The time the detector (instance) was last updated.
*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); } /** *The time the detector (instance) was last updated.
*/ inline Detector& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *The time the detector (instance) was last updated.
*/ inline Detector& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} private: Aws::String m_detectorModelName; bool m_detectorModelNameHasBeenSet = false; Aws::String m_keyValue; bool m_keyValueHasBeenSet = false; Aws::String m_detectorModelVersion; bool m_detectorModelVersionHasBeenSet = false; DetectorState m_state; bool m_stateHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateTime; bool m_lastUpdateTimeHasBeenSet = false; }; } // namespace Model } // namespace IoTEventsData } // namespace Aws