7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/iot/model/AuditFindingSeverity.h>
11#include <aws/iot/model/NonCompliantResource.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/iot/model/RelatedResource.h>
54 inline void SetFindingId(
const char* value) { m_findingIdHasBeenSet =
true; m_findingId.assign(value); }
68 inline void SetTaskId(
const char* value) { m_taskIdHasBeenSet =
true; m_taskId.assign(value); }
82 inline void SetCheckName(
const char* value) { m_checkNameHasBeenSet =
true; m_checkName.assign(value); }
158 inline void SetReasonForNonCompliance(
const char* value) { m_reasonForNonComplianceHasBeenSet =
true; m_reasonForNonCompliance.assign(value); }
185 inline void SetIsSuppressed(
bool value) { m_isSuppressedHasBeenSet =
true; m_isSuppressed = value; }
191 bool m_findingIdHasBeenSet =
false;
194 bool m_taskIdHasBeenSet =
false;
197 bool m_checkNameHasBeenSet =
false;
200 bool m_taskStartTimeHasBeenSet =
false;
203 bool m_findingTimeHasBeenSet =
false;
206 bool m_severityHasBeenSet =
false;
209 bool m_nonCompliantResourceHasBeenSet =
false;
212 bool m_relatedResourcesHasBeenSet =
false;
215 bool m_reasonForNonComplianceHasBeenSet =
false;
218 bool m_reasonForNonComplianceCodeHasBeenSet =
false;
221 bool m_isSuppressedHasBeenSet =
false;
bool FindingIdHasBeenSet() const
void SetTaskId(Aws::String &&value)
void SetTaskId(const char *value)
void SetTaskId(const Aws::String &value)
AuditFinding & WithNonCompliantResource(const NonCompliantResource &value)
void SetIsSuppressed(bool value)
void SetRelatedResources(Aws::Vector< RelatedResource > &&value)
void SetSeverity(AuditFindingSeverity &&value)
void SetRelatedResources(const Aws::Vector< RelatedResource > &value)
void SetCheckName(Aws::String &&value)
bool TaskIdHasBeenSet() const
void SetFindingTime(Aws::Utils::DateTime &&value)
const NonCompliantResource & GetNonCompliantResource() const
void SetReasonForNonCompliance(const char *value)
void SetReasonForNonComplianceCode(const Aws::String &value)
AuditFinding & WithTaskId(const Aws::String &value)
const Aws::String & GetCheckName() const
void SetNonCompliantResource(NonCompliantResource &&value)
AuditFinding & WithReasonForNonCompliance(Aws::String &&value)
AuditFinding & WithReasonForNonComplianceCode(Aws::String &&value)
const AuditFindingSeverity & GetSeverity() const
AuditFinding & WithIsSuppressed(bool value)
void SetTaskStartTime(const Aws::Utils::DateTime &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AuditFinding & WithSeverity(AuditFindingSeverity &&value)
AuditFinding & WithSeverity(const AuditFindingSeverity &value)
void SetFindingId(const Aws::String &value)
AuditFinding & WithRelatedResources(Aws::Vector< RelatedResource > &&value)
bool GetIsSuppressed() const
AuditFinding & WithCheckName(const Aws::String &value)
const Aws::String & GetReasonForNonComplianceCode() const
AWS_IOT_API AuditFinding()
AWS_IOT_API AuditFinding & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCheckName(const Aws::String &value)
const Aws::Vector< RelatedResource > & GetRelatedResources() const
AuditFinding & WithTaskStartTime(Aws::Utils::DateTime &&value)
AuditFinding & WithCheckName(const char *value)
AuditFinding & WithFindingId(const char *value)
AuditFinding & WithReasonForNonComplianceCode(const char *value)
AWS_IOT_API AuditFinding(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetFindingTime() const
void SetCheckName(const char *value)
bool ReasonForNonComplianceCodeHasBeenSet() const
bool SeverityHasBeenSet() const
AuditFinding & WithNonCompliantResource(NonCompliantResource &&value)
bool CheckNameHasBeenSet() const
AuditFinding & AddRelatedResources(RelatedResource &&value)
void SetFindingId(Aws::String &&value)
void SetNonCompliantResource(const NonCompliantResource &value)
AuditFinding & WithReasonForNonCompliance(const char *value)
void SetFindingId(const char *value)
AuditFinding & WithReasonForNonCompliance(const Aws::String &value)
bool RelatedResourcesHasBeenSet() const
AuditFinding & WithFindingId(const Aws::String &value)
AuditFinding & WithRelatedResources(const Aws::Vector< RelatedResource > &value)
AuditFinding & WithTaskStartTime(const Aws::Utils::DateTime &value)
AuditFinding & WithTaskId(Aws::String &&value)
AuditFinding & WithReasonForNonComplianceCode(const Aws::String &value)
AuditFinding & WithFindingId(Aws::String &&value)
bool FindingTimeHasBeenSet() const
AuditFinding & WithCheckName(Aws::String &&value)
bool IsSuppressedHasBeenSet() const
bool ReasonForNonComplianceHasBeenSet() const
const Aws::String & GetFindingId() const
void SetReasonForNonCompliance(Aws::String &&value)
void SetFindingTime(const Aws::Utils::DateTime &value)
const Aws::String & GetTaskId() const
void SetReasonForNonCompliance(const Aws::String &value)
void SetReasonForNonComplianceCode(Aws::String &&value)
void SetReasonForNonComplianceCode(const char *value)
const Aws::String & GetReasonForNonCompliance() const
AuditFinding & WithTaskId(const char *value)
AuditFinding & AddRelatedResources(const RelatedResource &value)
bool TaskStartTimeHasBeenSet() const
void SetTaskStartTime(Aws::Utils::DateTime &&value)
AuditFinding & WithFindingTime(Aws::Utils::DateTime &&value)
void SetSeverity(const AuditFindingSeverity &value)
bool NonCompliantResourceHasBeenSet() const
AuditFinding & WithFindingTime(const Aws::Utils::DateTime &value)
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