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

Information used to delete the detector model.

See Also:

AWS * API Reference

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

The ID to assign to the DeleteDetectorRequest. Each * "messageId" must be unique within each batch sent.

*/ inline const Aws::String& GetMessageId() const{ return m_messageId; } /** *

The ID to assign to the DeleteDetectorRequest. Each * "messageId" must be unique within each batch sent.

*/ inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; } /** *

The ID to assign to the DeleteDetectorRequest. Each * "messageId" must be unique within each batch sent.

*/ inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; } /** *

The ID to assign to the DeleteDetectorRequest. Each * "messageId" must be unique within each batch sent.

*/ inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); } /** *

The ID to assign to the DeleteDetectorRequest. Each * "messageId" must be unique within each batch sent.

*/ inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); } /** *

The ID to assign to the DeleteDetectorRequest. Each * "messageId" must be unique within each batch sent.

*/ inline DeleteDetectorRequest& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;} /** *

The ID to assign to the DeleteDetectorRequest. Each * "messageId" must be unique within each batch sent.

*/ inline DeleteDetectorRequest& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;} /** *

The ID to assign to the DeleteDetectorRequest. Each * "messageId" must be unique within each batch sent.

*/ inline DeleteDetectorRequest& WithMessageId(const char* value) { SetMessageId(value); return *this;} /** *

The name of the detector model that was used to create the detector * instance.

*/ inline const Aws::String& GetDetectorModelName() const{ return m_detectorModelName; } /** *

The name of the detector model that was used to create the detector * instance.

*/ inline bool DetectorModelNameHasBeenSet() const { return m_detectorModelNameHasBeenSet; } /** *

The name of the detector model that was used to create the detector * instance.

*/ inline void SetDetectorModelName(const Aws::String& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = value; } /** *

The name of the detector model that was used to create the detector * instance.

*/ inline void SetDetectorModelName(Aws::String&& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = std::move(value); } /** *

The name of the detector model that was used to create the detector * instance.

*/ inline void SetDetectorModelName(const char* value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName.assign(value); } /** *

The name of the detector model that was used to create the detector * instance.

*/ inline DeleteDetectorRequest& WithDetectorModelName(const Aws::String& value) { SetDetectorModelName(value); return *this;} /** *

The name of the detector model that was used to create the detector * instance.

*/ inline DeleteDetectorRequest& WithDetectorModelName(Aws::String&& value) { SetDetectorModelName(std::move(value)); return *this;} /** *

The name of the detector model that was used to create the detector * instance.

*/ inline DeleteDetectorRequest& WithDetectorModelName(const char* value) { SetDetectorModelName(value); return *this;} /** *

The value of the key * used to identify the detector.

*/ inline const Aws::String& GetKeyValue() const{ return m_keyValue; } /** *

The value of the key * used to identify the detector.

*/ inline bool KeyValueHasBeenSet() const { return m_keyValueHasBeenSet; } /** *

The value of the key * used to identify the detector.

*/ inline void SetKeyValue(const Aws::String& value) { m_keyValueHasBeenSet = true; m_keyValue = value; } /** *

The value of the key * used to identify the detector.

*/ inline void SetKeyValue(Aws::String&& value) { m_keyValueHasBeenSet = true; m_keyValue = std::move(value); } /** *

The value of the key * used to identify the detector.

*/ inline void SetKeyValue(const char* value) { m_keyValueHasBeenSet = true; m_keyValue.assign(value); } /** *

The value of the key * used to identify the detector.

*/ inline DeleteDetectorRequest& WithKeyValue(const Aws::String& value) { SetKeyValue(value); return *this;} /** *

The value of the key * used to identify the detector.

*/ inline DeleteDetectorRequest& WithKeyValue(Aws::String&& value) { SetKeyValue(std::move(value)); return *this;} /** *

The value of the key * used to identify the detector.

*/ inline DeleteDetectorRequest& WithKeyValue(const char* value) { SetKeyValue(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; }; } // namespace Model } // namespace IoTEventsData } // namespace Aws