/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Status information for your AWS managed Config rules. The status includes
* information such as the last time the rule ran, the last time it failed, and the
* related error for the last failure. This action does not return status
* information about custom AWS Config rules.See Also:
AWS
* API Reference
The name of the AWS Config rule.
*/ inline const Aws::String& GetConfigRuleName() const{ return m_configRuleName; } /** *The name of the AWS Config rule.
*/ inline bool ConfigRuleNameHasBeenSet() const { return m_configRuleNameHasBeenSet; } /** *The name of the AWS Config rule.
*/ inline void SetConfigRuleName(const Aws::String& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = value; } /** *The name of the AWS Config rule.
*/ inline void SetConfigRuleName(Aws::String&& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = std::move(value); } /** *The name of the AWS Config rule.
*/ inline void SetConfigRuleName(const char* value) { m_configRuleNameHasBeenSet = true; m_configRuleName.assign(value); } /** *The name of the AWS Config rule.
*/ inline ConfigRuleEvaluationStatus& WithConfigRuleName(const Aws::String& value) { SetConfigRuleName(value); return *this;} /** *The name of the AWS Config rule.
*/ inline ConfigRuleEvaluationStatus& WithConfigRuleName(Aws::String&& value) { SetConfigRuleName(std::move(value)); return *this;} /** *The name of the AWS Config rule.
*/ inline ConfigRuleEvaluationStatus& WithConfigRuleName(const char* value) { SetConfigRuleName(value); return *this;} /** *The Amazon Resource Name (ARN) of the AWS Config rule.
*/ inline const Aws::String& GetConfigRuleArn() const{ return m_configRuleArn; } /** *The Amazon Resource Name (ARN) of the AWS Config rule.
*/ inline bool ConfigRuleArnHasBeenSet() const { return m_configRuleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the AWS Config rule.
*/ inline void SetConfigRuleArn(const Aws::String& value) { m_configRuleArnHasBeenSet = true; m_configRuleArn = value; } /** *The Amazon Resource Name (ARN) of the AWS Config rule.
*/ inline void SetConfigRuleArn(Aws::String&& value) { m_configRuleArnHasBeenSet = true; m_configRuleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the AWS Config rule.
*/ inline void SetConfigRuleArn(const char* value) { m_configRuleArnHasBeenSet = true; m_configRuleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the AWS Config rule.
*/ inline ConfigRuleEvaluationStatus& WithConfigRuleArn(const Aws::String& value) { SetConfigRuleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the AWS Config rule.
*/ inline ConfigRuleEvaluationStatus& WithConfigRuleArn(Aws::String&& value) { SetConfigRuleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the AWS Config rule.
*/ inline ConfigRuleEvaluationStatus& WithConfigRuleArn(const char* value) { SetConfigRuleArn(value); return *this;} /** *The ID of the AWS Config rule.
*/ inline const Aws::String& GetConfigRuleId() const{ return m_configRuleId; } /** *The ID of the AWS Config rule.
*/ inline bool ConfigRuleIdHasBeenSet() const { return m_configRuleIdHasBeenSet; } /** *The ID of the AWS Config rule.
*/ inline void SetConfigRuleId(const Aws::String& value) { m_configRuleIdHasBeenSet = true; m_configRuleId = value; } /** *The ID of the AWS Config rule.
*/ inline void SetConfigRuleId(Aws::String&& value) { m_configRuleIdHasBeenSet = true; m_configRuleId = std::move(value); } /** *The ID of the AWS Config rule.
*/ inline void SetConfigRuleId(const char* value) { m_configRuleIdHasBeenSet = true; m_configRuleId.assign(value); } /** *The ID of the AWS Config rule.
*/ inline ConfigRuleEvaluationStatus& WithConfigRuleId(const Aws::String& value) { SetConfigRuleId(value); return *this;} /** *The ID of the AWS Config rule.
*/ inline ConfigRuleEvaluationStatus& WithConfigRuleId(Aws::String&& value) { SetConfigRuleId(std::move(value)); return *this;} /** *The ID of the AWS Config rule.
*/ inline ConfigRuleEvaluationStatus& WithConfigRuleId(const char* value) { SetConfigRuleId(value); return *this;} /** *The time that AWS Config last successfully invoked the AWS Config rule to * evaluate your AWS resources.
*/ inline const Aws::Utils::DateTime& GetLastSuccessfulInvocationTime() const{ return m_lastSuccessfulInvocationTime; } /** *The time that AWS Config last successfully invoked the AWS Config rule to * evaluate your AWS resources.
*/ inline bool LastSuccessfulInvocationTimeHasBeenSet() const { return m_lastSuccessfulInvocationTimeHasBeenSet; } /** *The time that AWS Config last successfully invoked the AWS Config rule to * evaluate your AWS resources.
*/ inline void SetLastSuccessfulInvocationTime(const Aws::Utils::DateTime& value) { m_lastSuccessfulInvocationTimeHasBeenSet = true; m_lastSuccessfulInvocationTime = value; } /** *The time that AWS Config last successfully invoked the AWS Config rule to * evaluate your AWS resources.
*/ inline void SetLastSuccessfulInvocationTime(Aws::Utils::DateTime&& value) { m_lastSuccessfulInvocationTimeHasBeenSet = true; m_lastSuccessfulInvocationTime = std::move(value); } /** *The time that AWS Config last successfully invoked the AWS Config rule to * evaluate your AWS resources.
*/ inline ConfigRuleEvaluationStatus& WithLastSuccessfulInvocationTime(const Aws::Utils::DateTime& value) { SetLastSuccessfulInvocationTime(value); return *this;} /** *The time that AWS Config last successfully invoked the AWS Config rule to * evaluate your AWS resources.
*/ inline ConfigRuleEvaluationStatus& WithLastSuccessfulInvocationTime(Aws::Utils::DateTime&& value) { SetLastSuccessfulInvocationTime(std::move(value)); return *this;} /** *The time that AWS Config last failed to invoke the AWS Config rule to * evaluate your AWS resources.
*/ inline const Aws::Utils::DateTime& GetLastFailedInvocationTime() const{ return m_lastFailedInvocationTime; } /** *The time that AWS Config last failed to invoke the AWS Config rule to * evaluate your AWS resources.
*/ inline bool LastFailedInvocationTimeHasBeenSet() const { return m_lastFailedInvocationTimeHasBeenSet; } /** *The time that AWS Config last failed to invoke the AWS Config rule to * evaluate your AWS resources.
*/ inline void SetLastFailedInvocationTime(const Aws::Utils::DateTime& value) { m_lastFailedInvocationTimeHasBeenSet = true; m_lastFailedInvocationTime = value; } /** *The time that AWS Config last failed to invoke the AWS Config rule to * evaluate your AWS resources.
*/ inline void SetLastFailedInvocationTime(Aws::Utils::DateTime&& value) { m_lastFailedInvocationTimeHasBeenSet = true; m_lastFailedInvocationTime = std::move(value); } /** *The time that AWS Config last failed to invoke the AWS Config rule to * evaluate your AWS resources.
*/ inline ConfigRuleEvaluationStatus& WithLastFailedInvocationTime(const Aws::Utils::DateTime& value) { SetLastFailedInvocationTime(value); return *this;} /** *The time that AWS Config last failed to invoke the AWS Config rule to * evaluate your AWS resources.
*/ inline ConfigRuleEvaluationStatus& WithLastFailedInvocationTime(Aws::Utils::DateTime&& value) { SetLastFailedInvocationTime(std::move(value)); return *this;} /** *The time that AWS Config last successfully evaluated your AWS resources * against the rule.
*/ inline const Aws::Utils::DateTime& GetLastSuccessfulEvaluationTime() const{ return m_lastSuccessfulEvaluationTime; } /** *The time that AWS Config last successfully evaluated your AWS resources * against the rule.
*/ inline bool LastSuccessfulEvaluationTimeHasBeenSet() const { return m_lastSuccessfulEvaluationTimeHasBeenSet; } /** *The time that AWS Config last successfully evaluated your AWS resources * against the rule.
*/ inline void SetLastSuccessfulEvaluationTime(const Aws::Utils::DateTime& value) { m_lastSuccessfulEvaluationTimeHasBeenSet = true; m_lastSuccessfulEvaluationTime = value; } /** *The time that AWS Config last successfully evaluated your AWS resources * against the rule.
*/ inline void SetLastSuccessfulEvaluationTime(Aws::Utils::DateTime&& value) { m_lastSuccessfulEvaluationTimeHasBeenSet = true; m_lastSuccessfulEvaluationTime = std::move(value); } /** *The time that AWS Config last successfully evaluated your AWS resources * against the rule.
*/ inline ConfigRuleEvaluationStatus& WithLastSuccessfulEvaluationTime(const Aws::Utils::DateTime& value) { SetLastSuccessfulEvaluationTime(value); return *this;} /** *The time that AWS Config last successfully evaluated your AWS resources * against the rule.
*/ inline ConfigRuleEvaluationStatus& WithLastSuccessfulEvaluationTime(Aws::Utils::DateTime&& value) { SetLastSuccessfulEvaluationTime(std::move(value)); return *this;} /** *The time that AWS Config last failed to evaluate your AWS resources against * the rule.
*/ inline const Aws::Utils::DateTime& GetLastFailedEvaluationTime() const{ return m_lastFailedEvaluationTime; } /** *The time that AWS Config last failed to evaluate your AWS resources against * the rule.
*/ inline bool LastFailedEvaluationTimeHasBeenSet() const { return m_lastFailedEvaluationTimeHasBeenSet; } /** *The time that AWS Config last failed to evaluate your AWS resources against * the rule.
*/ inline void SetLastFailedEvaluationTime(const Aws::Utils::DateTime& value) { m_lastFailedEvaluationTimeHasBeenSet = true; m_lastFailedEvaluationTime = value; } /** *The time that AWS Config last failed to evaluate your AWS resources against * the rule.
*/ inline void SetLastFailedEvaluationTime(Aws::Utils::DateTime&& value) { m_lastFailedEvaluationTimeHasBeenSet = true; m_lastFailedEvaluationTime = std::move(value); } /** *The time that AWS Config last failed to evaluate your AWS resources against * the rule.
*/ inline ConfigRuleEvaluationStatus& WithLastFailedEvaluationTime(const Aws::Utils::DateTime& value) { SetLastFailedEvaluationTime(value); return *this;} /** *The time that AWS Config last failed to evaluate your AWS resources against * the rule.
*/ inline ConfigRuleEvaluationStatus& WithLastFailedEvaluationTime(Aws::Utils::DateTime&& value) { SetLastFailedEvaluationTime(std::move(value)); return *this;} /** *The time that you first activated the AWS Config rule.
*/ inline const Aws::Utils::DateTime& GetFirstActivatedTime() const{ return m_firstActivatedTime; } /** *The time that you first activated the AWS Config rule.
*/ inline bool FirstActivatedTimeHasBeenSet() const { return m_firstActivatedTimeHasBeenSet; } /** *The time that you first activated the AWS Config rule.
*/ inline void SetFirstActivatedTime(const Aws::Utils::DateTime& value) { m_firstActivatedTimeHasBeenSet = true; m_firstActivatedTime = value; } /** *The time that you first activated the AWS Config rule.
*/ inline void SetFirstActivatedTime(Aws::Utils::DateTime&& value) { m_firstActivatedTimeHasBeenSet = true; m_firstActivatedTime = std::move(value); } /** *The time that you first activated the AWS Config rule.
*/ inline ConfigRuleEvaluationStatus& WithFirstActivatedTime(const Aws::Utils::DateTime& value) { SetFirstActivatedTime(value); return *this;} /** *The time that you first activated the AWS Config rule.
*/ inline ConfigRuleEvaluationStatus& WithFirstActivatedTime(Aws::Utils::DateTime&& value) { SetFirstActivatedTime(std::move(value)); return *this;} /** *The time that you last turned off the AWS Config rule.
*/ inline const Aws::Utils::DateTime& GetLastDeactivatedTime() const{ return m_lastDeactivatedTime; } /** *The time that you last turned off the AWS Config rule.
*/ inline bool LastDeactivatedTimeHasBeenSet() const { return m_lastDeactivatedTimeHasBeenSet; } /** *The time that you last turned off the AWS Config rule.
*/ inline void SetLastDeactivatedTime(const Aws::Utils::DateTime& value) { m_lastDeactivatedTimeHasBeenSet = true; m_lastDeactivatedTime = value; } /** *The time that you last turned off the AWS Config rule.
*/ inline void SetLastDeactivatedTime(Aws::Utils::DateTime&& value) { m_lastDeactivatedTimeHasBeenSet = true; m_lastDeactivatedTime = std::move(value); } /** *The time that you last turned off the AWS Config rule.
*/ inline ConfigRuleEvaluationStatus& WithLastDeactivatedTime(const Aws::Utils::DateTime& value) { SetLastDeactivatedTime(value); return *this;} /** *The time that you last turned off the AWS Config rule.
*/ inline ConfigRuleEvaluationStatus& WithLastDeactivatedTime(Aws::Utils::DateTime&& value) { SetLastDeactivatedTime(std::move(value)); return *this;} /** *The error code that AWS Config returned when the rule last failed.
*/ inline const Aws::String& GetLastErrorCode() const{ return m_lastErrorCode; } /** *The error code that AWS Config returned when the rule last failed.
*/ inline bool LastErrorCodeHasBeenSet() const { return m_lastErrorCodeHasBeenSet; } /** *The error code that AWS Config returned when the rule last failed.
*/ inline void SetLastErrorCode(const Aws::String& value) { m_lastErrorCodeHasBeenSet = true; m_lastErrorCode = value; } /** *The error code that AWS Config returned when the rule last failed.
*/ inline void SetLastErrorCode(Aws::String&& value) { m_lastErrorCodeHasBeenSet = true; m_lastErrorCode = std::move(value); } /** *The error code that AWS Config returned when the rule last failed.
*/ inline void SetLastErrorCode(const char* value) { m_lastErrorCodeHasBeenSet = true; m_lastErrorCode.assign(value); } /** *The error code that AWS Config returned when the rule last failed.
*/ inline ConfigRuleEvaluationStatus& WithLastErrorCode(const Aws::String& value) { SetLastErrorCode(value); return *this;} /** *The error code that AWS Config returned when the rule last failed.
*/ inline ConfigRuleEvaluationStatus& WithLastErrorCode(Aws::String&& value) { SetLastErrorCode(std::move(value)); return *this;} /** *The error code that AWS Config returned when the rule last failed.
*/ inline ConfigRuleEvaluationStatus& WithLastErrorCode(const char* value) { SetLastErrorCode(value); return *this;} /** *The error message that AWS Config returned when the rule last failed.
*/ inline const Aws::String& GetLastErrorMessage() const{ return m_lastErrorMessage; } /** *The error message that AWS Config returned when the rule last failed.
*/ inline bool LastErrorMessageHasBeenSet() const { return m_lastErrorMessageHasBeenSet; } /** *The error message that AWS Config returned when the rule last failed.
*/ inline void SetLastErrorMessage(const Aws::String& value) { m_lastErrorMessageHasBeenSet = true; m_lastErrorMessage = value; } /** *The error message that AWS Config returned when the rule last failed.
*/ inline void SetLastErrorMessage(Aws::String&& value) { m_lastErrorMessageHasBeenSet = true; m_lastErrorMessage = std::move(value); } /** *The error message that AWS Config returned when the rule last failed.
*/ inline void SetLastErrorMessage(const char* value) { m_lastErrorMessageHasBeenSet = true; m_lastErrorMessage.assign(value); } /** *The error message that AWS Config returned when the rule last failed.
*/ inline ConfigRuleEvaluationStatus& WithLastErrorMessage(const Aws::String& value) { SetLastErrorMessage(value); return *this;} /** *The error message that AWS Config returned when the rule last failed.
*/ inline ConfigRuleEvaluationStatus& WithLastErrorMessage(Aws::String&& value) { SetLastErrorMessage(std::move(value)); return *this;} /** *The error message that AWS Config returned when the rule last failed.
*/ inline ConfigRuleEvaluationStatus& WithLastErrorMessage(const char* value) { SetLastErrorMessage(value); return *this;} /** *Indicates whether AWS Config has evaluated your resources against the rule at * least once.
true - AWS Config has evaluated your
* AWS resources against the rule at least once.
* false - AWS Config has not once finished evaluating your AWS
* resources against the rule.
Indicates whether AWS Config has evaluated your resources against the rule at * least once.
true - AWS Config has evaluated your
* AWS resources against the rule at least once.
* false - AWS Config has not once finished evaluating your AWS
* resources against the rule.
Indicates whether AWS Config has evaluated your resources against the rule at * least once.
true - AWS Config has evaluated your
* AWS resources against the rule at least once.
* false - AWS Config has not once finished evaluating your AWS
* resources against the rule.
Indicates whether AWS Config has evaluated your resources against the rule at * least once.
true - AWS Config has evaluated your
* AWS resources against the rule at least once.
* false - AWS Config has not once finished evaluating your AWS
* resources against the rule.