/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

The container for the metadata for the ClarifyCheck step. For more * information, see the topic on ClarifyCheck * step in the Amazon SageMaker Developer Guide.

See * Also:

AWS * API Reference

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

The type of the Clarify Check step

*/ inline const Aws::String& GetCheckType() const{ return m_checkType; } /** *

The type of the Clarify Check step

*/ inline bool CheckTypeHasBeenSet() const { return m_checkTypeHasBeenSet; } /** *

The type of the Clarify Check step

*/ inline void SetCheckType(const Aws::String& value) { m_checkTypeHasBeenSet = true; m_checkType = value; } /** *

The type of the Clarify Check step

*/ inline void SetCheckType(Aws::String&& value) { m_checkTypeHasBeenSet = true; m_checkType = std::move(value); } /** *

The type of the Clarify Check step

*/ inline void SetCheckType(const char* value) { m_checkTypeHasBeenSet = true; m_checkType.assign(value); } /** *

The type of the Clarify Check step

*/ inline ClarifyCheckStepMetadata& WithCheckType(const Aws::String& value) { SetCheckType(value); return *this;} /** *

The type of the Clarify Check step

*/ inline ClarifyCheckStepMetadata& WithCheckType(Aws::String&& value) { SetCheckType(std::move(value)); return *this;} /** *

The type of the Clarify Check step

*/ inline ClarifyCheckStepMetadata& WithCheckType(const char* value) { SetCheckType(value); return *this;} /** *

The Amazon S3 URI of baseline constraints file to be used for the drift * check.

*/ inline const Aws::String& GetBaselineUsedForDriftCheckConstraints() const{ return m_baselineUsedForDriftCheckConstraints; } /** *

The Amazon S3 URI of baseline constraints file to be used for the drift * check.

*/ inline bool BaselineUsedForDriftCheckConstraintsHasBeenSet() const { return m_baselineUsedForDriftCheckConstraintsHasBeenSet; } /** *

The Amazon S3 URI of baseline constraints file to be used for the drift * check.

*/ inline void SetBaselineUsedForDriftCheckConstraints(const Aws::String& value) { m_baselineUsedForDriftCheckConstraintsHasBeenSet = true; m_baselineUsedForDriftCheckConstraints = value; } /** *

The Amazon S3 URI of baseline constraints file to be used for the drift * check.

*/ inline void SetBaselineUsedForDriftCheckConstraints(Aws::String&& value) { m_baselineUsedForDriftCheckConstraintsHasBeenSet = true; m_baselineUsedForDriftCheckConstraints = std::move(value); } /** *

The Amazon S3 URI of baseline constraints file to be used for the drift * check.

*/ inline void SetBaselineUsedForDriftCheckConstraints(const char* value) { m_baselineUsedForDriftCheckConstraintsHasBeenSet = true; m_baselineUsedForDriftCheckConstraints.assign(value); } /** *

The Amazon S3 URI of baseline constraints file to be used for the drift * check.

*/ inline ClarifyCheckStepMetadata& WithBaselineUsedForDriftCheckConstraints(const Aws::String& value) { SetBaselineUsedForDriftCheckConstraints(value); return *this;} /** *

The Amazon S3 URI of baseline constraints file to be used for the drift * check.

*/ inline ClarifyCheckStepMetadata& WithBaselineUsedForDriftCheckConstraints(Aws::String&& value) { SetBaselineUsedForDriftCheckConstraints(std::move(value)); return *this;} /** *

The Amazon S3 URI of baseline constraints file to be used for the drift * check.

*/ inline ClarifyCheckStepMetadata& WithBaselineUsedForDriftCheckConstraints(const char* value) { SetBaselineUsedForDriftCheckConstraints(value); return *this;} /** *

The Amazon S3 URI of the newly calculated baseline constraints file.

*/ inline const Aws::String& GetCalculatedBaselineConstraints() const{ return m_calculatedBaselineConstraints; } /** *

The Amazon S3 URI of the newly calculated baseline constraints file.

*/ inline bool CalculatedBaselineConstraintsHasBeenSet() const { return m_calculatedBaselineConstraintsHasBeenSet; } /** *

The Amazon S3 URI of the newly calculated baseline constraints file.

*/ inline void SetCalculatedBaselineConstraints(const Aws::String& value) { m_calculatedBaselineConstraintsHasBeenSet = true; m_calculatedBaselineConstraints = value; } /** *

The Amazon S3 URI of the newly calculated baseline constraints file.

*/ inline void SetCalculatedBaselineConstraints(Aws::String&& value) { m_calculatedBaselineConstraintsHasBeenSet = true; m_calculatedBaselineConstraints = std::move(value); } /** *

The Amazon S3 URI of the newly calculated baseline constraints file.

*/ inline void SetCalculatedBaselineConstraints(const char* value) { m_calculatedBaselineConstraintsHasBeenSet = true; m_calculatedBaselineConstraints.assign(value); } /** *

The Amazon S3 URI of the newly calculated baseline constraints file.

*/ inline ClarifyCheckStepMetadata& WithCalculatedBaselineConstraints(const Aws::String& value) { SetCalculatedBaselineConstraints(value); return *this;} /** *

The Amazon S3 URI of the newly calculated baseline constraints file.

*/ inline ClarifyCheckStepMetadata& WithCalculatedBaselineConstraints(Aws::String&& value) { SetCalculatedBaselineConstraints(std::move(value)); return *this;} /** *

The Amazon S3 URI of the newly calculated baseline constraints file.

*/ inline ClarifyCheckStepMetadata& WithCalculatedBaselineConstraints(const char* value) { SetCalculatedBaselineConstraints(value); return *this;} /** *

The model package group name.

*/ inline const Aws::String& GetModelPackageGroupName() const{ return m_modelPackageGroupName; } /** *

The model package group name.

*/ inline bool ModelPackageGroupNameHasBeenSet() const { return m_modelPackageGroupNameHasBeenSet; } /** *

The model package group name.

*/ inline void SetModelPackageGroupName(const Aws::String& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = value; } /** *

The model package group name.

*/ inline void SetModelPackageGroupName(Aws::String&& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = std::move(value); } /** *

The model package group name.

*/ inline void SetModelPackageGroupName(const char* value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName.assign(value); } /** *

The model package group name.

*/ inline ClarifyCheckStepMetadata& WithModelPackageGroupName(const Aws::String& value) { SetModelPackageGroupName(value); return *this;} /** *

The model package group name.

*/ inline ClarifyCheckStepMetadata& WithModelPackageGroupName(Aws::String&& value) { SetModelPackageGroupName(std::move(value)); return *this;} /** *

The model package group name.

*/ inline ClarifyCheckStepMetadata& WithModelPackageGroupName(const char* value) { SetModelPackageGroupName(value); return *this;} /** *

The Amazon S3 URI of the violation report if violations are detected.

*/ inline const Aws::String& GetViolationReport() const{ return m_violationReport; } /** *

The Amazon S3 URI of the violation report if violations are detected.

*/ inline bool ViolationReportHasBeenSet() const { return m_violationReportHasBeenSet; } /** *

The Amazon S3 URI of the violation report if violations are detected.

*/ inline void SetViolationReport(const Aws::String& value) { m_violationReportHasBeenSet = true; m_violationReport = value; } /** *

The Amazon S3 URI of the violation report if violations are detected.

*/ inline void SetViolationReport(Aws::String&& value) { m_violationReportHasBeenSet = true; m_violationReport = std::move(value); } /** *

The Amazon S3 URI of the violation report if violations are detected.

*/ inline void SetViolationReport(const char* value) { m_violationReportHasBeenSet = true; m_violationReport.assign(value); } /** *

The Amazon S3 URI of the violation report if violations are detected.

*/ inline ClarifyCheckStepMetadata& WithViolationReport(const Aws::String& value) { SetViolationReport(value); return *this;} /** *

The Amazon S3 URI of the violation report if violations are detected.

*/ inline ClarifyCheckStepMetadata& WithViolationReport(Aws::String&& value) { SetViolationReport(std::move(value)); return *this;} /** *

The Amazon S3 URI of the violation report if violations are detected.

*/ inline ClarifyCheckStepMetadata& WithViolationReport(const char* value) { SetViolationReport(value); return *this;} /** *

The Amazon Resource Name (ARN) of the check processing job that was run by * this step's execution.

*/ inline const Aws::String& GetCheckJobArn() const{ return m_checkJobArn; } /** *

The Amazon Resource Name (ARN) of the check processing job that was run by * this step's execution.

*/ inline bool CheckJobArnHasBeenSet() const { return m_checkJobArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the check processing job that was run by * this step's execution.

*/ inline void SetCheckJobArn(const Aws::String& value) { m_checkJobArnHasBeenSet = true; m_checkJobArn = value; } /** *

The Amazon Resource Name (ARN) of the check processing job that was run by * this step's execution.

*/ inline void SetCheckJobArn(Aws::String&& value) { m_checkJobArnHasBeenSet = true; m_checkJobArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the check processing job that was run by * this step's execution.

*/ inline void SetCheckJobArn(const char* value) { m_checkJobArnHasBeenSet = true; m_checkJobArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the check processing job that was run by * this step's execution.

*/ inline ClarifyCheckStepMetadata& WithCheckJobArn(const Aws::String& value) { SetCheckJobArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the check processing job that was run by * this step's execution.

*/ inline ClarifyCheckStepMetadata& WithCheckJobArn(Aws::String&& value) { SetCheckJobArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the check processing job that was run by * this step's execution.

*/ inline ClarifyCheckStepMetadata& WithCheckJobArn(const char* value) { SetCheckJobArn(value); return *this;} /** *

This flag indicates if the drift check against the previous baseline will be * skipped or not. If it is set to False, the previous baseline of the * configured check type must be available.

*/ inline bool GetSkipCheck() const{ return m_skipCheck; } /** *

This flag indicates if the drift check against the previous baseline will be * skipped or not. If it is set to False, the previous baseline of the * configured check type must be available.

*/ inline bool SkipCheckHasBeenSet() const { return m_skipCheckHasBeenSet; } /** *

This flag indicates if the drift check against the previous baseline will be * skipped or not. If it is set to False, the previous baseline of the * configured check type must be available.

*/ inline void SetSkipCheck(bool value) { m_skipCheckHasBeenSet = true; m_skipCheck = value; } /** *

This flag indicates if the drift check against the previous baseline will be * skipped or not. If it is set to False, the previous baseline of the * configured check type must be available.

*/ inline ClarifyCheckStepMetadata& WithSkipCheck(bool value) { SetSkipCheck(value); return *this;} /** *

This flag indicates if a newly calculated baseline can be accessed through * step properties BaselineUsedForDriftCheckConstraints and * BaselineUsedForDriftCheckStatistics. If it is set to * False, the previous baseline of the configured check type must also * be available. These can be accessed through the * BaselineUsedForDriftCheckConstraints property.

*/ inline bool GetRegisterNewBaseline() const{ return m_registerNewBaseline; } /** *

This flag indicates if a newly calculated baseline can be accessed through * step properties BaselineUsedForDriftCheckConstraints and * BaselineUsedForDriftCheckStatistics. If it is set to * False, the previous baseline of the configured check type must also * be available. These can be accessed through the * BaselineUsedForDriftCheckConstraints property.

*/ inline bool RegisterNewBaselineHasBeenSet() const { return m_registerNewBaselineHasBeenSet; } /** *

This flag indicates if a newly calculated baseline can be accessed through * step properties BaselineUsedForDriftCheckConstraints and * BaselineUsedForDriftCheckStatistics. If it is set to * False, the previous baseline of the configured check type must also * be available. These can be accessed through the * BaselineUsedForDriftCheckConstraints property.

*/ inline void SetRegisterNewBaseline(bool value) { m_registerNewBaselineHasBeenSet = true; m_registerNewBaseline = value; } /** *

This flag indicates if a newly calculated baseline can be accessed through * step properties BaselineUsedForDriftCheckConstraints and * BaselineUsedForDriftCheckStatistics. If it is set to * False, the previous baseline of the configured check type must also * be available. These can be accessed through the * BaselineUsedForDriftCheckConstraints property.

*/ inline ClarifyCheckStepMetadata& WithRegisterNewBaseline(bool value) { SetRegisterNewBaseline(value); return *this;} private: Aws::String m_checkType; bool m_checkTypeHasBeenSet = false; Aws::String m_baselineUsedForDriftCheckConstraints; bool m_baselineUsedForDriftCheckConstraintsHasBeenSet = false; Aws::String m_calculatedBaselineConstraints; bool m_calculatedBaselineConstraintsHasBeenSet = false; Aws::String m_modelPackageGroupName; bool m_modelPackageGroupNameHasBeenSet = false; Aws::String m_violationReport; bool m_violationReportHasBeenSet = false; Aws::String m_checkJobArn; bool m_checkJobArnHasBeenSet = false; bool m_skipCheck; bool m_skipCheckHasBeenSet = false; bool m_registerNewBaseline; bool m_registerNewBaselineHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws