AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAuditFindingsRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/ResourceIdentifier.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoT
17{
18namespace 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_IOT_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetTaskId() const{ return m_taskId; }
43 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
44 inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
45 inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
46 inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
47 inline ListAuditFindingsRequest& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
48 inline ListAuditFindingsRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
49 inline ListAuditFindingsRequest& WithTaskId(const char* value) { SetTaskId(value); return *this;}
51
53
56 inline const Aws::String& GetCheckName() const{ return m_checkName; }
57 inline bool CheckNameHasBeenSet() const { return m_checkNameHasBeenSet; }
58 inline void SetCheckName(const Aws::String& value) { m_checkNameHasBeenSet = true; m_checkName = value; }
59 inline void SetCheckName(Aws::String&& value) { m_checkNameHasBeenSet = true; m_checkName = std::move(value); }
60 inline void SetCheckName(const char* value) { m_checkNameHasBeenSet = true; m_checkName.assign(value); }
61 inline ListAuditFindingsRequest& WithCheckName(const Aws::String& value) { SetCheckName(value); return *this;}
62 inline ListAuditFindingsRequest& WithCheckName(Aws::String&& value) { SetCheckName(std::move(value)); return *this;}
63 inline ListAuditFindingsRequest& WithCheckName(const char* value) { SetCheckName(value); return *this;}
65
67
70 inline const ResourceIdentifier& GetResourceIdentifier() const{ return m_resourceIdentifier; }
71 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
72 inline void SetResourceIdentifier(const ResourceIdentifier& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
73 inline void SetResourceIdentifier(ResourceIdentifier&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
77
79
82 inline int GetMaxResults() const{ return m_maxResults; }
83 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
84 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
85 inline ListAuditFindingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
87
89
92 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
93 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
94 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
95 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
96 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
97 inline ListAuditFindingsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
98 inline ListAuditFindingsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
99 inline ListAuditFindingsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
101
103
107 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
108 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
109 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
110 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
111 inline ListAuditFindingsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
112 inline ListAuditFindingsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
114
116
120 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
121 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
122 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
123 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
124 inline ListAuditFindingsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
125 inline ListAuditFindingsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
127
129
134 inline bool GetListSuppressedFindings() const{ return m_listSuppressedFindings; }
135 inline bool ListSuppressedFindingsHasBeenSet() const { return m_listSuppressedFindingsHasBeenSet; }
136 inline void SetListSuppressedFindings(bool value) { m_listSuppressedFindingsHasBeenSet = true; m_listSuppressedFindings = value; }
139 private:
140
141 Aws::String m_taskId;
142 bool m_taskIdHasBeenSet = false;
143
144 Aws::String m_checkName;
145 bool m_checkNameHasBeenSet = false;
146
147 ResourceIdentifier m_resourceIdentifier;
148 bool m_resourceIdentifierHasBeenSet = false;
149
150 int m_maxResults;
151 bool m_maxResultsHasBeenSet = false;
152
153 Aws::String m_nextToken;
154 bool m_nextTokenHasBeenSet = false;
155
156 Aws::Utils::DateTime m_startTime;
157 bool m_startTimeHasBeenSet = false;
158
159 Aws::Utils::DateTime m_endTime;
160 bool m_endTimeHasBeenSet = false;
161
162 bool m_listSuppressedFindings;
163 bool m_listSuppressedFindingsHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace IoT
168} // namespace Aws
void SetResourceIdentifier(ResourceIdentifier &&value)
ListAuditFindingsRequest & WithMaxResults(int value)
ListAuditFindingsRequest & WithTaskId(Aws::String &&value)
ListAuditFindingsRequest & WithNextToken(const char *value)
ListAuditFindingsRequest & WithListSuppressedFindings(bool value)
const ResourceIdentifier & GetResourceIdentifier() const
ListAuditFindingsRequest & WithTaskId(const char *value)
AWS_IOT_API Aws::String SerializePayload() const override
ListAuditFindingsRequest & WithResourceIdentifier(ResourceIdentifier &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Utils::DateTime & GetStartTime() const
void SetResourceIdentifier(const ResourceIdentifier &value)
ListAuditFindingsRequest & WithNextToken(Aws::String &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
ListAuditFindingsRequest & WithTaskId(const Aws::String &value)
ListAuditFindingsRequest & WithCheckName(const Aws::String &value)
ListAuditFindingsRequest & WithNextToken(const Aws::String &value)
void SetEndTime(Aws::Utils::DateTime &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetStartTime(Aws::Utils::DateTime &&value)
ListAuditFindingsRequest & WithEndTime(const Aws::Utils::DateTime &value)
ListAuditFindingsRequest & WithStartTime(Aws::Utils::DateTime &&value)
ListAuditFindingsRequest & WithCheckName(Aws::String &&value)
ListAuditFindingsRequest & WithEndTime(Aws::Utils::DateTime &&value)
ListAuditFindingsRequest & WithCheckName(const char *value)
ListAuditFindingsRequest & WithStartTime(const Aws::Utils::DateTime &value)
ListAuditFindingsRequest & WithResourceIdentifier(const ResourceIdentifier &value)
const Aws::Utils::DateTime & GetEndTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String