AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ListDetectorsRequest.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 ListDetectorsRequest() = default;
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 "ListDetectors"; }
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& GetDetectorModelName() const { return m_detectorModelName; }
46 inline bool DetectorModelNameHasBeenSet() const { return m_detectorModelNameHasBeenSet; }
47 template<typename DetectorModelNameT = Aws::String>
48 void SetDetectorModelName(DetectorModelNameT&& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = std::forward<DetectorModelNameT>(value); }
49 template<typename DetectorModelNameT = Aws::String>
50 ListDetectorsRequest& WithDetectorModelName(DetectorModelNameT&& value) { SetDetectorModelName(std::forward<DetectorModelNameT>(value)); return *this;}
52
54
58 inline const Aws::String& GetStateName() const { return m_stateName; }
59 inline bool StateNameHasBeenSet() const { return m_stateNameHasBeenSet; }
60 template<typename StateNameT = Aws::String>
61 void SetStateName(StateNameT&& value) { m_stateNameHasBeenSet = true; m_stateName = std::forward<StateNameT>(value); }
62 template<typename StateNameT = Aws::String>
63 ListDetectorsRequest& WithStateName(StateNameT&& value) { SetStateName(std::forward<StateNameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetNextToken() const { return m_nextToken; }
71 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
72 template<typename NextTokenT = Aws::String>
73 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
74 template<typename NextTokenT = Aws::String>
75 ListDetectorsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
77
79
82 inline int GetMaxResults() const { return m_maxResults; }
83 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
84 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
85 inline ListDetectorsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
87 private:
88
89 Aws::String m_detectorModelName;
90 bool m_detectorModelNameHasBeenSet = false;
91
92 Aws::String m_stateName;
93 bool m_stateNameHasBeenSet = false;
94
95 Aws::String m_nextToken;
96 bool m_nextTokenHasBeenSet = false;
97
98 int m_maxResults{0};
99 bool m_maxResultsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace IoTEventsData
104} // namespace Aws
ListDetectorsRequest & WithMaxResults(int value)
ListDetectorsRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
ListDetectorsRequest & WithStateName(StateNameT &&value)
AWS_IOTEVENTSDATA_API Aws::String SerializePayload() const override
AWS_IOTEVENTSDATA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListDetectorsRequest & WithDetectorModelName(DetectorModelNameT &&value)
AWS_IOTEVENTSDATA_API ListDetectorsRequest()=default
void SetDetectorModelName(DetectorModelNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String