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

Information about the status of the rule evaluation.

See Also:

* AWS * API Reference

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

The name of the rule configuration.

*/ inline const Aws::String& GetRuleConfigurationName() const{ return m_ruleConfigurationName; } /** *

The name of the rule configuration.

*/ inline bool RuleConfigurationNameHasBeenSet() const { return m_ruleConfigurationNameHasBeenSet; } /** *

The name of the rule configuration.

*/ inline void SetRuleConfigurationName(const Aws::String& value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName = value; } /** *

The name of the rule configuration.

*/ inline void SetRuleConfigurationName(Aws::String&& value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName = std::move(value); } /** *

The name of the rule configuration.

*/ inline void SetRuleConfigurationName(const char* value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName.assign(value); } /** *

The name of the rule configuration.

*/ inline DebugRuleEvaluationStatus& WithRuleConfigurationName(const Aws::String& value) { SetRuleConfigurationName(value); return *this;} /** *

The name of the rule configuration.

*/ inline DebugRuleEvaluationStatus& WithRuleConfigurationName(Aws::String&& value) { SetRuleConfigurationName(std::move(value)); return *this;} /** *

The name of the rule configuration.

*/ inline DebugRuleEvaluationStatus& WithRuleConfigurationName(const char* value) { SetRuleConfigurationName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the rule evaluation job.

*/ inline const Aws::String& GetRuleEvaluationJobArn() const{ return m_ruleEvaluationJobArn; } /** *

The Amazon Resource Name (ARN) of the rule evaluation job.

*/ inline bool RuleEvaluationJobArnHasBeenSet() const { return m_ruleEvaluationJobArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the rule evaluation job.

*/ inline void SetRuleEvaluationJobArn(const Aws::String& value) { m_ruleEvaluationJobArnHasBeenSet = true; m_ruleEvaluationJobArn = value; } /** *

The Amazon Resource Name (ARN) of the rule evaluation job.

*/ inline void SetRuleEvaluationJobArn(Aws::String&& value) { m_ruleEvaluationJobArnHasBeenSet = true; m_ruleEvaluationJobArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the rule evaluation job.

*/ inline void SetRuleEvaluationJobArn(const char* value) { m_ruleEvaluationJobArnHasBeenSet = true; m_ruleEvaluationJobArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the rule evaluation job.

*/ inline DebugRuleEvaluationStatus& WithRuleEvaluationJobArn(const Aws::String& value) { SetRuleEvaluationJobArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the rule evaluation job.

*/ inline DebugRuleEvaluationStatus& WithRuleEvaluationJobArn(Aws::String&& value) { SetRuleEvaluationJobArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the rule evaluation job.

*/ inline DebugRuleEvaluationStatus& WithRuleEvaluationJobArn(const char* value) { SetRuleEvaluationJobArn(value); return *this;} /** *

Status of the rule evaluation.

*/ inline const RuleEvaluationStatus& GetRuleEvaluationStatus() const{ return m_ruleEvaluationStatus; } /** *

Status of the rule evaluation.

*/ inline bool RuleEvaluationStatusHasBeenSet() const { return m_ruleEvaluationStatusHasBeenSet; } /** *

Status of the rule evaluation.

*/ inline void SetRuleEvaluationStatus(const RuleEvaluationStatus& value) { m_ruleEvaluationStatusHasBeenSet = true; m_ruleEvaluationStatus = value; } /** *

Status of the rule evaluation.

*/ inline void SetRuleEvaluationStatus(RuleEvaluationStatus&& value) { m_ruleEvaluationStatusHasBeenSet = true; m_ruleEvaluationStatus = std::move(value); } /** *

Status of the rule evaluation.

*/ inline DebugRuleEvaluationStatus& WithRuleEvaluationStatus(const RuleEvaluationStatus& value) { SetRuleEvaluationStatus(value); return *this;} /** *

Status of the rule evaluation.

*/ inline DebugRuleEvaluationStatus& WithRuleEvaluationStatus(RuleEvaluationStatus&& value) { SetRuleEvaluationStatus(std::move(value)); return *this;} /** *

Details from the rule evaluation.

*/ inline const Aws::String& GetStatusDetails() const{ return m_statusDetails; } /** *

Details from the rule evaluation.

*/ inline bool StatusDetailsHasBeenSet() const { return m_statusDetailsHasBeenSet; } /** *

Details from the rule evaluation.

*/ inline void SetStatusDetails(const Aws::String& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = value; } /** *

Details from the rule evaluation.

*/ inline void SetStatusDetails(Aws::String&& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = std::move(value); } /** *

Details from the rule evaluation.

*/ inline void SetStatusDetails(const char* value) { m_statusDetailsHasBeenSet = true; m_statusDetails.assign(value); } /** *

Details from the rule evaluation.

*/ inline DebugRuleEvaluationStatus& WithStatusDetails(const Aws::String& value) { SetStatusDetails(value); return *this;} /** *

Details from the rule evaluation.

*/ inline DebugRuleEvaluationStatus& WithStatusDetails(Aws::String&& value) { SetStatusDetails(std::move(value)); return *this;} /** *

Details from the rule evaluation.

*/ inline DebugRuleEvaluationStatus& WithStatusDetails(const char* value) { SetStatusDetails(value); return *this;} /** *

Timestamp when the rule evaluation status was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

Timestamp when the rule evaluation status was last modified.

*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

Timestamp when the rule evaluation status was last modified.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *

Timestamp when the rule evaluation status was last modified.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *

Timestamp when the rule evaluation status was last modified.

*/ inline DebugRuleEvaluationStatus& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

Timestamp when the rule evaluation status was last modified.

*/ inline DebugRuleEvaluationStatus& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} private: Aws::String m_ruleConfigurationName; bool m_ruleConfigurationNameHasBeenSet = false; Aws::String m_ruleEvaluationJobArn; bool m_ruleEvaluationJobArnHasBeenSet = false; RuleEvaluationStatus m_ruleEvaluationStatus; bool m_ruleEvaluationStatusHasBeenSet = false; Aws::String m_statusDetails; bool m_statusDetailsHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws