AWS SDK for C++  1.9.123
AWS SDK for C++
ListAuditMitigationActionsTasksRequest.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>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Http
17 {
18  class URI;
19 } //namespace Http
20 namespace IoT
21 {
22 namespace Model
23 {
24 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "ListAuditMitigationActionsTasks"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
42 
47  inline const Aws::String& GetAuditTaskId() const{ return m_auditTaskId; }
48 
53  inline bool AuditTaskIdHasBeenSet() const { return m_auditTaskIdHasBeenSet; }
54 
59  inline void SetAuditTaskId(const Aws::String& value) { m_auditTaskIdHasBeenSet = true; m_auditTaskId = value; }
60 
65  inline void SetAuditTaskId(Aws::String&& value) { m_auditTaskIdHasBeenSet = true; m_auditTaskId = std::move(value); }
66 
71  inline void SetAuditTaskId(const char* value) { m_auditTaskIdHasBeenSet = true; m_auditTaskId.assign(value); }
72 
77  inline ListAuditMitigationActionsTasksRequest& WithAuditTaskId(const Aws::String& value) { SetAuditTaskId(value); return *this;}
78 
83  inline ListAuditMitigationActionsTasksRequest& WithAuditTaskId(Aws::String&& value) { SetAuditTaskId(std::move(value)); return *this;}
84 
89  inline ListAuditMitigationActionsTasksRequest& WithAuditTaskId(const char* value) { SetAuditTaskId(value); return *this;}
90 
91 
96  inline const Aws::String& GetFindingId() const{ return m_findingId; }
97 
102  inline bool FindingIdHasBeenSet() const { return m_findingIdHasBeenSet; }
103 
108  inline void SetFindingId(const Aws::String& value) { m_findingIdHasBeenSet = true; m_findingId = value; }
109 
114  inline void SetFindingId(Aws::String&& value) { m_findingIdHasBeenSet = true; m_findingId = std::move(value); }
115 
120  inline void SetFindingId(const char* value) { m_findingIdHasBeenSet = true; m_findingId.assign(value); }
121 
126  inline ListAuditMitigationActionsTasksRequest& WithFindingId(const Aws::String& value) { SetFindingId(value); return *this;}
127 
132  inline ListAuditMitigationActionsTasksRequest& WithFindingId(Aws::String&& value) { SetFindingId(std::move(value)); return *this;}
133 
138  inline ListAuditMitigationActionsTasksRequest& WithFindingId(const char* value) { SetFindingId(value); return *this;}
139 
140 
145  inline const AuditMitigationActionsTaskStatus& GetTaskStatus() const{ return m_taskStatus; }
146 
151  inline bool TaskStatusHasBeenSet() const { return m_taskStatusHasBeenSet; }
152 
157  inline void SetTaskStatus(const AuditMitigationActionsTaskStatus& value) { m_taskStatusHasBeenSet = true; m_taskStatus = value; }
158 
163  inline void SetTaskStatus(AuditMitigationActionsTaskStatus&& value) { m_taskStatusHasBeenSet = true; m_taskStatus = std::move(value); }
164 
169  inline ListAuditMitigationActionsTasksRequest& WithTaskStatus(const AuditMitigationActionsTaskStatus& value) { SetTaskStatus(value); return *this;}
170 
175  inline ListAuditMitigationActionsTasksRequest& WithTaskStatus(AuditMitigationActionsTaskStatus&& value) { SetTaskStatus(std::move(value)); return *this;}
176 
177 
181  inline int GetMaxResults() const{ return m_maxResults; }
182 
186  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
187 
191  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
192 
196  inline ListAuditMitigationActionsTasksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
197 
198 
202  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
203 
207  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
208 
212  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
213 
217  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
218 
222  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
223 
227  inline ListAuditMitigationActionsTasksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
228 
232  inline ListAuditMitigationActionsTasksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
233 
237  inline ListAuditMitigationActionsTasksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
238 
239 
244  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
245 
250  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
251 
256  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
257 
262  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
263 
268  inline ListAuditMitigationActionsTasksRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
269 
274  inline ListAuditMitigationActionsTasksRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
275 
276 
281  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
282 
287  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
288 
293  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
294 
299  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
300 
305  inline ListAuditMitigationActionsTasksRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
306 
311  inline ListAuditMitigationActionsTasksRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
312 
313  private:
314 
315  Aws::String m_auditTaskId;
316  bool m_auditTaskIdHasBeenSet;
317 
318  Aws::String m_findingId;
319  bool m_findingIdHasBeenSet;
320 
322  bool m_taskStatusHasBeenSet;
323 
324  int m_maxResults;
325  bool m_maxResultsHasBeenSet;
326 
327  Aws::String m_nextToken;
328  bool m_nextTokenHasBeenSet;
329 
330  Aws::Utils::DateTime m_startTime;
331  bool m_startTimeHasBeenSet;
332 
333  Aws::Utils::DateTime m_endTime;
334  bool m_endTimeHasBeenSet;
335  };
336 
337 } // namespace Model
338 } // namespace IoT
339 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
AuditMitigationActionsTaskStatus.h
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::WithTaskStatus
ListAuditMitigationActionsTasksRequest & WithTaskStatus(const AuditMitigationActionsTaskStatus &value)
Definition: ListAuditMitigationActionsTasksRequest.h:169
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::WithAuditTaskId
ListAuditMitigationActionsTasksRequest & WithAuditTaskId(const char *value)
Definition: ListAuditMitigationActionsTasksRequest.h:89
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: ListAuditMitigationActionsTasksRequest.h:281
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::WithMaxResults
ListAuditMitigationActionsTasksRequest & WithMaxResults(int value)
Definition: ListAuditMitigationActionsTasksRequest.h:196
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::FindingIdHasBeenSet
bool FindingIdHasBeenSet() const
Definition: ListAuditMitigationActionsTasksRequest.h:102
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::WithFindingId
ListAuditMitigationActionsTasksRequest & WithFindingId(const char *value)
Definition: ListAuditMitigationActionsTasksRequest.h:138
DateTime.h
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: ListAuditMitigationActionsTasksRequest.h:293
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: ListAuditMitigationActionsTasksRequest.h:262
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: ListAuditMitigationActionsTasksRequest.h:244
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::WithNextToken
ListAuditMitigationActionsTasksRequest & WithNextToken(const Aws::String &value)
Definition: ListAuditMitigationActionsTasksRequest.h:227
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAuditMitigationActionsTasksRequest.h:36
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListAuditMitigationActionsTasksRequest.h:207
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::AuditTaskIdHasBeenSet
bool AuditTaskIdHasBeenSet() const
Definition: ListAuditMitigationActionsTasksRequest.h:53
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::WithStartTime
ListAuditMitigationActionsTasksRequest & WithStartTime(const Aws::Utils::DateTime &value)
Definition: ListAuditMitigationActionsTasksRequest.h:268
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::GetFindingId
const Aws::String & GetFindingId() const
Definition: ListAuditMitigationActionsTasksRequest.h:96
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::SetFindingId
void SetFindingId(Aws::String &&value)
Definition: ListAuditMitigationActionsTasksRequest.h:114
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListAuditMitigationActionsTasksRequest.h:186
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest
Definition: ListAuditMitigationActionsTasksRequest.h:28
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAuditMitigationActionsTasksRequest.h:202
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::SetAuditTaskId
void SetAuditTaskId(const char *value)
Definition: ListAuditMitigationActionsTasksRequest.h:71
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::SetFindingId
void SetFindingId(const Aws::String &value)
Definition: ListAuditMitigationActionsTasksRequest.h:108
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAuditMitigationActionsTasksRequest.h:212
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::WithAuditTaskId
ListAuditMitigationActionsTasksRequest & WithAuditTaskId(const Aws::String &value)
Definition: ListAuditMitigationActionsTasksRequest.h:77
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::GetAuditTaskId
const Aws::String & GetAuditTaskId() const
Definition: ListAuditMitigationActionsTasksRequest.h:47
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: ListAuditMitigationActionsTasksRequest.h:250
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::TaskStatusHasBeenSet
bool TaskStatusHasBeenSet() const
Definition: ListAuditMitigationActionsTasksRequest.h:151
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::SetTaskStatus
void SetTaskStatus(const AuditMitigationActionsTaskStatus &value)
Definition: ListAuditMitigationActionsTasksRequest.h:157
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::ListAuditMitigationActionsTasksRequest
ListAuditMitigationActionsTasksRequest()
AWSString.h
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAuditMitigationActionsTasksRequest.h:217
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: ListAuditMitigationActionsTasksRequest.h:299
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::WithEndTime
ListAuditMitigationActionsTasksRequest & WithEndTime(const Aws::Utils::DateTime &value)
Definition: ListAuditMitigationActionsTasksRequest.h:305
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::SetTaskStatus
void SetTaskStatus(AuditMitigationActionsTaskStatus &&value)
Definition: ListAuditMitigationActionsTasksRequest.h:163
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::SetAuditTaskId
void SetAuditTaskId(const Aws::String &value)
Definition: ListAuditMitigationActionsTasksRequest.h:59
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::WithNextToken
ListAuditMitigationActionsTasksRequest & WithNextToken(Aws::String &&value)
Definition: ListAuditMitigationActionsTasksRequest.h:232
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::WithEndTime
ListAuditMitigationActionsTasksRequest & WithEndTime(Aws::Utils::DateTime &&value)
Definition: ListAuditMitigationActionsTasksRequest.h:311
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: ListAuditMitigationActionsTasksRequest.h:287
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::WithStartTime
ListAuditMitigationActionsTasksRequest & WithStartTime(Aws::Utils::DateTime &&value)
Definition: ListAuditMitigationActionsTasksRequest.h:274
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::WithAuditTaskId
ListAuditMitigationActionsTasksRequest & WithAuditTaskId(Aws::String &&value)
Definition: ListAuditMitigationActionsTasksRequest.h:83
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::AuditMitigationActionsTaskStatus
AuditMitigationActionsTaskStatus
Definition: AuditMitigationActionsTaskStatus.h:17
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::GetMaxResults
int GetMaxResults() const
Definition: ListAuditMitigationActionsTasksRequest.h:181
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::WithNextToken
ListAuditMitigationActionsTasksRequest & WithNextToken(const char *value)
Definition: ListAuditMitigationActionsTasksRequest.h:237
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::WithTaskStatus
ListAuditMitigationActionsTasksRequest & WithTaskStatus(AuditMitigationActionsTaskStatus &&value)
Definition: ListAuditMitigationActionsTasksRequest.h:175
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::ListAuditMitigationActionsTasksRequest::WithFindingId
ListAuditMitigationActionsTasksRequest & WithFindingId(const Aws::String &value)
Definition: ListAuditMitigationActionsTasksRequest.h:126
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::WithFindingId
ListAuditMitigationActionsTasksRequest & WithFindingId(Aws::String &&value)
Definition: ListAuditMitigationActionsTasksRequest.h:132
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::SetFindingId
void SetFindingId(const char *value)
Definition: ListAuditMitigationActionsTasksRequest.h:120
IoTRequest.h
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListAuditMitigationActionsTasksRequest.h:191
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::GetTaskStatus
const AuditMitigationActionsTaskStatus & GetTaskStatus() const
Definition: ListAuditMitigationActionsTasksRequest.h:145
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: ListAuditMitigationActionsTasksRequest.h:256
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::SetAuditTaskId
void SetAuditTaskId(Aws::String &&value)
Definition: ListAuditMitigationActionsTasksRequest.h:65
IoT_EXPORTS.h
Aws::IoT::Model::ListAuditMitigationActionsTasksRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListAuditMitigationActionsTasksRequest.h:222