AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAlarmModelRequest.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/iotevents/IoTEventsRequest.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 IoTEvents
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_IOTEVENTS_API DescribeAlarmModelRequest();
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 "DescribeAlarmModel"; }
35
36 AWS_IOTEVENTS_API Aws::String SerializePayload() const override;
37
38 AWS_IOTEVENTS_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 DescribeAlarmModelRequest& WithAlarmModelName(const Aws::String& value) { SetAlarmModelName(value); return *this;}
51 inline DescribeAlarmModelRequest& WithAlarmModelName(Aws::String&& value) { SetAlarmModelName(std::move(value)); return *this;}
52 inline DescribeAlarmModelRequest& WithAlarmModelName(const char* value) { SetAlarmModelName(value); return *this;}
54
56
59 inline const Aws::String& GetAlarmModelVersion() const{ return m_alarmModelVersion; }
60 inline bool AlarmModelVersionHasBeenSet() const { return m_alarmModelVersionHasBeenSet; }
61 inline void SetAlarmModelVersion(const Aws::String& value) { m_alarmModelVersionHasBeenSet = true; m_alarmModelVersion = value; }
62 inline void SetAlarmModelVersion(Aws::String&& value) { m_alarmModelVersionHasBeenSet = true; m_alarmModelVersion = std::move(value); }
63 inline void SetAlarmModelVersion(const char* value) { m_alarmModelVersionHasBeenSet = true; m_alarmModelVersion.assign(value); }
65 inline DescribeAlarmModelRequest& WithAlarmModelVersion(Aws::String&& value) { SetAlarmModelVersion(std::move(value)); return *this;}
66 inline DescribeAlarmModelRequest& WithAlarmModelVersion(const char* value) { SetAlarmModelVersion(value); return *this;}
68 private:
69
70 Aws::String m_alarmModelName;
71 bool m_alarmModelNameHasBeenSet = false;
72
73 Aws::String m_alarmModelVersion;
74 bool m_alarmModelVersionHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoTEvents
79} // namespace Aws
DescribeAlarmModelRequest & WithAlarmModelVersion(const char *value)
DescribeAlarmModelRequest & WithAlarmModelVersion(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_IOTEVENTS_API Aws::String SerializePayload() const override
AWS_IOTEVENTS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeAlarmModelRequest & WithAlarmModelName(const char *value)
DescribeAlarmModelRequest & WithAlarmModelName(Aws::String &&value)
DescribeAlarmModelRequest & WithAlarmModelName(const Aws::String &value)
DescribeAlarmModelRequest & WithAlarmModelVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String