/** * 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 ConfigService { namespace Model { /** *

Uniquely identifies an evaluation result.

See Also:

AWS * API Reference

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

Identifies an Config rule used to evaluate an Amazon Web Services resource, * and provides the type and ID of the evaluated resource.

*/ inline const EvaluationResultQualifier& GetEvaluationResultQualifier() const{ return m_evaluationResultQualifier; } /** *

Identifies an Config rule used to evaluate an Amazon Web Services resource, * and provides the type and ID of the evaluated resource.

*/ inline bool EvaluationResultQualifierHasBeenSet() const { return m_evaluationResultQualifierHasBeenSet; } /** *

Identifies an Config rule used to evaluate an Amazon Web Services resource, * and provides the type and ID of the evaluated resource.

*/ inline void SetEvaluationResultQualifier(const EvaluationResultQualifier& value) { m_evaluationResultQualifierHasBeenSet = true; m_evaluationResultQualifier = value; } /** *

Identifies an Config rule used to evaluate an Amazon Web Services resource, * and provides the type and ID of the evaluated resource.

*/ inline void SetEvaluationResultQualifier(EvaluationResultQualifier&& value) { m_evaluationResultQualifierHasBeenSet = true; m_evaluationResultQualifier = std::move(value); } /** *

Identifies an Config rule used to evaluate an Amazon Web Services resource, * and provides the type and ID of the evaluated resource.

*/ inline EvaluationResultIdentifier& WithEvaluationResultQualifier(const EvaluationResultQualifier& value) { SetEvaluationResultQualifier(value); return *this;} /** *

Identifies an Config rule used to evaluate an Amazon Web Services resource, * and provides the type and ID of the evaluated resource.

*/ inline EvaluationResultIdentifier& WithEvaluationResultQualifier(EvaluationResultQualifier&& value) { SetEvaluationResultQualifier(std::move(value)); return *this;} /** *

The time of the event that triggered the evaluation of your Amazon Web * Services resources. The time can indicate when Config delivered a configuration * item change notification, or it can indicate when Config delivered the * configuration snapshot, depending on which event triggered the evaluation.

*/ inline const Aws::Utils::DateTime& GetOrderingTimestamp() const{ return m_orderingTimestamp; } /** *

The time of the event that triggered the evaluation of your Amazon Web * Services resources. The time can indicate when Config delivered a configuration * item change notification, or it can indicate when Config delivered the * configuration snapshot, depending on which event triggered the evaluation.

*/ inline bool OrderingTimestampHasBeenSet() const { return m_orderingTimestampHasBeenSet; } /** *

The time of the event that triggered the evaluation of your Amazon Web * Services resources. The time can indicate when Config delivered a configuration * item change notification, or it can indicate when Config delivered the * configuration snapshot, depending on which event triggered the evaluation.

*/ inline void SetOrderingTimestamp(const Aws::Utils::DateTime& value) { m_orderingTimestampHasBeenSet = true; m_orderingTimestamp = value; } /** *

The time of the event that triggered the evaluation of your Amazon Web * Services resources. The time can indicate when Config delivered a configuration * item change notification, or it can indicate when Config delivered the * configuration snapshot, depending on which event triggered the evaluation.

*/ inline void SetOrderingTimestamp(Aws::Utils::DateTime&& value) { m_orderingTimestampHasBeenSet = true; m_orderingTimestamp = std::move(value); } /** *

The time of the event that triggered the evaluation of your Amazon Web * Services resources. The time can indicate when Config delivered a configuration * item change notification, or it can indicate when Config delivered the * configuration snapshot, depending on which event triggered the evaluation.

*/ inline EvaluationResultIdentifier& WithOrderingTimestamp(const Aws::Utils::DateTime& value) { SetOrderingTimestamp(value); return *this;} /** *

The time of the event that triggered the evaluation of your Amazon Web * Services resources. The time can indicate when Config delivered a configuration * item change notification, or it can indicate when Config delivered the * configuration snapshot, depending on which event triggered the evaluation.

*/ inline EvaluationResultIdentifier& WithOrderingTimestamp(Aws::Utils::DateTime&& value) { SetOrderingTimestamp(std::move(value)); return *this;} /** *

A Unique ID for an evaluation result.

*/ inline const Aws::String& GetResourceEvaluationId() const{ return m_resourceEvaluationId; } /** *

A Unique ID for an evaluation result.

*/ inline bool ResourceEvaluationIdHasBeenSet() const { return m_resourceEvaluationIdHasBeenSet; } /** *

A Unique ID for an evaluation result.

*/ inline void SetResourceEvaluationId(const Aws::String& value) { m_resourceEvaluationIdHasBeenSet = true; m_resourceEvaluationId = value; } /** *

A Unique ID for an evaluation result.

*/ inline void SetResourceEvaluationId(Aws::String&& value) { m_resourceEvaluationIdHasBeenSet = true; m_resourceEvaluationId = std::move(value); } /** *

A Unique ID for an evaluation result.

*/ inline void SetResourceEvaluationId(const char* value) { m_resourceEvaluationIdHasBeenSet = true; m_resourceEvaluationId.assign(value); } /** *

A Unique ID for an evaluation result.

*/ inline EvaluationResultIdentifier& WithResourceEvaluationId(const Aws::String& value) { SetResourceEvaluationId(value); return *this;} /** *

A Unique ID for an evaluation result.

*/ inline EvaluationResultIdentifier& WithResourceEvaluationId(Aws::String&& value) { SetResourceEvaluationId(std::move(value)); return *this;} /** *

A Unique ID for an evaluation result.

*/ inline EvaluationResultIdentifier& WithResourceEvaluationId(const char* value) { SetResourceEvaluationId(value); return *this;} private: EvaluationResultQualifier m_evaluationResultQualifier; bool m_evaluationResultQualifierHasBeenSet = false; Aws::Utils::DateTime m_orderingTimestamp; bool m_orderingTimestampHasBeenSet = false; Aws::String m_resourceEvaluationId; bool m_resourceEvaluationIdHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws