AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDetectorRequest.h
1
6#pragma once
7#include <aws/iotevents-data/IoTEventsData_EXPORTS.h>
8#include <aws/iotevents-data/IoTEventsDataRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace IoTEventsData
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_IOTEVENTSDATA_API DescribeDetectorRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeDetector"; }
35
36 AWS_IOTEVENTSDATA_API Aws::String SerializePayload() const override;
37
38 AWS_IOTEVENTSDATA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
46 inline const Aws::String& GetDetectorModelName() const{ return m_detectorModelName; }
47 inline bool DetectorModelNameHasBeenSet() const { return m_detectorModelNameHasBeenSet; }
48 inline void SetDetectorModelName(const Aws::String& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = value; }
49 inline void SetDetectorModelName(Aws::String&& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = std::move(value); }
50 inline void SetDetectorModelName(const char* value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName.assign(value); }
52 inline DescribeDetectorRequest& WithDetectorModelName(Aws::String&& value) { SetDetectorModelName(std::move(value)); return *this;}
53 inline DescribeDetectorRequest& WithDetectorModelName(const char* value) { SetDetectorModelName(value); return *this;}
55
57
61 inline const Aws::String& GetKeyValue() const{ return m_keyValue; }
62 inline bool KeyValueHasBeenSet() const { return m_keyValueHasBeenSet; }
63 inline void SetKeyValue(const Aws::String& value) { m_keyValueHasBeenSet = true; m_keyValue = value; }
64 inline void SetKeyValue(Aws::String&& value) { m_keyValueHasBeenSet = true; m_keyValue = std::move(value); }
65 inline void SetKeyValue(const char* value) { m_keyValueHasBeenSet = true; m_keyValue.assign(value); }
66 inline DescribeDetectorRequest& WithKeyValue(const Aws::String& value) { SetKeyValue(value); return *this;}
67 inline DescribeDetectorRequest& WithKeyValue(Aws::String&& value) { SetKeyValue(std::move(value)); return *this;}
68 inline DescribeDetectorRequest& WithKeyValue(const char* value) { SetKeyValue(value); return *this;}
70 private:
71
72 Aws::String m_detectorModelName;
73 bool m_detectorModelNameHasBeenSet = false;
74
75 Aws::String m_keyValue;
76 bool m_keyValueHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace IoTEventsData
81} // namespace Aws
virtual const char * GetServiceRequestName() const override
DescribeDetectorRequest & WithKeyValue(const char *value)
DescribeDetectorRequest & WithKeyValue(const Aws::String &value)
DescribeDetectorRequest & WithKeyValue(Aws::String &&value)
AWS_IOTEVENTSDATA_API Aws::String SerializePayload() const override
DescribeDetectorRequest & WithDetectorModelName(const Aws::String &value)
DescribeDetectorRequest & WithDetectorModelName(Aws::String &&value)
DescribeDetectorRequest & WithDetectorModelName(const char *value)
AWS_IOTEVENTSDATA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String