/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information used to update the detector (instance).See Also:
* AWS
* API Reference
The ID to assign to the detector update "message"
. Each
* "messageId"
must be unique within each batch sent.
The ID to assign to the detector update "message"
. Each
* "messageId"
must be unique within each batch sent.
The ID to assign to the detector update "message"
. Each
* "messageId"
must be unique within each batch sent.
The ID to assign to the detector update "message"
. Each
* "messageId"
must be unique within each batch sent.
The ID to assign to the detector update "message"
. Each
* "messageId"
must be unique within each batch sent.
The ID to assign to the detector update "message"
. Each
* "messageId"
must be unique within each batch sent.
The ID to assign to the detector update "message"
. Each
* "messageId"
must be unique within each batch sent.
The ID to assign to the detector update "message"
. Each
* "messageId"
must be unique within each batch sent.
The name of the detector model that created the detectors (instances).
*/ inline const Aws::String& GetDetectorModelName() const{ return m_detectorModelName; } /** *The name of the detector model that created the detectors (instances).
*/ inline bool DetectorModelNameHasBeenSet() const { return m_detectorModelNameHasBeenSet; } /** *The name of the detector model that created the detectors (instances).
*/ inline void SetDetectorModelName(const Aws::String& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = value; } /** *The name of the detector model that created the detectors (instances).
*/ inline void SetDetectorModelName(Aws::String&& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = std::move(value); } /** *The name of the detector model that created the detectors (instances).
*/ inline void SetDetectorModelName(const char* value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName.assign(value); } /** *The name of the detector model that created the detectors (instances).
*/ inline UpdateDetectorRequest& WithDetectorModelName(const Aws::String& value) { SetDetectorModelName(value); return *this;} /** *The name of the detector model that created the detectors (instances).
*/ inline UpdateDetectorRequest& WithDetectorModelName(Aws::String&& value) { SetDetectorModelName(std::move(value)); return *this;} /** *The name of the detector model that created the detectors (instances).
*/ inline UpdateDetectorRequest& WithDetectorModelName(const char* value) { SetDetectorModelName(value); return *this;} /** *The value of the input key attribute (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 input key attribute (identifying the device or system) that * caused the creation of this detector (instance).
*/ inline bool KeyValueHasBeenSet() const { return m_keyValueHasBeenSet; } /** *The value of the input key attribute (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 input key attribute (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 input key attribute (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 input key attribute (identifying the device or system) that * caused the creation of this detector (instance).
*/ inline UpdateDetectorRequest& WithKeyValue(const Aws::String& value) { SetKeyValue(value); return *this;} /** *The value of the input key attribute (identifying the device or system) that * caused the creation of this detector (instance).
*/ inline UpdateDetectorRequest& WithKeyValue(Aws::String&& value) { SetKeyValue(std::move(value)); return *this;} /** *The value of the input key attribute (identifying the device or system) that * caused the creation of this detector (instance).
*/ inline UpdateDetectorRequest& WithKeyValue(const char* value) { SetKeyValue(value); return *this;} /** *The new state, variable values, and timer settings of the detector * (instance).
*/ inline const DetectorStateDefinition& GetState() const{ return m_state; } /** *The new state, variable values, and timer settings of the detector * (instance).
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The new state, variable values, and timer settings of the detector * (instance).
*/ inline void SetState(const DetectorStateDefinition& value) { m_stateHasBeenSet = true; m_state = value; } /** *The new state, variable values, and timer settings of the detector * (instance).
*/ inline void SetState(DetectorStateDefinition&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The new state, variable values, and timer settings of the detector * (instance).
*/ inline UpdateDetectorRequest& WithState(const DetectorStateDefinition& value) { SetState(value); return *this;} /** *The new state, variable values, and timer settings of the detector * (instance).
*/ inline UpdateDetectorRequest& WithState(DetectorStateDefinition&& value) { SetState(std::move(value)); return *this;} private: Aws::String m_messageId; bool m_messageIdHasBeenSet = false; Aws::String m_detectorModelName; bool m_detectorModelNameHasBeenSet = false; Aws::String m_keyValue; bool m_keyValueHasBeenSet = false; DetectorStateDefinition m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace IoTEventsData } // namespace Aws