/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A summary of the latest analytics data for a specific control. This
* data reflects the total counts for the specified control across all active
* assessments. Control insights are grouped by control domain, and ranked by the
* highest total count of non-compliant evidence.See Also:
AWS
* API Reference
The name of the control.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the control.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the control.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the control.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the control.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the control.
*/ inline ControlInsightsMetadataItem& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the control.
*/ inline ControlInsightsMetadataItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the control.
*/ inline ControlInsightsMetadataItem& WithName(const char* value) { SetName(value); return *this;} /** *The unique identifier for the control.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique identifier for the control.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique identifier for the control.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique identifier for the control.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique identifier for the control.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique identifier for the control.
*/ inline ControlInsightsMetadataItem& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique identifier for the control.
*/ inline ControlInsightsMetadataItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique identifier for the control.
*/ inline ControlInsightsMetadataItem& WithId(const char* value) { SetId(value); return *this;} /** *A breakdown of the compliance check status for the evidence that’s associated * with the control.
*/ inline const EvidenceInsights& GetEvidenceInsights() const{ return m_evidenceInsights; } /** *A breakdown of the compliance check status for the evidence that’s associated * with the control.
*/ inline bool EvidenceInsightsHasBeenSet() const { return m_evidenceInsightsHasBeenSet; } /** *A breakdown of the compliance check status for the evidence that’s associated * with the control.
*/ 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.
*/ 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.
*/ inline ControlInsightsMetadataItem& WithEvidenceInsights(const EvidenceInsights& value) { SetEvidenceInsights(value); return *this;} /** *A breakdown of the compliance check status for the evidence that’s associated * with the control.
*/ inline ControlInsightsMetadataItem& WithEvidenceInsights(EvidenceInsights&& value) { SetEvidenceInsights(std::move(value)); return *this;} /** *The time when the control insights were last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; } /** *The time when the control insights were last updated.
*/ inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; } /** *The time when the control insights were last updated.
*/ inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; } /** *The time when the control insights were last updated.
*/ inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); } /** *The time when the control insights were last updated.
*/ inline ControlInsightsMetadataItem& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;} /** *The time when the control insights were last updated.
*/ inline ControlInsightsMetadataItem& 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; EvidenceInsights m_evidenceInsights; bool m_evidenceInsightsHasBeenSet = false; Aws::Utils::DateTime m_lastUpdated; bool m_lastUpdatedHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws