/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace IoTEventsData { namespace Model { /** */ class DescribeDetectorRequest : public IoTEventsDataRequest { public: AWS_IOTEVENTSDATA_API DescribeDetectorRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeDetector"; } AWS_IOTEVENTSDATA_API Aws::String SerializePayload() const override; AWS_IOTEVENTSDATA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The name of the detector model whose detectors (instances) you want * information about.

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

The name of the detector model whose detectors (instances) you want * information about.

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

The name of the detector model whose detectors (instances) you want * information about.

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

The name of the detector model whose detectors (instances) you want * information about.

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

The name of the detector model whose detectors (instances) you want * information about.

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

The name of the detector model whose detectors (instances) you want * information about.

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

The name of the detector model whose detectors (instances) you want * information about.

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

The name of the detector model whose detectors (instances) you want * information about.

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

A filter used to limit results to detectors (instances) created because of * the given key ID.

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

A filter used to limit results to detectors (instances) created because of * the given key ID.

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

A filter used to limit results to detectors (instances) created because of * the given key ID.

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

A filter used to limit results to detectors (instances) created because of * the given key ID.

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

A filter used to limit results to detectors (instances) created because of * the given key ID.

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

A filter used to limit results to detectors (instances) created because of * the given key ID.

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

A filter used to limit results to detectors (instances) created because of * the given key ID.

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

A filter used to limit results to detectors (instances) created because of * the given key ID.

*/ inline DescribeDetectorRequest& WithKeyValue(const char* value) { SetKeyValue(value); return *this;} private: Aws::String m_detectorModelName; bool m_detectorModelNameHasBeenSet = false; Aws::String m_keyValue; bool m_keyValueHasBeenSet = false; }; } // namespace Model } // namespace IoTEventsData } // namespace Aws