AWS SDK for C++  1.9.132
AWS SDK for C++
ListAuditFindingsRequest.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 IoT
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "ListAuditFindings"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
41  inline const Aws::String& GetTaskId() const{ return m_taskId; }
42 
47  inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
48 
53  inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
54 
59  inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
60 
65  inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
66 
71  inline ListAuditFindingsRequest& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
72 
77  inline ListAuditFindingsRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
78 
83  inline ListAuditFindingsRequest& WithTaskId(const char* value) { SetTaskId(value); return *this;}
84 
85 
89  inline const Aws::String& GetCheckName() const{ return m_checkName; }
90 
94  inline bool CheckNameHasBeenSet() const { return m_checkNameHasBeenSet; }
95 
99  inline void SetCheckName(const Aws::String& value) { m_checkNameHasBeenSet = true; m_checkName = value; }
100 
104  inline void SetCheckName(Aws::String&& value) { m_checkNameHasBeenSet = true; m_checkName = std::move(value); }
105 
109  inline void SetCheckName(const char* value) { m_checkNameHasBeenSet = true; m_checkName.assign(value); }
110 
114  inline ListAuditFindingsRequest& WithCheckName(const Aws::String& value) { SetCheckName(value); return *this;}
115 
119  inline ListAuditFindingsRequest& WithCheckName(Aws::String&& value) { SetCheckName(std::move(value)); return *this;}
120 
124  inline ListAuditFindingsRequest& WithCheckName(const char* value) { SetCheckName(value); return *this;}
125 
126 
130  inline const ResourceIdentifier& GetResourceIdentifier() const{ return m_resourceIdentifier; }
131 
135  inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
136 
140  inline void SetResourceIdentifier(const ResourceIdentifier& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
141 
145  inline void SetResourceIdentifier(ResourceIdentifier&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
146 
150  inline ListAuditFindingsRequest& WithResourceIdentifier(const ResourceIdentifier& value) { SetResourceIdentifier(value); return *this;}
151 
155  inline ListAuditFindingsRequest& WithResourceIdentifier(ResourceIdentifier&& value) { SetResourceIdentifier(std::move(value)); return *this;}
156 
157 
161  inline int GetMaxResults() const{ return m_maxResults; }
162 
166  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
167 
171  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
172 
176  inline ListAuditFindingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
177 
178 
182  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
183 
187  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
188 
192  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
193 
197  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
198 
202  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
203 
207  inline ListAuditFindingsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
208 
212  inline ListAuditFindingsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
213 
217  inline ListAuditFindingsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
218 
219 
224  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
225 
230  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
231 
236  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
237 
242  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
243 
248  inline ListAuditFindingsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
249 
254  inline ListAuditFindingsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
255 
256 
261  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
262 
267  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
268 
273  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
274 
279  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
280 
285  inline ListAuditFindingsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
286 
291  inline ListAuditFindingsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
292 
293 
299  inline bool GetListSuppressedFindings() const{ return m_listSuppressedFindings; }
300 
306  inline bool ListSuppressedFindingsHasBeenSet() const { return m_listSuppressedFindingsHasBeenSet; }
307 
313  inline void SetListSuppressedFindings(bool value) { m_listSuppressedFindingsHasBeenSet = true; m_listSuppressedFindings = value; }
314 
320  inline ListAuditFindingsRequest& WithListSuppressedFindings(bool value) { SetListSuppressedFindings(value); return *this;}
321 
322  private:
323 
324  Aws::String m_taskId;
325  bool m_taskIdHasBeenSet;
326 
327  Aws::String m_checkName;
328  bool m_checkNameHasBeenSet;
329 
330  ResourceIdentifier m_resourceIdentifier;
331  bool m_resourceIdentifierHasBeenSet;
332 
333  int m_maxResults;
334  bool m_maxResultsHasBeenSet;
335 
336  Aws::String m_nextToken;
337  bool m_nextTokenHasBeenSet;
338 
339  Aws::Utils::DateTime m_startTime;
340  bool m_startTimeHasBeenSet;
341 
342  Aws::Utils::DateTime m_endTime;
343  bool m_endTimeHasBeenSet;
344 
345  bool m_listSuppressedFindings;
346  bool m_listSuppressedFindingsHasBeenSet;
347  };
348 
349 } // namespace Model
350 } // namespace IoT
351 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::ListAuditFindingsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListAuditFindingsRequest.h:161
Aws::IoT::Model::ListAuditFindingsRequest::WithTaskId
ListAuditFindingsRequest & WithTaskId(Aws::String &&value)
Definition: ListAuditFindingsRequest.h:77
Aws::IoT::Model::ListAuditFindingsRequest::WithCheckName
ListAuditFindingsRequest & WithCheckName(const char *value)
Definition: ListAuditFindingsRequest.h:124
Aws::IoT::Model::ListAuditFindingsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListAuditFindingsRequest.h:171
Aws::IoT::Model::ListAuditFindingsRequest::WithMaxResults
ListAuditFindingsRequest & WithMaxResults(int value)
Definition: ListAuditFindingsRequest.h:176
Aws::IoT::Model::ListAuditFindingsRequest::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: ListAuditFindingsRequest.h:242
Aws::IoT::Model::ListAuditFindingsRequest::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: ListAuditFindingsRequest.h:279
Aws::IoT::Model::ListAuditFindingsRequest::SetResourceIdentifier
void SetResourceIdentifier(ResourceIdentifier &&value)
Definition: ListAuditFindingsRequest.h:145
Aws::IoT::Model::ListAuditFindingsRequest::WithEndTime
ListAuditFindingsRequest & WithEndTime(const Aws::Utils::DateTime &value)
Definition: ListAuditFindingsRequest.h:285
Aws::IoT::Model::ListAuditFindingsRequest::ListAuditFindingsRequest
ListAuditFindingsRequest()
DateTime.h
Aws::IoT::Model::ListAuditFindingsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAuditFindingsRequest.h:182
Aws::IoT::Model::ListAuditFindingsRequest::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: ListAuditFindingsRequest.h:230
Aws::IoT::Model::ListAuditFindingsRequest::WithCheckName
ListAuditFindingsRequest & WithCheckName(const Aws::String &value)
Definition: ListAuditFindingsRequest.h:114
Aws::IoT::Model::ListAuditFindingsRequest::SetTaskId
void SetTaskId(const char *value)
Definition: ListAuditFindingsRequest.h:65
Aws::IoT::Model::ListAuditFindingsRequest::WithCheckName
ListAuditFindingsRequest & WithCheckName(Aws::String &&value)
Definition: ListAuditFindingsRequest.h:119
Aws::IoT::Model::ListAuditFindingsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListAuditFindingsRequest.h:202
Aws::IoT::Model::ResourceIdentifier
Definition: ResourceIdentifier.h:34
Aws::IoT::Model::ListAuditFindingsRequest::SetResourceIdentifier
void SetResourceIdentifier(const ResourceIdentifier &value)
Definition: ListAuditFindingsRequest.h:140
Aws::IoT::Model::ListAuditFindingsRequest::WithListSuppressedFindings
ListAuditFindingsRequest & WithListSuppressedFindings(bool value)
Definition: ListAuditFindingsRequest.h:320
Aws::IoT::Model::ListAuditFindingsRequest::ResourceIdentifierHasBeenSet
bool ResourceIdentifierHasBeenSet() const
Definition: ListAuditFindingsRequest.h:135
Aws::IoT::Model::ListAuditFindingsRequest::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: ListAuditFindingsRequest.h:273
Aws::IoT::Model::ListAuditFindingsRequest::WithNextToken
ListAuditFindingsRequest & WithNextToken(const Aws::String &value)
Definition: ListAuditFindingsRequest.h:207
Aws::IoT::Model::ListAuditFindingsRequest::ListSuppressedFindingsHasBeenSet
bool ListSuppressedFindingsHasBeenSet() const
Definition: ListAuditFindingsRequest.h:306
Aws::IoT::Model::ListAuditFindingsRequest::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: ListAuditFindingsRequest.h:261
Aws::IoT::Model::ListAuditFindingsRequest::SetCheckName
void SetCheckName(Aws::String &&value)
Definition: ListAuditFindingsRequest.h:104
Aws::IoT::Model::ListAuditFindingsRequest::WithNextToken
ListAuditFindingsRequest & WithNextToken(const char *value)
Definition: ListAuditFindingsRequest.h:217
Aws::IoT::Model::ListAuditFindingsRequest::SetTaskId
void SetTaskId(Aws::String &&value)
Definition: ListAuditFindingsRequest.h:59
Aws::IoT::Model::ListAuditFindingsRequest::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: ListAuditFindingsRequest.h:224
Aws::IoT::Model::ListAuditFindingsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListAuditFindingsRequest.h:187
Aws::IoT::Model::ListAuditFindingsRequest::WithTaskId
ListAuditFindingsRequest & WithTaskId(const Aws::String &value)
Definition: ListAuditFindingsRequest.h:71
Aws::IoT::Model::ListAuditFindingsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListAuditFindingsRequest.h:166
AWSString.h
Aws::IoT::Model::ListAuditFindingsRequest
Definition: ListAuditFindingsRequest.h:24
Aws::IoT::Model::ListAuditFindingsRequest::GetTaskId
const Aws::String & GetTaskId() const
Definition: ListAuditFindingsRequest.h:41
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::ListAuditFindingsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAuditFindingsRequest.h:32
Aws::IoT::Model::ListAuditFindingsRequest::SetListSuppressedFindings
void SetListSuppressedFindings(bool value)
Definition: ListAuditFindingsRequest.h:313
Aws::IoT::Model::ListAuditFindingsRequest::TaskIdHasBeenSet
bool TaskIdHasBeenSet() const
Definition: ListAuditFindingsRequest.h:47
Aws::IoT::Model::ListAuditFindingsRequest::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: ListAuditFindingsRequest.h:236
Aws::IoT::Model::ListAuditFindingsRequest::SerializePayload
Aws::String SerializePayload() const override
ResourceIdentifier.h
Aws::IoT::Model::ListAuditFindingsRequest::WithNextToken
ListAuditFindingsRequest & WithNextToken(Aws::String &&value)
Definition: ListAuditFindingsRequest.h:212
Aws::IoT::Model::ListAuditFindingsRequest::GetResourceIdentifier
const ResourceIdentifier & GetResourceIdentifier() const
Definition: ListAuditFindingsRequest.h:130
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListAuditFindingsRequest::WithEndTime
ListAuditFindingsRequest & WithEndTime(Aws::Utils::DateTime &&value)
Definition: ListAuditFindingsRequest.h:291
Aws::IoT::Model::ListAuditFindingsRequest::WithResourceIdentifier
ListAuditFindingsRequest & WithResourceIdentifier(ResourceIdentifier &&value)
Definition: ListAuditFindingsRequest.h:155
Aws::IoT::Model::ListAuditFindingsRequest::SetCheckName
void SetCheckName(const Aws::String &value)
Definition: ListAuditFindingsRequest.h:99
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::ListAuditFindingsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAuditFindingsRequest.h:192
Aws::IoT::Model::ListAuditFindingsRequest::GetCheckName
const Aws::String & GetCheckName() const
Definition: ListAuditFindingsRequest.h:89
Aws::IoT::Model::ListAuditFindingsRequest::WithStartTime
ListAuditFindingsRequest & WithStartTime(const Aws::Utils::DateTime &value)
Definition: ListAuditFindingsRequest.h:248
Aws::IoT::Model::ListAuditFindingsRequest::GetListSuppressedFindings
bool GetListSuppressedFindings() const
Definition: ListAuditFindingsRequest.h:299
Aws::IoT::Model::ListAuditFindingsRequest::SetCheckName
void SetCheckName(const char *value)
Definition: ListAuditFindingsRequest.h:109
IoTRequest.h
Aws::IoT::Model::ListAuditFindingsRequest::WithResourceIdentifier
ListAuditFindingsRequest & WithResourceIdentifier(const ResourceIdentifier &value)
Definition: ListAuditFindingsRequest.h:150
Aws::IoT::Model::ListAuditFindingsRequest::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: ListAuditFindingsRequest.h:267
Aws::IoT::Model::ListAuditFindingsRequest::SetTaskId
void SetTaskId(const Aws::String &value)
Definition: ListAuditFindingsRequest.h:53
Aws::IoT::Model::ListAuditFindingsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAuditFindingsRequest.h:197
Aws::IoT::Model::ListAuditFindingsRequest::WithTaskId
ListAuditFindingsRequest & WithTaskId(const char *value)
Definition: ListAuditFindingsRequest.h:83
Aws::IoT::Model::ListAuditFindingsRequest::WithStartTime
ListAuditFindingsRequest & WithStartTime(Aws::Utils::DateTime &&value)
Definition: ListAuditFindingsRequest.h:254
Aws::IoT::Model::ListAuditFindingsRequest::CheckNameHasBeenSet
bool CheckNameHasBeenSet() const
Definition: ListAuditFindingsRequest.h:94
IoT_EXPORTS.h