7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/AuditFindingSeverity.h>
12#include <aws/iot/model/NonCompliantResource.h>
13#include <aws/iot/model/RelatedResource.h>
46 template <
typename FindingIdT = Aws::String>
48 m_findingIdHasBeenSet =
true;
49 m_findingId = std::forward<FindingIdT>(value);
51 template <
typename FindingIdT = Aws::String>
64 template <
typename TaskIdT = Aws::String>
66 m_taskIdHasBeenSet =
true;
67 m_taskId = std::forward<TaskIdT>(value);
69 template <
typename TaskIdT = Aws::String>
82 template <
typename CheckNameT = Aws::String>
84 m_checkNameHasBeenSet =
true;
85 m_checkName = std::forward<CheckNameT>(value);
87 template <
typename CheckNameT = Aws::String>
100 template <
typename TaskStartTimeT = Aws::Utils::DateTime>
102 m_taskStartTimeHasBeenSet =
true;
103 m_taskStartTime = std::forward<TaskStartTimeT>(value);
105 template <
typename TaskStartTimeT = Aws::Utils::DateTime>
118 template <
typename FindingTimeT = Aws::Utils::DateTime>
120 m_findingTimeHasBeenSet =
true;
121 m_findingTime = std::forward<FindingTimeT>(value);
123 template <
typename FindingTimeT = Aws::Utils::DateTime>
137 m_severityHasBeenSet =
true;
152 template <
typename NonCompliantResourceT = NonCompliantResource>
154 m_nonCompliantResourceHasBeenSet =
true;
155 m_nonCompliantResource = std::forward<NonCompliantResourceT>(value);
157 template <
typename NonCompliantResourceT = NonCompliantResource>
170 template <
typename RelatedResourcesT = Aws::Vector<RelatedResource>>
172 m_relatedResourcesHasBeenSet =
true;
173 m_relatedResources = std::forward<RelatedResourcesT>(value);
175 template <
typename RelatedResourcesT = Aws::Vector<RelatedResource>>
180 template <
typename RelatedResourcesT = RelatedResource>
182 m_relatedResourcesHasBeenSet =
true;
183 m_relatedResources.emplace_back(std::forward<RelatedResourcesT>(value));
194 template <
typename ReasonForNonComplianceT = Aws::String>
196 m_reasonForNonComplianceHasBeenSet =
true;
197 m_reasonForNonCompliance = std::forward<ReasonForNonComplianceT>(value);
199 template <
typename ReasonForNonComplianceT = Aws::String>
212 template <
typename ReasonForNonComplianceCodeT = Aws::String>
214 m_reasonForNonComplianceCodeHasBeenSet =
true;
215 m_reasonForNonComplianceCode = std::forward<ReasonForNonComplianceCodeT>(value);
217 template <
typename ReasonForNonComplianceCodeT = Aws::String>
232 m_isSuppressedHasBeenSet =
true;
233 m_isSuppressed = value;
253 NonCompliantResource m_nonCompliantResource;
261 bool m_isSuppressed{
false};
262 bool m_findingIdHasBeenSet =
false;
263 bool m_taskIdHasBeenSet =
false;
264 bool m_checkNameHasBeenSet =
false;
265 bool m_taskStartTimeHasBeenSet =
false;
266 bool m_findingTimeHasBeenSet =
false;
267 bool m_severityHasBeenSet =
false;
268 bool m_nonCompliantResourceHasBeenSet =
false;
269 bool m_relatedResourcesHasBeenSet =
false;
270 bool m_reasonForNonComplianceHasBeenSet =
false;
271 bool m_reasonForNonComplianceCodeHasBeenSet =
false;
272 bool m_isSuppressedHasBeenSet =
false;
bool FindingIdHasBeenSet() const
void SetIsSuppressed(bool value)
void SetTaskStartTime(TaskStartTimeT &&value)
void SetFindingTime(FindingTimeT &&value)
bool TaskIdHasBeenSet() const
AuditFinding & WithFindingTime(FindingTimeT &&value)
const NonCompliantResource & GetNonCompliantResource() const
AuditFinding & AddRelatedResources(RelatedResourcesT &&value)
const Aws::String & GetCheckName() const
AuditFinding & WithSeverity(AuditFindingSeverity value)
void SetCheckName(CheckNameT &&value)
AuditFinding & WithReasonForNonCompliance(ReasonForNonComplianceT &&value)
AuditFinding & WithFindingId(FindingIdT &&value)
AuditFinding & WithRelatedResources(RelatedResourcesT &&value)
AuditFinding & WithIsSuppressed(bool value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AuditFinding & WithReasonForNonComplianceCode(ReasonForNonComplianceCodeT &&value)
AuditFindingSeverity GetSeverity() const
bool GetIsSuppressed() const
void SetReasonForNonComplianceCode(ReasonForNonComplianceCodeT &&value)
const Aws::String & GetReasonForNonComplianceCode() const
void SetNonCompliantResource(NonCompliantResourceT &&value)
AWS_IOT_API AuditFinding & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RelatedResource > & GetRelatedResources() const
AWS_IOT_API AuditFinding(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetFindingTime() const
void SetFindingId(FindingIdT &&value)
bool ReasonForNonComplianceCodeHasBeenSet() const
bool SeverityHasBeenSet() const
bool CheckNameHasBeenSet() const
void SetReasonForNonCompliance(ReasonForNonComplianceT &&value)
AuditFinding & WithCheckName(CheckNameT &&value)
void SetTaskId(TaskIdT &&value)
void SetSeverity(AuditFindingSeverity value)
AuditFinding & WithTaskStartTime(TaskStartTimeT &&value)
bool RelatedResourcesHasBeenSet() const
AWS_IOT_API AuditFinding()=default
AuditFinding & WithNonCompliantResource(NonCompliantResourceT &&value)
AuditFinding & WithTaskId(TaskIdT &&value)
bool FindingTimeHasBeenSet() const
bool IsSuppressedHasBeenSet() const
bool ReasonForNonComplianceHasBeenSet() const
const Aws::String & GetFindingId() const
const Aws::String & GetTaskId() const
const Aws::String & GetReasonForNonCompliance() const
bool TaskStartTimeHasBeenSet() const
void SetRelatedResources(RelatedResourcesT &&value)
bool NonCompliantResourceHasBeenSet() const
const Aws::Utils::DateTime & GetTaskStartTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue