/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details of an Config evaluation for an account ID and region in an
* aggregator. Provides the Amazon Web Services resource that was evaluated, the
* compliance of the resource, related time stamps, and supplementary information.
* See Also:
AWS
* API Reference
Uniquely identifies the evaluation result.
*/ inline const EvaluationResultIdentifier& GetEvaluationResultIdentifier() const{ return m_evaluationResultIdentifier; } /** *Uniquely identifies the evaluation result.
*/ inline bool EvaluationResultIdentifierHasBeenSet() const { return m_evaluationResultIdentifierHasBeenSet; } /** *Uniquely identifies the evaluation result.
*/ inline void SetEvaluationResultIdentifier(const EvaluationResultIdentifier& value) { m_evaluationResultIdentifierHasBeenSet = true; m_evaluationResultIdentifier = value; } /** *Uniquely identifies the evaluation result.
*/ inline void SetEvaluationResultIdentifier(EvaluationResultIdentifier&& value) { m_evaluationResultIdentifierHasBeenSet = true; m_evaluationResultIdentifier = std::move(value); } /** *Uniquely identifies the evaluation result.
*/ inline AggregateEvaluationResult& WithEvaluationResultIdentifier(const EvaluationResultIdentifier& value) { SetEvaluationResultIdentifier(value); return *this;} /** *Uniquely identifies the evaluation result.
*/ inline AggregateEvaluationResult& WithEvaluationResultIdentifier(EvaluationResultIdentifier&& value) { SetEvaluationResultIdentifier(std::move(value)); return *this;} /** *The resource compliance status.
For the
* AggregationEvaluationResult
data type, Config supports only the
* COMPLIANT
and NON_COMPLIANT
. Config does not support
* the NOT_APPLICABLE
and INSUFFICIENT_DATA
value.
The resource compliance status.
For the
* AggregationEvaluationResult
data type, Config supports only the
* COMPLIANT
and NON_COMPLIANT
. Config does not support
* the NOT_APPLICABLE
and INSUFFICIENT_DATA
value.
The resource compliance status.
For the
* AggregationEvaluationResult
data type, Config supports only the
* COMPLIANT
and NON_COMPLIANT
. Config does not support
* the NOT_APPLICABLE
and INSUFFICIENT_DATA
value.
The resource compliance status.
For the
* AggregationEvaluationResult
data type, Config supports only the
* COMPLIANT
and NON_COMPLIANT
. Config does not support
* the NOT_APPLICABLE
and INSUFFICIENT_DATA
value.
The resource compliance status.
For the
* AggregationEvaluationResult
data type, Config supports only the
* COMPLIANT
and NON_COMPLIANT
. Config does not support
* the NOT_APPLICABLE
and INSUFFICIENT_DATA
value.
The resource compliance status.
For the
* AggregationEvaluationResult
data type, Config supports only the
* COMPLIANT
and NON_COMPLIANT
. Config does not support
* the NOT_APPLICABLE
and INSUFFICIENT_DATA
value.
The time when Config recorded the aggregate evaluation result.
*/ inline const Aws::Utils::DateTime& GetResultRecordedTime() const{ return m_resultRecordedTime; } /** *The time when Config recorded the aggregate evaluation result.
*/ inline bool ResultRecordedTimeHasBeenSet() const { return m_resultRecordedTimeHasBeenSet; } /** *The time when Config recorded the aggregate evaluation result.
*/ inline void SetResultRecordedTime(const Aws::Utils::DateTime& value) { m_resultRecordedTimeHasBeenSet = true; m_resultRecordedTime = value; } /** *The time when Config recorded the aggregate evaluation result.
*/ inline void SetResultRecordedTime(Aws::Utils::DateTime&& value) { m_resultRecordedTimeHasBeenSet = true; m_resultRecordedTime = std::move(value); } /** *The time when Config recorded the aggregate evaluation result.
*/ inline AggregateEvaluationResult& WithResultRecordedTime(const Aws::Utils::DateTime& value) { SetResultRecordedTime(value); return *this;} /** *The time when Config recorded the aggregate evaluation result.
*/ inline AggregateEvaluationResult& WithResultRecordedTime(Aws::Utils::DateTime&& value) { SetResultRecordedTime(std::move(value)); return *this;} /** *The time when the Config rule evaluated the Amazon Web Services resource.
*/ inline const Aws::Utils::DateTime& GetConfigRuleInvokedTime() const{ return m_configRuleInvokedTime; } /** *The time when the Config rule evaluated the Amazon Web Services resource.
*/ inline bool ConfigRuleInvokedTimeHasBeenSet() const { return m_configRuleInvokedTimeHasBeenSet; } /** *The time when the Config rule evaluated the Amazon Web Services resource.
*/ inline void SetConfigRuleInvokedTime(const Aws::Utils::DateTime& value) { m_configRuleInvokedTimeHasBeenSet = true; m_configRuleInvokedTime = value; } /** *The time when the Config rule evaluated the Amazon Web Services resource.
*/ inline void SetConfigRuleInvokedTime(Aws::Utils::DateTime&& value) { m_configRuleInvokedTimeHasBeenSet = true; m_configRuleInvokedTime = std::move(value); } /** *The time when the Config rule evaluated the Amazon Web Services resource.
*/ inline AggregateEvaluationResult& WithConfigRuleInvokedTime(const Aws::Utils::DateTime& value) { SetConfigRuleInvokedTime(value); return *this;} /** *The time when the Config rule evaluated the Amazon Web Services resource.
*/ inline AggregateEvaluationResult& WithConfigRuleInvokedTime(Aws::Utils::DateTime&& value) { SetConfigRuleInvokedTime(std::move(value)); return *this;} /** *Supplementary information about how the agrregate evaluation determined the * compliance.
*/ inline const Aws::String& GetAnnotation() const{ return m_annotation; } /** *Supplementary information about how the agrregate evaluation determined the * compliance.
*/ inline bool AnnotationHasBeenSet() const { return m_annotationHasBeenSet; } /** *Supplementary information about how the agrregate evaluation determined the * compliance.
*/ inline void SetAnnotation(const Aws::String& value) { m_annotationHasBeenSet = true; m_annotation = value; } /** *Supplementary information about how the agrregate evaluation determined the * compliance.
*/ inline void SetAnnotation(Aws::String&& value) { m_annotationHasBeenSet = true; m_annotation = std::move(value); } /** *Supplementary information about how the agrregate evaluation determined the * compliance.
*/ inline void SetAnnotation(const char* value) { m_annotationHasBeenSet = true; m_annotation.assign(value); } /** *Supplementary information about how the agrregate evaluation determined the * compliance.
*/ inline AggregateEvaluationResult& WithAnnotation(const Aws::String& value) { SetAnnotation(value); return *this;} /** *Supplementary information about how the agrregate evaluation determined the * compliance.
*/ inline AggregateEvaluationResult& WithAnnotation(Aws::String&& value) { SetAnnotation(std::move(value)); return *this;} /** *Supplementary information about how the agrregate evaluation determined the * compliance.
*/ inline AggregateEvaluationResult& WithAnnotation(const char* value) { SetAnnotation(value); return *this;} /** *The 12-digit account ID of the source account.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The 12-digit account ID of the source account.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The 12-digit account ID of the source account.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The 12-digit account ID of the source account.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The 12-digit account ID of the source account.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The 12-digit account ID of the source account.
*/ inline AggregateEvaluationResult& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The 12-digit account ID of the source account.
*/ inline AggregateEvaluationResult& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The 12-digit account ID of the source account.
*/ inline AggregateEvaluationResult& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *The source region from where the data is aggregated.
*/ inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; } /** *The source region from where the data is aggregated.
*/ inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; } /** *The source region from where the data is aggregated.
*/ inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; } /** *The source region from where the data is aggregated.
*/ inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); } /** *The source region from where the data is aggregated.
*/ inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); } /** *The source region from where the data is aggregated.
*/ inline AggregateEvaluationResult& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;} /** *The source region from where the data is aggregated.
*/ inline AggregateEvaluationResult& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;} /** *The source region from where the data is aggregated.
*/ inline AggregateEvaluationResult& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;} private: EvaluationResultIdentifier m_evaluationResultIdentifier; bool m_evaluationResultIdentifierHasBeenSet = false; ComplianceType m_complianceType; bool m_complianceTypeHasBeenSet = false; Aws::Utils::DateTime m_resultRecordedTime; bool m_resultRecordedTimeHasBeenSet = false; Aws::Utils::DateTime m_configRuleInvokedTime; bool m_configRuleInvokedTimeHasBeenSet = false; Aws::String m_annotation; bool m_annotationHasBeenSet = false; Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_awsRegion; bool m_awsRegionHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws