/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides details of the current status of the invoked remediation action for
* that resource.See Also:
AWS
* API Reference
ENUM of the values.
*/ inline const RemediationExecutionState& GetState() const{ return m_state; } /** *ENUM of the values.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *ENUM of the values.
*/ inline void SetState(const RemediationExecutionState& value) { m_stateHasBeenSet = true; m_state = value; } /** *ENUM of the values.
*/ inline void SetState(RemediationExecutionState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *ENUM of the values.
*/ inline RemediationExecutionStatus& WithState(const RemediationExecutionState& value) { SetState(value); return *this;} /** *ENUM of the values.
*/ inline RemediationExecutionStatus& WithState(RemediationExecutionState&& value) { SetState(std::move(value)); return *this;} /** *Details of every step.
*/ inline const Aws::VectorDetails of every step.
*/ inline bool StepDetailsHasBeenSet() const { return m_stepDetailsHasBeenSet; } /** *Details of every step.
*/ inline void SetStepDetails(const Aws::VectorDetails of every step.
*/ inline void SetStepDetails(Aws::VectorDetails of every step.
*/ inline RemediationExecutionStatus& WithStepDetails(const Aws::VectorDetails of every step.
*/ inline RemediationExecutionStatus& WithStepDetails(Aws::VectorDetails of every step.
*/ inline RemediationExecutionStatus& AddStepDetails(const RemediationExecutionStep& value) { m_stepDetailsHasBeenSet = true; m_stepDetails.push_back(value); return *this; } /** *Details of every step.
*/ inline RemediationExecutionStatus& AddStepDetails(RemediationExecutionStep&& value) { m_stepDetailsHasBeenSet = true; m_stepDetails.push_back(std::move(value)); return *this; } /** *Start time when the remediation was executed.
*/ inline const Aws::Utils::DateTime& GetInvocationTime() const{ return m_invocationTime; } /** *Start time when the remediation was executed.
*/ inline bool InvocationTimeHasBeenSet() const { return m_invocationTimeHasBeenSet; } /** *Start time when the remediation was executed.
*/ inline void SetInvocationTime(const Aws::Utils::DateTime& value) { m_invocationTimeHasBeenSet = true; m_invocationTime = value; } /** *Start time when the remediation was executed.
*/ inline void SetInvocationTime(Aws::Utils::DateTime&& value) { m_invocationTimeHasBeenSet = true; m_invocationTime = std::move(value); } /** *Start time when the remediation was executed.
*/ inline RemediationExecutionStatus& WithInvocationTime(const Aws::Utils::DateTime& value) { SetInvocationTime(value); return *this;} /** *Start time when the remediation was executed.
*/ inline RemediationExecutionStatus& WithInvocationTime(Aws::Utils::DateTime&& value) { SetInvocationTime(std::move(value)); return *this;} /** *The time when the remediation execution was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *The time when the remediation execution was last updated.
*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *The time when the remediation execution was last updated.
*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *The time when the remediation execution was last updated.
*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *The time when the remediation execution was last updated.
*/ inline RemediationExecutionStatus& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *The time when the remediation execution was last updated.
*/ inline RemediationExecutionStatus& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} private: ResourceKey m_resourceKey; bool m_resourceKeyHasBeenSet = false; RemediationExecutionState m_state; bool m_stateHasBeenSet = false; Aws::Vector