/** * 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 { /** *

Returns details of a resource evaluation.

See Also:

AWS * API Reference

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

The ResourceEvaluationId of a evaluation.

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

The ResourceEvaluationId of a evaluation.

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

The ResourceEvaluationId of a evaluation.

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

The ResourceEvaluationId of a evaluation.

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

The ResourceEvaluationId of a evaluation.

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

The ResourceEvaluationId of a evaluation.

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

The ResourceEvaluationId of a evaluation.

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

The ResourceEvaluationId of a evaluation.

*/ inline ResourceEvaluation& WithResourceEvaluationId(const char* value) { SetResourceEvaluationId(value); return *this;} /** *

The mode of an evaluation. The valid values are Detective or Proactive.

*/ inline const EvaluationMode& GetEvaluationMode() const{ return m_evaluationMode; } /** *

The mode of an evaluation. The valid values are Detective or Proactive.

*/ inline bool EvaluationModeHasBeenSet() const { return m_evaluationModeHasBeenSet; } /** *

The mode of an evaluation. The valid values are Detective or Proactive.

*/ inline void SetEvaluationMode(const EvaluationMode& value) { m_evaluationModeHasBeenSet = true; m_evaluationMode = value; } /** *

The mode of an evaluation. The valid values are Detective or Proactive.

*/ inline void SetEvaluationMode(EvaluationMode&& value) { m_evaluationModeHasBeenSet = true; m_evaluationMode = std::move(value); } /** *

The mode of an evaluation. The valid values are Detective or Proactive.

*/ inline ResourceEvaluation& WithEvaluationMode(const EvaluationMode& value) { SetEvaluationMode(value); return *this;} /** *

The mode of an evaluation. The valid values are Detective or Proactive.

*/ inline ResourceEvaluation& WithEvaluationMode(EvaluationMode&& value) { SetEvaluationMode(std::move(value)); return *this;} /** *

The starting time of an execution.

*/ inline const Aws::Utils::DateTime& GetEvaluationStartTimestamp() const{ return m_evaluationStartTimestamp; } /** *

The starting time of an execution.

*/ inline bool EvaluationStartTimestampHasBeenSet() const { return m_evaluationStartTimestampHasBeenSet; } /** *

The starting time of an execution.

*/ inline void SetEvaluationStartTimestamp(const Aws::Utils::DateTime& value) { m_evaluationStartTimestampHasBeenSet = true; m_evaluationStartTimestamp = value; } /** *

The starting time of an execution.

*/ inline void SetEvaluationStartTimestamp(Aws::Utils::DateTime&& value) { m_evaluationStartTimestampHasBeenSet = true; m_evaluationStartTimestamp = std::move(value); } /** *

The starting time of an execution.

*/ inline ResourceEvaluation& WithEvaluationStartTimestamp(const Aws::Utils::DateTime& value) { SetEvaluationStartTimestamp(value); return *this;} /** *

The starting time of an execution.

*/ inline ResourceEvaluation& WithEvaluationStartTimestamp(Aws::Utils::DateTime&& value) { SetEvaluationStartTimestamp(std::move(value)); return *this;} private: Aws::String m_resourceEvaluationId; bool m_resourceEvaluationIdHasBeenSet = false; EvaluationMode m_evaluationMode; bool m_evaluationModeHasBeenSet = false; Aws::Utils::DateTime m_evaluationStartTimestamp; bool m_evaluationStartTimestampHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws