/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AuditManager { namespace Model { /** *

A summary of the latest analytics data for a specific control domain.

*

Control domain insights are grouped by control domain, and ranked by the * highest total count of non-compliant evidence.

See Also:

AWS * API Reference

*/ class ControlDomainInsights { public: AWS_AUDITMANAGER_API ControlDomainInsights(); AWS_AUDITMANAGER_API ControlDomainInsights(Aws::Utils::Json::JsonView jsonValue); AWS_AUDITMANAGER_API ControlDomainInsights& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the control domain.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the control domain.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the control domain.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the control domain.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the control domain.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the control domain.

*/ inline ControlDomainInsights& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the control domain.

*/ inline ControlDomainInsights& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the control domain.

*/ inline ControlDomainInsights& WithName(const char* value) { SetName(value); return *this;} /** *

The unique identifier for the control domain.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The unique identifier for the control domain.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The unique identifier for the control domain.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The unique identifier for the control domain.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The unique identifier for the control domain.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The unique identifier for the control domain.

*/ inline ControlDomainInsights& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The unique identifier for the control domain.

*/ inline ControlDomainInsights& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The unique identifier for the control domain.

*/ inline ControlDomainInsights& WithId(const char* value) { SetId(value); return *this;} /** *

The number of controls in the control domain that collected non-compliant * evidence on the lastUpdated date.

*/ inline int GetControlsCountByNoncompliantEvidence() const{ return m_controlsCountByNoncompliantEvidence; } /** *

The number of controls in the control domain that collected non-compliant * evidence on the lastUpdated date.

*/ inline bool ControlsCountByNoncompliantEvidenceHasBeenSet() const { return m_controlsCountByNoncompliantEvidenceHasBeenSet; } /** *

The number of controls in the control domain that collected non-compliant * evidence on the lastUpdated date.

*/ inline void SetControlsCountByNoncompliantEvidence(int value) { m_controlsCountByNoncompliantEvidenceHasBeenSet = true; m_controlsCountByNoncompliantEvidence = value; } /** *

The number of controls in the control domain that collected non-compliant * evidence on the lastUpdated date.

*/ inline ControlDomainInsights& WithControlsCountByNoncompliantEvidence(int value) { SetControlsCountByNoncompliantEvidence(value); return *this;} /** *

The total number of controls in the control domain.

*/ inline int GetTotalControlsCount() const{ return m_totalControlsCount; } /** *

The total number of controls in the control domain.

*/ inline bool TotalControlsCountHasBeenSet() const { return m_totalControlsCountHasBeenSet; } /** *

The total number of controls in the control domain.

*/ inline void SetTotalControlsCount(int value) { m_totalControlsCountHasBeenSet = true; m_totalControlsCount = value; } /** *

The total number of controls in the control domain.

*/ inline ControlDomainInsights& WithTotalControlsCount(int value) { SetTotalControlsCount(value); return *this;} /** *

A breakdown of the compliance check status for the evidence that’s associated * with the control domain.

*/ inline const EvidenceInsights& GetEvidenceInsights() const{ return m_evidenceInsights; } /** *

A breakdown of the compliance check status for the evidence that’s associated * with the control domain.

*/ inline bool EvidenceInsightsHasBeenSet() const { return m_evidenceInsightsHasBeenSet; } /** *

A breakdown of the compliance check status for the evidence that’s associated * with the control domain.

*/ inline void SetEvidenceInsights(const EvidenceInsights& value) { m_evidenceInsightsHasBeenSet = true; m_evidenceInsights = value; } /** *

A breakdown of the compliance check status for the evidence that’s associated * with the control domain.

*/ inline void SetEvidenceInsights(EvidenceInsights&& value) { m_evidenceInsightsHasBeenSet = true; m_evidenceInsights = std::move(value); } /** *

A breakdown of the compliance check status for the evidence that’s associated * with the control domain.

*/ inline ControlDomainInsights& WithEvidenceInsights(const EvidenceInsights& value) { SetEvidenceInsights(value); return *this;} /** *

A breakdown of the compliance check status for the evidence that’s associated * with the control domain.

*/ inline ControlDomainInsights& WithEvidenceInsights(EvidenceInsights&& value) { SetEvidenceInsights(std::move(value)); return *this;} /** *

The time when the control domain insights were last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; } /** *

The time when the control domain insights were last updated.

*/ inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; } /** *

The time when the control domain insights were last updated.

*/ inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; } /** *

The time when the control domain insights were last updated.

*/ inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); } /** *

The time when the control domain insights were last updated.

*/ inline ControlDomainInsights& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;} /** *

The time when the control domain insights were last updated.

*/ inline ControlDomainInsights& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; int m_controlsCountByNoncompliantEvidence; bool m_controlsCountByNoncompliantEvidenceHasBeenSet = false; int m_totalControlsCount; bool m_totalControlsCountHasBeenSet = false; EvidenceInsights m_evidenceInsights; bool m_evidenceInsightsHasBeenSet = false; Aws::Utils::DateTime m_lastUpdated; bool m_lastUpdatedHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws