AWS SDK for C++  1.8.71
AWS SDK for C++
ListAuditMitigationActionsExecutionsRequest.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 "ListAuditMitigationActionsExecutions"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
46  inline const Aws::String& GetTaskId() const{ return m_taskId; }
47 
52  inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
53 
58  inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
59 
64  inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
65 
70  inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
71 
76  inline ListAuditMitigationActionsExecutionsRequest& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
77 
82  inline ListAuditMitigationActionsExecutionsRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
83 
88  inline ListAuditMitigationActionsExecutionsRequest& WithTaskId(const char* value) { SetTaskId(value); return *this;}
89 
90 
94  inline const AuditMitigationActionsExecutionStatus& GetActionStatus() const{ return m_actionStatus; }
95 
99  inline bool ActionStatusHasBeenSet() const { return m_actionStatusHasBeenSet; }
100 
104  inline void SetActionStatus(const AuditMitigationActionsExecutionStatus& value) { m_actionStatusHasBeenSet = true; m_actionStatus = value; }
105 
109  inline void SetActionStatus(AuditMitigationActionsExecutionStatus&& value) { m_actionStatusHasBeenSet = true; m_actionStatus = std::move(value); }
110 
114  inline ListAuditMitigationActionsExecutionsRequest& WithActionStatus(const AuditMitigationActionsExecutionStatus& value) { SetActionStatus(value); return *this;}
115 
119  inline ListAuditMitigationActionsExecutionsRequest& WithActionStatus(AuditMitigationActionsExecutionStatus&& value) { SetActionStatus(std::move(value)); return *this;}
120 
121 
126  inline const Aws::String& GetFindingId() const{ return m_findingId; }
127 
132  inline bool FindingIdHasBeenSet() const { return m_findingIdHasBeenSet; }
133 
138  inline void SetFindingId(const Aws::String& value) { m_findingIdHasBeenSet = true; m_findingId = value; }
139 
144  inline void SetFindingId(Aws::String&& value) { m_findingIdHasBeenSet = true; m_findingId = std::move(value); }
145 
150  inline void SetFindingId(const char* value) { m_findingIdHasBeenSet = true; m_findingId.assign(value); }
151 
156  inline ListAuditMitigationActionsExecutionsRequest& WithFindingId(const Aws::String& value) { SetFindingId(value); return *this;}
157 
162  inline ListAuditMitigationActionsExecutionsRequest& WithFindingId(Aws::String&& value) { SetFindingId(std::move(value)); return *this;}
163 
168  inline ListAuditMitigationActionsExecutionsRequest& WithFindingId(const char* value) { SetFindingId(value); return *this;}
169 
170 
174  inline int GetMaxResults() const{ return m_maxResults; }
175 
179  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
180 
184  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
185 
189  inline ListAuditMitigationActionsExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
190 
191 
195  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
196 
200  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
201 
205  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
206 
210  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
211 
215  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
216 
220  inline ListAuditMitigationActionsExecutionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
221 
225  inline ListAuditMitigationActionsExecutionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
226 
230  inline ListAuditMitigationActionsExecutionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
231 
232  private:
233 
234  Aws::String m_taskId;
235  bool m_taskIdHasBeenSet;
236 
238  bool m_actionStatusHasBeenSet;
239 
240  Aws::String m_findingId;
241  bool m_findingIdHasBeenSet;
242 
243  int m_maxResults;
244  bool m_maxResultsHasBeenSet;
245 
246  Aws::String m_nextToken;
247  bool m_nextTokenHasBeenSet;
248  };
249 
250 } // namespace Model
251 } // namespace IoT
252 } // namespace Aws
void SetActionStatus(const AuditMitigationActionsExecutionStatus &value)
ListAuditMitigationActionsExecutionsRequest & WithTaskId(Aws::String &&value)
ListAuditMitigationActionsExecutionsRequest & WithFindingId(const char *value)
ListAuditMitigationActionsExecutionsRequest & WithTaskId(const Aws::String &value)
ListAuditMitigationActionsExecutionsRequest & WithNextToken(const char *value)
ListAuditMitigationActionsExecutionsRequest & WithFindingId(const Aws::String &value)
ListAuditMitigationActionsExecutionsRequest & WithFindingId(Aws::String &&value)
ListAuditMitigationActionsExecutionsRequest & WithNextToken(Aws::String &&value)
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
ListAuditMitigationActionsExecutionsRequest & WithActionStatus(const AuditMitigationActionsExecutionStatus &value)
ListAuditMitigationActionsExecutionsRequest & WithNextToken(const Aws::String &value)
ListAuditMitigationActionsExecutionsRequest & WithTaskId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListAuditMitigationActionsExecutionsRequest & WithActionStatus(AuditMitigationActionsExecutionStatus &&value)