AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAlarmsRequest.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 ListAlarmsRequest();
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 "ListAlarms"; }
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 ListAlarmsRequest& WithAlarmModelName(const Aws::String& value) { SetAlarmModelName(value); return *this;}
51 inline ListAlarmsRequest& WithAlarmModelName(Aws::String&& value) { SetAlarmModelName(std::move(value)); return *this;}
52 inline ListAlarmsRequest& WithAlarmModelName(const char* value) { SetAlarmModelName(value); return *this;}
54
56
59 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
60 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
61 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
62 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
63 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
64 inline ListAlarmsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
65 inline ListAlarmsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
66 inline ListAlarmsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
68
70
73 inline int GetMaxResults() const{ return m_maxResults; }
74 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
76 inline ListAlarmsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78 private:
79
80 Aws::String m_alarmModelName;
81 bool m_alarmModelNameHasBeenSet = false;
82
83 Aws::String m_nextToken;
84 bool m_nextTokenHasBeenSet = false;
85
86 int m_maxResults;
87 bool m_maxResultsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace IoTEventsData
92} // namespace Aws
ListAlarmsRequest & WithAlarmModelName(const Aws::String &value)
void SetNextToken(const Aws::String &value)
ListAlarmsRequest & WithNextToken(Aws::String &&value)
ListAlarmsRequest & WithNextToken(const Aws::String &value)
void SetAlarmModelName(const Aws::String &value)
AWS_IOTEVENTSDATA_API Aws::String SerializePayload() const override
ListAlarmsRequest & WithAlarmModelName(Aws::String &&value)
AWS_IOTEVENTSDATA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
ListAlarmsRequest & WithAlarmModelName(const char *value)
ListAlarmsRequest & WithNextToken(const char *value)
ListAlarmsRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String