AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
26 AWS_IOT_API ListAuditFindingsRequest() = default;
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 template<typename TaskIdT = Aws::String>
45 void SetTaskId(TaskIdT&& value) { m_taskIdHasBeenSet = true; m_taskId = std::forward<TaskIdT>(value); }
46 template<typename TaskIdT = Aws::String>
47 ListAuditFindingsRequest& WithTaskId(TaskIdT&& value) { SetTaskId(std::forward<TaskIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetCheckName() const { return m_checkName; }
55 inline bool CheckNameHasBeenSet() const { return m_checkNameHasBeenSet; }
56 template<typename CheckNameT = Aws::String>
57 void SetCheckName(CheckNameT&& value) { m_checkNameHasBeenSet = true; m_checkName = std::forward<CheckNameT>(value); }
58 template<typename CheckNameT = Aws::String>
59 ListAuditFindingsRequest& WithCheckName(CheckNameT&& value) { SetCheckName(std::forward<CheckNameT>(value)); return *this;}
61
63
66 inline const ResourceIdentifier& GetResourceIdentifier() const { return m_resourceIdentifier; }
67 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
68 template<typename ResourceIdentifierT = ResourceIdentifier>
69 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
70 template<typename ResourceIdentifierT = ResourceIdentifier>
71 ListAuditFindingsRequest& WithResourceIdentifier(ResourceIdentifierT&& value) { SetResourceIdentifier(std::forward<ResourceIdentifierT>(value)); return *this;}
73
75
78 inline int GetMaxResults() const { return m_maxResults; }
79 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
80 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
81 inline ListAuditFindingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
83
85
88 inline const Aws::String& GetNextToken() const { return m_nextToken; }
89 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
90 template<typename NextTokenT = Aws::String>
91 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
92 template<typename NextTokenT = Aws::String>
93 ListAuditFindingsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
95
97
101 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
102 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
103 template<typename StartTimeT = Aws::Utils::DateTime>
104 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
105 template<typename StartTimeT = Aws::Utils::DateTime>
106 ListAuditFindingsRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
108
110
114 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
115 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
116 template<typename EndTimeT = Aws::Utils::DateTime>
117 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
118 template<typename EndTimeT = Aws::Utils::DateTime>
119 ListAuditFindingsRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
121
123
128 inline bool GetListSuppressedFindings() const { return m_listSuppressedFindings; }
129 inline bool ListSuppressedFindingsHasBeenSet() const { return m_listSuppressedFindingsHasBeenSet; }
130 inline void SetListSuppressedFindings(bool value) { m_listSuppressedFindingsHasBeenSet = true; m_listSuppressedFindings = value; }
133 private:
134
135 Aws::String m_taskId;
136 bool m_taskIdHasBeenSet = false;
137
138 Aws::String m_checkName;
139 bool m_checkNameHasBeenSet = false;
140
141 ResourceIdentifier m_resourceIdentifier;
142 bool m_resourceIdentifierHasBeenSet = false;
143
144 int m_maxResults{0};
145 bool m_maxResultsHasBeenSet = false;
146
147 Aws::String m_nextToken;
148 bool m_nextTokenHasBeenSet = false;
149
150 Aws::Utils::DateTime m_startTime{};
151 bool m_startTimeHasBeenSet = false;
152
153 Aws::Utils::DateTime m_endTime{};
154 bool m_endTimeHasBeenSet = false;
155
156 bool m_listSuppressedFindings{false};
157 bool m_listSuppressedFindingsHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace IoT
162} // namespace Aws
ListAuditFindingsRequest & WithMaxResults(int value)
ListAuditFindingsRequest & WithListSuppressedFindings(bool value)
ListAuditFindingsRequest & WithCheckName(CheckNameT &&value)
const ResourceIdentifier & GetResourceIdentifier() const
ListAuditFindingsRequest & WithTaskId(TaskIdT &&value)
AWS_IOT_API Aws::String SerializePayload() const override
ListAuditFindingsRequest & WithEndTime(EndTimeT &&value)
AWS_IOT_API ListAuditFindingsRequest()=default
ListAuditFindingsRequest & WithResourceIdentifier(ResourceIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Utils::DateTime & GetStartTime() const
void SetResourceIdentifier(ResourceIdentifierT &&value)
ListAuditFindingsRequest & WithStartTime(StartTimeT &&value)
ListAuditFindingsRequest & WithNextToken(NextTokenT &&value)
const Aws::Utils::DateTime & GetEndTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String