/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Configuration information for SageMaker Debugger rules for debugging. To
* learn more about how to configure the DebugRuleConfiguration
* parameter, see Use
* the SageMaker and Debugger Configuration API Operations to Create, Update, and
* Debug Your Training Job.See Also:
AWS
* API Reference
The name of the rule configuration. It must be unique relative to other rule * configuration names.
*/ inline const Aws::String& GetRuleConfigurationName() const{ return m_ruleConfigurationName; } /** *The name of the rule configuration. It must be unique relative to other rule * configuration names.
*/ inline bool RuleConfigurationNameHasBeenSet() const { return m_ruleConfigurationNameHasBeenSet; } /** *The name of the rule configuration. It must be unique relative to other rule * configuration names.
*/ inline void SetRuleConfigurationName(const Aws::String& value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName = value; } /** *The name of the rule configuration. It must be unique relative to other rule * configuration names.
*/ inline void SetRuleConfigurationName(Aws::String&& value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName = std::move(value); } /** *The name of the rule configuration. It must be unique relative to other rule * configuration names.
*/ inline void SetRuleConfigurationName(const char* value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName.assign(value); } /** *The name of the rule configuration. It must be unique relative to other rule * configuration names.
*/ inline DebugRuleConfiguration& WithRuleConfigurationName(const Aws::String& value) { SetRuleConfigurationName(value); return *this;} /** *The name of the rule configuration. It must be unique relative to other rule * configuration names.
*/ inline DebugRuleConfiguration& WithRuleConfigurationName(Aws::String&& value) { SetRuleConfigurationName(std::move(value)); return *this;} /** *The name of the rule configuration. It must be unique relative to other rule * configuration names.
*/ inline DebugRuleConfiguration& WithRuleConfigurationName(const char* value) { SetRuleConfigurationName(value); return *this;} /** *Path to local storage location for output of rules. Defaults to
* /opt/ml/processing/output/rule/
.
Path to local storage location for output of rules. Defaults to
* /opt/ml/processing/output/rule/
.
Path to local storage location for output of rules. Defaults to
* /opt/ml/processing/output/rule/
.
Path to local storage location for output of rules. Defaults to
* /opt/ml/processing/output/rule/
.
Path to local storage location for output of rules. Defaults to
* /opt/ml/processing/output/rule/
.
Path to local storage location for output of rules. Defaults to
* /opt/ml/processing/output/rule/
.
Path to local storage location for output of rules. Defaults to
* /opt/ml/processing/output/rule/
.
Path to local storage location for output of rules. Defaults to
* /opt/ml/processing/output/rule/
.
Path to Amazon S3 storage location for rules.
*/ inline const Aws::String& GetS3OutputPath() const{ return m_s3OutputPath; } /** *Path to Amazon S3 storage location for rules.
*/ inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; } /** *Path to Amazon S3 storage location for rules.
*/ inline void SetS3OutputPath(const Aws::String& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = value; } /** *Path to Amazon S3 storage location for rules.
*/ inline void SetS3OutputPath(Aws::String&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::move(value); } /** *Path to Amazon S3 storage location for rules.
*/ inline void SetS3OutputPath(const char* value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath.assign(value); } /** *Path to Amazon S3 storage location for rules.
*/ inline DebugRuleConfiguration& WithS3OutputPath(const Aws::String& value) { SetS3OutputPath(value); return *this;} /** *Path to Amazon S3 storage location for rules.
*/ inline DebugRuleConfiguration& WithS3OutputPath(Aws::String&& value) { SetS3OutputPath(std::move(value)); return *this;} /** *Path to Amazon S3 storage location for rules.
*/ inline DebugRuleConfiguration& WithS3OutputPath(const char* value) { SetS3OutputPath(value); return *this;} /** *The Amazon Elastic Container (ECR) Image for the managed rule evaluation.
*/ inline const Aws::String& GetRuleEvaluatorImage() const{ return m_ruleEvaluatorImage; } /** *The Amazon Elastic Container (ECR) Image for the managed rule evaluation.
*/ inline bool RuleEvaluatorImageHasBeenSet() const { return m_ruleEvaluatorImageHasBeenSet; } /** *The Amazon Elastic Container (ECR) Image for the managed rule evaluation.
*/ inline void SetRuleEvaluatorImage(const Aws::String& value) { m_ruleEvaluatorImageHasBeenSet = true; m_ruleEvaluatorImage = value; } /** *The Amazon Elastic Container (ECR) Image for the managed rule evaluation.
*/ inline void SetRuleEvaluatorImage(Aws::String&& value) { m_ruleEvaluatorImageHasBeenSet = true; m_ruleEvaluatorImage = std::move(value); } /** *The Amazon Elastic Container (ECR) Image for the managed rule evaluation.
*/ inline void SetRuleEvaluatorImage(const char* value) { m_ruleEvaluatorImageHasBeenSet = true; m_ruleEvaluatorImage.assign(value); } /** *The Amazon Elastic Container (ECR) Image for the managed rule evaluation.
*/ inline DebugRuleConfiguration& WithRuleEvaluatorImage(const Aws::String& value) { SetRuleEvaluatorImage(value); return *this;} /** *The Amazon Elastic Container (ECR) Image for the managed rule evaluation.
*/ inline DebugRuleConfiguration& WithRuleEvaluatorImage(Aws::String&& value) { SetRuleEvaluatorImage(std::move(value)); return *this;} /** *The Amazon Elastic Container (ECR) Image for the managed rule evaluation.
*/ inline DebugRuleConfiguration& WithRuleEvaluatorImage(const char* value) { SetRuleEvaluatorImage(value); return *this;} /** *The instance type to deploy a custom rule for debugging a training job.
*/ inline const ProcessingInstanceType& GetInstanceType() const{ return m_instanceType; } /** *The instance type to deploy a custom rule for debugging a training job.
*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *The instance type to deploy a custom rule for debugging a training job.
*/ inline void SetInstanceType(const ProcessingInstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *The instance type to deploy a custom rule for debugging a training job.
*/ inline void SetInstanceType(ProcessingInstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *The instance type to deploy a custom rule for debugging a training job.
*/ inline DebugRuleConfiguration& WithInstanceType(const ProcessingInstanceType& value) { SetInstanceType(value); return *this;} /** *The instance type to deploy a custom rule for debugging a training job.
*/ inline DebugRuleConfiguration& WithInstanceType(ProcessingInstanceType&& value) { SetInstanceType(std::move(value)); return *this;} /** *The size, in GB, of the ML storage volume attached to the processing * instance.
*/ inline int GetVolumeSizeInGB() const{ return m_volumeSizeInGB; } /** *The size, in GB, of the ML storage volume attached to the processing * instance.
*/ inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; } /** *The size, in GB, of the ML storage volume attached to the processing * instance.
*/ inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; } /** *The size, in GB, of the ML storage volume attached to the processing * instance.
*/ inline DebugRuleConfiguration& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;} /** *Runtime configuration for rule container.
*/ inline const Aws::MapRuntime configuration for rule container.
*/ inline bool RuleParametersHasBeenSet() const { return m_ruleParametersHasBeenSet; } /** *Runtime configuration for rule container.
*/ inline void SetRuleParameters(const Aws::MapRuntime configuration for rule container.
*/ inline void SetRuleParameters(Aws::MapRuntime configuration for rule container.
*/ inline DebugRuleConfiguration& WithRuleParameters(const Aws::MapRuntime configuration for rule container.
*/ inline DebugRuleConfiguration& WithRuleParameters(Aws::MapRuntime configuration for rule container.
*/ inline DebugRuleConfiguration& AddRuleParameters(const Aws::String& key, const Aws::String& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, value); return *this; } /** *Runtime configuration for rule container.
*/ inline DebugRuleConfiguration& AddRuleParameters(Aws::String&& key, const Aws::String& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(std::move(key), value); return *this; } /** *Runtime configuration for rule container.
*/ inline DebugRuleConfiguration& AddRuleParameters(const Aws::String& key, Aws::String&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, std::move(value)); return *this; } /** *Runtime configuration for rule container.
*/ inline DebugRuleConfiguration& AddRuleParameters(Aws::String&& key, Aws::String&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(std::move(key), std::move(value)); return *this; } /** *Runtime configuration for rule container.
*/ inline DebugRuleConfiguration& AddRuleParameters(const char* key, Aws::String&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, std::move(value)); return *this; } /** *Runtime configuration for rule container.
*/ inline DebugRuleConfiguration& AddRuleParameters(Aws::String&& key, const char* value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(std::move(key), value); return *this; } /** *Runtime configuration for rule container.
*/ inline DebugRuleConfiguration& AddRuleParameters(const char* key, const char* value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, value); return *this; } private: Aws::String m_ruleConfigurationName; bool m_ruleConfigurationNameHasBeenSet = false; Aws::String m_localPath; bool m_localPathHasBeenSet = false; Aws::String m_s3OutputPath; bool m_s3OutputPathHasBeenSet = false; Aws::String m_ruleEvaluatorImage; bool m_ruleEvaluatorImageHasBeenSet = false; ProcessingInstanceType m_instanceType; bool m_instanceTypeHasBeenSet = false; int m_volumeSizeInGB; bool m_volumeSizeInGBHasBeenSet = false; Aws::Map