/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details of a conformance pack evaluation. Provides Config rule and Amazon
* Web Services resource type that was evaluated, the compliance of the conformance
* pack, related time stamps, and supplementary information. See
* Also:
AWS
* API Reference
The compliance type. The allowed values are COMPLIANT
and
* NON_COMPLIANT
. INSUFFICIENT_DATA
is not supported.
The compliance type. The allowed values are COMPLIANT
and
* NON_COMPLIANT
. INSUFFICIENT_DATA
is not supported.
The compliance type. The allowed values are COMPLIANT
and
* NON_COMPLIANT
. INSUFFICIENT_DATA
is not supported.
The compliance type. The allowed values are COMPLIANT
and
* NON_COMPLIANT
. INSUFFICIENT_DATA
is not supported.
The compliance type. The allowed values are COMPLIANT
and
* NON_COMPLIANT
. INSUFFICIENT_DATA
is not supported.
The compliance type. The allowed values are COMPLIANT
and
* NON_COMPLIANT
. INSUFFICIENT_DATA
is not supported.
The time when Config rule evaluated Amazon Web Services resource.
*/ inline const Aws::Utils::DateTime& GetConfigRuleInvokedTime() const{ return m_configRuleInvokedTime; } /** *The time when Config rule evaluated Amazon Web Services resource.
*/ inline bool ConfigRuleInvokedTimeHasBeenSet() const { return m_configRuleInvokedTimeHasBeenSet; } /** *The time when Config rule evaluated Amazon Web Services resource.
*/ inline void SetConfigRuleInvokedTime(const Aws::Utils::DateTime& value) { m_configRuleInvokedTimeHasBeenSet = true; m_configRuleInvokedTime = value; } /** *The time when Config rule evaluated Amazon Web Services resource.
*/ inline void SetConfigRuleInvokedTime(Aws::Utils::DateTime&& value) { m_configRuleInvokedTimeHasBeenSet = true; m_configRuleInvokedTime = std::move(value); } /** *The time when Config rule evaluated Amazon Web Services resource.
*/ inline ConformancePackEvaluationResult& WithConfigRuleInvokedTime(const Aws::Utils::DateTime& value) { SetConfigRuleInvokedTime(value); return *this;} /** *The time when Config rule evaluated Amazon Web Services resource.
*/ inline ConformancePackEvaluationResult& WithConfigRuleInvokedTime(Aws::Utils::DateTime&& value) { SetConfigRuleInvokedTime(std::move(value)); return *this;} /** *The time when Config recorded the evaluation result.
*/ inline const Aws::Utils::DateTime& GetResultRecordedTime() const{ return m_resultRecordedTime; } /** *The time when Config recorded the evaluation result.
*/ inline bool ResultRecordedTimeHasBeenSet() const { return m_resultRecordedTimeHasBeenSet; } /** *The time when Config recorded the evaluation result.
*/ inline void SetResultRecordedTime(const Aws::Utils::DateTime& value) { m_resultRecordedTimeHasBeenSet = true; m_resultRecordedTime = value; } /** *The time when Config recorded the evaluation result.
*/ inline void SetResultRecordedTime(Aws::Utils::DateTime&& value) { m_resultRecordedTimeHasBeenSet = true; m_resultRecordedTime = std::move(value); } /** *The time when Config recorded the evaluation result.
*/ inline ConformancePackEvaluationResult& WithResultRecordedTime(const Aws::Utils::DateTime& value) { SetResultRecordedTime(value); return *this;} /** *The time when Config recorded the evaluation result.
*/ inline ConformancePackEvaluationResult& WithResultRecordedTime(Aws::Utils::DateTime&& value) { SetResultRecordedTime(std::move(value)); return *this;} /** *Supplementary information about how the evaluation determined the compliance. *
*/ inline const Aws::String& GetAnnotation() const{ return m_annotation; } /** *Supplementary information about how the evaluation determined the compliance. *
*/ inline bool AnnotationHasBeenSet() const { return m_annotationHasBeenSet; } /** *Supplementary information about how the evaluation determined the compliance. *
*/ inline void SetAnnotation(const Aws::String& value) { m_annotationHasBeenSet = true; m_annotation = value; } /** *Supplementary information about how the evaluation determined the compliance. *
*/ inline void SetAnnotation(Aws::String&& value) { m_annotationHasBeenSet = true; m_annotation = std::move(value); } /** *Supplementary information about how the evaluation determined the compliance. *
*/ inline void SetAnnotation(const char* value) { m_annotationHasBeenSet = true; m_annotation.assign(value); } /** *Supplementary information about how the evaluation determined the compliance. *
*/ inline ConformancePackEvaluationResult& WithAnnotation(const Aws::String& value) { SetAnnotation(value); return *this;} /** *Supplementary information about how the evaluation determined the compliance. *
*/ inline ConformancePackEvaluationResult& WithAnnotation(Aws::String&& value) { SetAnnotation(std::move(value)); return *this;} /** *Supplementary information about how the evaluation determined the compliance. *
*/ inline ConformancePackEvaluationResult& WithAnnotation(const char* value) { SetAnnotation(value); return *this;} private: ConformancePackComplianceType m_complianceType; bool m_complianceTypeHasBeenSet = false; EvaluationResultIdentifier m_evaluationResultIdentifier; bool m_evaluationResultIdentifierHasBeenSet = false; Aws::Utils::DateTime m_configRuleInvokedTime; bool m_configRuleInvokedTimeHasBeenSet = false; Aws::Utils::DateTime m_resultRecordedTime; bool m_resultRecordedTimeHasBeenSet = false; Aws::String m_annotation; bool m_annotationHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws