AWS SDK for C++  1.9.132
AWS SDK for C++
ListDetectMitigationActionsExecutionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace IoT
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ListDetectMitigationActionsExecutions"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline const Aws::String& GetTaskId() const{ return m_taskId; }
46 
50  inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
51 
55  inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
56 
60  inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
61 
65  inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
66 
70  inline ListDetectMitigationActionsExecutionsRequest& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
71 
75  inline ListDetectMitigationActionsExecutionsRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
76 
80  inline ListDetectMitigationActionsExecutionsRequest& WithTaskId(const char* value) { SetTaskId(value); return *this;}
81 
82 
86  inline const Aws::String& GetViolationId() const{ return m_violationId; }
87 
91  inline bool ViolationIdHasBeenSet() const { return m_violationIdHasBeenSet; }
92 
96  inline void SetViolationId(const Aws::String& value) { m_violationIdHasBeenSet = true; m_violationId = value; }
97 
101  inline void SetViolationId(Aws::String&& value) { m_violationIdHasBeenSet = true; m_violationId = std::move(value); }
102 
106  inline void SetViolationId(const char* value) { m_violationIdHasBeenSet = true; m_violationId.assign(value); }
107 
111  inline ListDetectMitigationActionsExecutionsRequest& WithViolationId(const Aws::String& value) { SetViolationId(value); return *this;}
112 
116  inline ListDetectMitigationActionsExecutionsRequest& WithViolationId(Aws::String&& value) { SetViolationId(std::move(value)); return *this;}
117 
121  inline ListDetectMitigationActionsExecutionsRequest& WithViolationId(const char* value) { SetViolationId(value); return *this;}
122 
123 
127  inline const Aws::String& GetThingName() const{ return m_thingName; }
128 
132  inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
133 
137  inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
138 
142  inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
143 
147  inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
148 
152  inline ListDetectMitigationActionsExecutionsRequest& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
153 
157  inline ListDetectMitigationActionsExecutionsRequest& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
158 
162  inline ListDetectMitigationActionsExecutionsRequest& WithThingName(const char* value) { SetThingName(value); return *this;}
163 
164 
169  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
170 
175  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
176 
181  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
182 
187  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
188 
193  inline ListDetectMitigationActionsExecutionsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
194 
199  inline ListDetectMitigationActionsExecutionsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
200 
201 
206  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
207 
212  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
213 
218  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
219 
224  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
225 
230  inline ListDetectMitigationActionsExecutionsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
231 
236  inline ListDetectMitigationActionsExecutionsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
237 
238 
242  inline int GetMaxResults() const{ return m_maxResults; }
243 
247  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
248 
252  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
253 
257  inline ListDetectMitigationActionsExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
258 
259 
263  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
264 
268  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
269 
273  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
274 
278  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
279 
283  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
284 
288  inline ListDetectMitigationActionsExecutionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
289 
293  inline ListDetectMitigationActionsExecutionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
294 
298  inline ListDetectMitigationActionsExecutionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
299 
300  private:
301 
302  Aws::String m_taskId;
303  bool m_taskIdHasBeenSet;
304 
305  Aws::String m_violationId;
306  bool m_violationIdHasBeenSet;
307 
308  Aws::String m_thingName;
309  bool m_thingNameHasBeenSet;
310 
311  Aws::Utils::DateTime m_startTime;
312  bool m_startTimeHasBeenSet;
313 
314  Aws::Utils::DateTime m_endTime;
315  bool m_endTimeHasBeenSet;
316 
317  int m_maxResults;
318  bool m_maxResultsHasBeenSet;
319 
320  Aws::String m_nextToken;
321  bool m_nextTokenHasBeenSet;
322  };
323 
324 } // namespace Model
325 } // namespace IoT
326 } // namespace Aws
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:273
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDetectMitigationActionsExecutionsRequest.h:247
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::ListDetectMitigationActionsExecutionsRequest
ListDetectMitigationActionsExecutionsRequest()
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:252
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::WithTaskId
ListDetectMitigationActionsExecutionsRequest & WithTaskId(Aws::String &&value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:75
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:218
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::WithTaskId
ListDetectMitigationActionsExecutionsRequest & WithTaskId(const Aws::String &value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:70
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SetViolationId
void SetViolationId(const char *value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:106
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SetTaskId
void SetTaskId(const Aws::String &value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:55
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::WithStartTime
ListDetectMitigationActionsExecutionsRequest & WithStartTime(Aws::Utils::DateTime &&value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:199
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::WithViolationId
ListDetectMitigationActionsExecutionsRequest & WithViolationId(const char *value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:121
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SetViolationId
void SetViolationId(Aws::String &&value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:101
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::WithNextToken
ListDetectMitigationActionsExecutionsRequest & WithNextToken(Aws::String &&value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:293
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: ListDetectMitigationActionsExecutionsRequest.h:206
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDetectMitigationActionsExecutionsRequest.h:242
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::ThingNameHasBeenSet
bool ThingNameHasBeenSet() const
Definition: ListDetectMitigationActionsExecutionsRequest.h:132
DateTime.h
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::GetThingName
const Aws::String & GetThingName() const
Definition: ListDetectMitigationActionsExecutionsRequest.h:127
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::WithEndTime
ListDetectMitigationActionsExecutionsRequest & WithEndTime(Aws::Utils::DateTime &&value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:236
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: ListDetectMitigationActionsExecutionsRequest.h:212
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::ViolationIdHasBeenSet
bool ViolationIdHasBeenSet() const
Definition: ListDetectMitigationActionsExecutionsRequest.h:91
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDetectMitigationActionsExecutionsRequest.h:35
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:187
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::WithViolationId
ListDetectMitigationActionsExecutionsRequest & WithViolationId(const Aws::String &value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:111
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::GetViolationId
const Aws::String & GetViolationId() const
Definition: ListDetectMitigationActionsExecutionsRequest.h:86
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SetViolationId
void SetViolationId(const Aws::String &value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:96
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:224
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::WithStartTime
ListDetectMitigationActionsExecutionsRequest & WithStartTime(const Aws::Utils::DateTime &value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:193
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:283
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::WithTaskId
ListDetectMitigationActionsExecutionsRequest & WithTaskId(const char *value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:80
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:181
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SetThingName
void SetThingName(Aws::String &&value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:142
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::WithThingName
ListDetectMitigationActionsExecutionsRequest & WithThingName(Aws::String &&value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:157
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::WithViolationId
ListDetectMitigationActionsExecutionsRequest & WithViolationId(Aws::String &&value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:116
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::WithThingName
ListDetectMitigationActionsExecutionsRequest & WithThingName(const Aws::String &value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:152
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::WithMaxResults
ListDetectMitigationActionsExecutionsRequest & WithMaxResults(int value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:257
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::GetTaskId
const Aws::String & GetTaskId() const
Definition: ListDetectMitigationActionsExecutionsRequest.h:45
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SetTaskId
void SetTaskId(Aws::String &&value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:60
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: ListDetectMitigationActionsExecutionsRequest.h:169
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SetThingName
void SetThingName(const Aws::String &value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:137
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDetectMitigationActionsExecutionsRequest.h:268
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SetThingName
void SetThingName(const char *value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:147
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::WithThingName
ListDetectMitigationActionsExecutionsRequest & WithThingName(const char *value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:162
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::TaskIdHasBeenSet
bool TaskIdHasBeenSet() const
Definition: ListDetectMitigationActionsExecutionsRequest.h:50
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:278
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::WithEndTime
ListDetectMitigationActionsExecutionsRequest & WithEndTime(const Aws::Utils::DateTime &value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:230
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: ListDetectMitigationActionsExecutionsRequest.h:175
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::WithNextToken
ListDetectMitigationActionsExecutionsRequest & WithNextToken(const Aws::String &value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:288
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
IoTRequest.h
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest
Definition: ListDetectMitigationActionsExecutionsRequest.h:27
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::SetTaskId
void SetTaskId(const char *value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:65
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDetectMitigationActionsExecutionsRequest.h:263
Aws::IoT::Model::ListDetectMitigationActionsExecutionsRequest::WithNextToken
ListDetectMitigationActionsExecutionsRequest & WithNextToken(const char *value)
Definition: ListDetectMitigationActionsExecutionsRequest.h:298
IoT_EXPORTS.h