AWS SDK for C++  1.8.153
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
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::ListAuditMitigationActionsExecutionsRequest
ListAuditMitigationActionsExecutionsRequest()
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAuditMitigationActionsExecutionsRequest.h:35
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAuditMitigationActionsExecutionsRequest.h:195
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:205
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListAuditMitigationActionsExecutionsRequest.h:200
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::WithNextToken
ListAuditMitigationActionsExecutionsRequest & WithNextToken(const Aws::String &value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:220
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::WithFindingId
ListAuditMitigationActionsExecutionsRequest & WithFindingId(const char *value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:168
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::SetActionStatus
void SetActionStatus(const AuditMitigationActionsExecutionStatus &value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:104
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::WithActionStatus
ListAuditMitigationActionsExecutionsRequest & WithActionStatus(AuditMitigationActionsExecutionStatus &&value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:119
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::SetTaskId
void SetTaskId(Aws::String &&value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:64
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::SetFindingId
void SetFindingId(Aws::String &&value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:144
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::WithTaskId
ListAuditMitigationActionsExecutionsRequest & WithTaskId(const char *value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:88
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListAuditMitigationActionsExecutionsRequest.h:179
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:184
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoT::Model::AuditMitigationActionsExecutionStatus
AuditMitigationActionsExecutionStatus
Definition: AuditMitigationActionsExecutionStatus.h:17
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::GetActionStatus
const AuditMitigationActionsExecutionStatus & GetActionStatus() const
Definition: ListAuditMitigationActionsExecutionsRequest.h:94
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::WithNextToken
ListAuditMitigationActionsExecutionsRequest & WithNextToken(Aws::String &&value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:225
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::WithTaskId
ListAuditMitigationActionsExecutionsRequest & WithTaskId(const Aws::String &value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:76
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::TaskIdHasBeenSet
bool TaskIdHasBeenSet() const
Definition: ListAuditMitigationActionsExecutionsRequest.h:52
AWSString.h
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::SetTaskId
void SetTaskId(const Aws::String &value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:58
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::WithTaskId
ListAuditMitigationActionsExecutionsRequest & WithTaskId(Aws::String &&value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:82
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::WithFindingId
ListAuditMitigationActionsExecutionsRequest & WithFindingId(const Aws::String &value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:156
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::WithFindingId
ListAuditMitigationActionsExecutionsRequest & WithFindingId(Aws::String &&value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:162
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::WithNextToken
ListAuditMitigationActionsExecutionsRequest & WithNextToken(const char *value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:230
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::SetTaskId
void SetTaskId(const char *value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:70
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::FindingIdHasBeenSet
bool FindingIdHasBeenSet() const
Definition: ListAuditMitigationActionsExecutionsRequest.h:132
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::WithActionStatus
ListAuditMitigationActionsExecutionsRequest & WithActionStatus(const AuditMitigationActionsExecutionStatus &value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:114
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::GetFindingId
const Aws::String & GetFindingId() const
Definition: ListAuditMitigationActionsExecutionsRequest.h:126
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest
Definition: ListAuditMitigationActionsExecutionsRequest.h:27
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:215
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::WithMaxResults
ListAuditMitigationActionsExecutionsRequest & WithMaxResults(int value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:189
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::ListAuditMitigationActionsExecutionsRequest::SetFindingId
void SetFindingId(const Aws::String &value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:138
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::GetTaskId
const Aws::String & GetTaskId() const
Definition: ListAuditMitigationActionsExecutionsRequest.h:46
IoTRequest.h
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListAuditMitigationActionsExecutionsRequest.h:174
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:210
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::SetActionStatus
void SetActionStatus(AuditMitigationActionsExecutionStatus &&value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:109
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::SetFindingId
void SetFindingId(const char *value)
Definition: ListAuditMitigationActionsExecutionsRequest.h:150
IoT_EXPORTS.h
Aws::IoT::Model::ListAuditMitigationActionsExecutionsRequest::ActionStatusHasBeenSet
bool ActionStatusHasBeenSet() const
Definition: ListAuditMitigationActionsExecutionsRequest.h:99
AuditMitigationActionsExecutionStatus.h