AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAlarmRequest.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 DescribeAlarmRequest();
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 "DescribeAlarm"; }
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
45 inline const Aws::String& GetAlarmModelName() const{ return m_alarmModelName; }
46 inline bool AlarmModelNameHasBeenSet() const { return m_alarmModelNameHasBeenSet; }
47 inline void SetAlarmModelName(const Aws::String& value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName = value; }
48 inline void SetAlarmModelName(Aws::String&& value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName = std::move(value); }
49 inline void SetAlarmModelName(const char* value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName.assign(value); }
50 inline DescribeAlarmRequest& WithAlarmModelName(const Aws::String& value) { SetAlarmModelName(value); return *this;}
51 inline DescribeAlarmRequest& WithAlarmModelName(Aws::String&& value) { SetAlarmModelName(std::move(value)); return *this;}
52 inline DescribeAlarmRequest& WithAlarmModelName(const char* value) { SetAlarmModelName(value); return *this;}
54
56
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 DescribeAlarmRequest& WithKeyValue(const Aws::String& value) { SetKeyValue(value); return *this;}
67 inline DescribeAlarmRequest& WithKeyValue(Aws::String&& value) { SetKeyValue(std::move(value)); return *this;}
68 inline DescribeAlarmRequest& WithKeyValue(const char* value) { SetKeyValue(value); return *this;}
70 private:
71
72 Aws::String m_alarmModelName;
73 bool m_alarmModelNameHasBeenSet = false;
74
75 Aws::String m_keyValue;
76 bool m_keyValueHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace IoTEventsData
81} // namespace Aws
DescribeAlarmRequest & WithAlarmModelName(const char *value)
DescribeAlarmRequest & WithKeyValue(const char *value)
DescribeAlarmRequest & WithKeyValue(Aws::String &&value)
DescribeAlarmRequest & WithAlarmModelName(const Aws::String &value)
AWS_IOTEVENTSDATA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeAlarmRequest & WithAlarmModelName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DescribeAlarmRequest & WithKeyValue(const Aws::String &value)
AWS_IOTEVENTSDATA_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String