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

Container image configuration object for the monitoring job.

See * Also:

AWS * API Reference

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

The address of the container image that the monitoring job runs.

*/ inline const Aws::String& GetImageUri() const{ return m_imageUri; } /** *

The address of the container image that the monitoring job runs.

*/ inline bool ImageUriHasBeenSet() const { return m_imageUriHasBeenSet; } /** *

The address of the container image that the monitoring job runs.

*/ inline void SetImageUri(const Aws::String& value) { m_imageUriHasBeenSet = true; m_imageUri = value; } /** *

The address of the container image that the monitoring job runs.

*/ inline void SetImageUri(Aws::String&& value) { m_imageUriHasBeenSet = true; m_imageUri = std::move(value); } /** *

The address of the container image that the monitoring job runs.

*/ inline void SetImageUri(const char* value) { m_imageUriHasBeenSet = true; m_imageUri.assign(value); } /** *

The address of the container image that the monitoring job runs.

*/ inline ModelQualityAppSpecification& WithImageUri(const Aws::String& value) { SetImageUri(value); return *this;} /** *

The address of the container image that the monitoring job runs.

*/ inline ModelQualityAppSpecification& WithImageUri(Aws::String&& value) { SetImageUri(std::move(value)); return *this;} /** *

The address of the container image that the monitoring job runs.

*/ inline ModelQualityAppSpecification& WithImageUri(const char* value) { SetImageUri(value); return *this;} /** *

Specifies the entrypoint for a container that the monitoring job runs.

*/ inline const Aws::Vector& GetContainerEntrypoint() const{ return m_containerEntrypoint; } /** *

Specifies the entrypoint for a container that the monitoring job runs.

*/ inline bool ContainerEntrypointHasBeenSet() const { return m_containerEntrypointHasBeenSet; } /** *

Specifies the entrypoint for a container that the monitoring job runs.

*/ inline void SetContainerEntrypoint(const Aws::Vector& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint = value; } /** *

Specifies the entrypoint for a container that the monitoring job runs.

*/ inline void SetContainerEntrypoint(Aws::Vector&& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint = std::move(value); } /** *

Specifies the entrypoint for a container that the monitoring job runs.

*/ inline ModelQualityAppSpecification& WithContainerEntrypoint(const Aws::Vector& value) { SetContainerEntrypoint(value); return *this;} /** *

Specifies the entrypoint for a container that the monitoring job runs.

*/ inline ModelQualityAppSpecification& WithContainerEntrypoint(Aws::Vector&& value) { SetContainerEntrypoint(std::move(value)); return *this;} /** *

Specifies the entrypoint for a container that the monitoring job runs.

*/ inline ModelQualityAppSpecification& AddContainerEntrypoint(const Aws::String& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint.push_back(value); return *this; } /** *

Specifies the entrypoint for a container that the monitoring job runs.

*/ inline ModelQualityAppSpecification& AddContainerEntrypoint(Aws::String&& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint.push_back(std::move(value)); return *this; } /** *

Specifies the entrypoint for a container that the monitoring job runs.

*/ inline ModelQualityAppSpecification& AddContainerEntrypoint(const char* value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint.push_back(value); return *this; } /** *

An array of arguments for the container used to run the monitoring job.

*/ inline const Aws::Vector& GetContainerArguments() const{ return m_containerArguments; } /** *

An array of arguments for the container used to run the monitoring job.

*/ inline bool ContainerArgumentsHasBeenSet() const { return m_containerArgumentsHasBeenSet; } /** *

An array of arguments for the container used to run the monitoring job.

*/ inline void SetContainerArguments(const Aws::Vector& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments = value; } /** *

An array of arguments for the container used to run the monitoring job.

*/ inline void SetContainerArguments(Aws::Vector&& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments = std::move(value); } /** *

An array of arguments for the container used to run the monitoring job.

*/ inline ModelQualityAppSpecification& WithContainerArguments(const Aws::Vector& value) { SetContainerArguments(value); return *this;} /** *

An array of arguments for the container used to run the monitoring job.

*/ inline ModelQualityAppSpecification& WithContainerArguments(Aws::Vector&& value) { SetContainerArguments(std::move(value)); return *this;} /** *

An array of arguments for the container used to run the monitoring job.

*/ inline ModelQualityAppSpecification& AddContainerArguments(const Aws::String& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.push_back(value); return *this; } /** *

An array of arguments for the container used to run the monitoring job.

*/ inline ModelQualityAppSpecification& AddContainerArguments(Aws::String&& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.push_back(std::move(value)); return *this; } /** *

An array of arguments for the container used to run the monitoring job.

*/ inline ModelQualityAppSpecification& AddContainerArguments(const char* value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.push_back(value); return *this; } /** *

An Amazon S3 URI to a script that is called per row prior to running * analysis. It can base64 decode the payload and convert it into a flatted json so * that the built-in container can use the converted data. Applicable only for the * built-in (first party) containers.

*/ inline const Aws::String& GetRecordPreprocessorSourceUri() const{ return m_recordPreprocessorSourceUri; } /** *

An Amazon S3 URI to a script that is called per row prior to running * analysis. It can base64 decode the payload and convert it into a flatted json so * that the built-in container can use the converted data. Applicable only for the * built-in (first party) containers.

*/ inline bool RecordPreprocessorSourceUriHasBeenSet() const { return m_recordPreprocessorSourceUriHasBeenSet; } /** *

An Amazon S3 URI to a script that is called per row prior to running * analysis. It can base64 decode the payload and convert it into a flatted json so * that the built-in container can use the converted data. Applicable only for the * built-in (first party) containers.

*/ inline void SetRecordPreprocessorSourceUri(const Aws::String& value) { m_recordPreprocessorSourceUriHasBeenSet = true; m_recordPreprocessorSourceUri = value; } /** *

An Amazon S3 URI to a script that is called per row prior to running * analysis. It can base64 decode the payload and convert it into a flatted json so * that the built-in container can use the converted data. Applicable only for the * built-in (first party) containers.

*/ inline void SetRecordPreprocessorSourceUri(Aws::String&& value) { m_recordPreprocessorSourceUriHasBeenSet = true; m_recordPreprocessorSourceUri = std::move(value); } /** *

An Amazon S3 URI to a script that is called per row prior to running * analysis. It can base64 decode the payload and convert it into a flatted json so * that the built-in container can use the converted data. Applicable only for the * built-in (first party) containers.

*/ inline void SetRecordPreprocessorSourceUri(const char* value) { m_recordPreprocessorSourceUriHasBeenSet = true; m_recordPreprocessorSourceUri.assign(value); } /** *

An Amazon S3 URI to a script that is called per row prior to running * analysis. It can base64 decode the payload and convert it into a flatted json so * that the built-in container can use the converted data. Applicable only for the * built-in (first party) containers.

*/ inline ModelQualityAppSpecification& WithRecordPreprocessorSourceUri(const Aws::String& value) { SetRecordPreprocessorSourceUri(value); return *this;} /** *

An Amazon S3 URI to a script that is called per row prior to running * analysis. It can base64 decode the payload and convert it into a flatted json so * that the built-in container can use the converted data. Applicable only for the * built-in (first party) containers.

*/ inline ModelQualityAppSpecification& WithRecordPreprocessorSourceUri(Aws::String&& value) { SetRecordPreprocessorSourceUri(std::move(value)); return *this;} /** *

An Amazon S3 URI to a script that is called per row prior to running * analysis. It can base64 decode the payload and convert it into a flatted json so * that the built-in container can use the converted data. Applicable only for the * built-in (first party) containers.

*/ inline ModelQualityAppSpecification& WithRecordPreprocessorSourceUri(const char* value) { SetRecordPreprocessorSourceUri(value); return *this;} /** *

An Amazon S3 URI to a script that is called after analysis has been * performed. Applicable only for the built-in (first party) containers.

*/ inline const Aws::String& GetPostAnalyticsProcessorSourceUri() const{ return m_postAnalyticsProcessorSourceUri; } /** *

An Amazon S3 URI to a script that is called after analysis has been * performed. Applicable only for the built-in (first party) containers.

*/ inline bool PostAnalyticsProcessorSourceUriHasBeenSet() const { return m_postAnalyticsProcessorSourceUriHasBeenSet; } /** *

An Amazon S3 URI to a script that is called after analysis has been * performed. Applicable only for the built-in (first party) containers.

*/ inline void SetPostAnalyticsProcessorSourceUri(const Aws::String& value) { m_postAnalyticsProcessorSourceUriHasBeenSet = true; m_postAnalyticsProcessorSourceUri = value; } /** *

An Amazon S3 URI to a script that is called after analysis has been * performed. Applicable only for the built-in (first party) containers.

*/ inline void SetPostAnalyticsProcessorSourceUri(Aws::String&& value) { m_postAnalyticsProcessorSourceUriHasBeenSet = true; m_postAnalyticsProcessorSourceUri = std::move(value); } /** *

An Amazon S3 URI to a script that is called after analysis has been * performed. Applicable only for the built-in (first party) containers.

*/ inline void SetPostAnalyticsProcessorSourceUri(const char* value) { m_postAnalyticsProcessorSourceUriHasBeenSet = true; m_postAnalyticsProcessorSourceUri.assign(value); } /** *

An Amazon S3 URI to a script that is called after analysis has been * performed. Applicable only for the built-in (first party) containers.

*/ inline ModelQualityAppSpecification& WithPostAnalyticsProcessorSourceUri(const Aws::String& value) { SetPostAnalyticsProcessorSourceUri(value); return *this;} /** *

An Amazon S3 URI to a script that is called after analysis has been * performed. Applicable only for the built-in (first party) containers.

*/ inline ModelQualityAppSpecification& WithPostAnalyticsProcessorSourceUri(Aws::String&& value) { SetPostAnalyticsProcessorSourceUri(std::move(value)); return *this;} /** *

An Amazon S3 URI to a script that is called after analysis has been * performed. Applicable only for the built-in (first party) containers.

*/ inline ModelQualityAppSpecification& WithPostAnalyticsProcessorSourceUri(const char* value) { SetPostAnalyticsProcessorSourceUri(value); return *this;} /** *

The machine learning problem type of the model that the monitoring job * monitors.

*/ inline const MonitoringProblemType& GetProblemType() const{ return m_problemType; } /** *

The machine learning problem type of the model that the monitoring job * monitors.

*/ inline bool ProblemTypeHasBeenSet() const { return m_problemTypeHasBeenSet; } /** *

The machine learning problem type of the model that the monitoring job * monitors.

*/ inline void SetProblemType(const MonitoringProblemType& value) { m_problemTypeHasBeenSet = true; m_problemType = value; } /** *

The machine learning problem type of the model that the monitoring job * monitors.

*/ inline void SetProblemType(MonitoringProblemType&& value) { m_problemTypeHasBeenSet = true; m_problemType = std::move(value); } /** *

The machine learning problem type of the model that the monitoring job * monitors.

*/ inline ModelQualityAppSpecification& WithProblemType(const MonitoringProblemType& value) { SetProblemType(value); return *this;} /** *

The machine learning problem type of the model that the monitoring job * monitors.

*/ inline ModelQualityAppSpecification& WithProblemType(MonitoringProblemType&& value) { SetProblemType(std::move(value)); return *this;} /** *

Sets the environment variables in the container that the monitoring job * runs.

*/ inline const Aws::Map& GetEnvironment() const{ return m_environment; } /** *

Sets the environment variables in the container that the monitoring job * runs.

*/ inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; } /** *

Sets the environment variables in the container that the monitoring job * runs.

*/ inline void SetEnvironment(const Aws::Map& value) { m_environmentHasBeenSet = true; m_environment = value; } /** *

Sets the environment variables in the container that the monitoring job * runs.

*/ inline void SetEnvironment(Aws::Map&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); } /** *

Sets the environment variables in the container that the monitoring job * runs.

*/ inline ModelQualityAppSpecification& WithEnvironment(const Aws::Map& value) { SetEnvironment(value); return *this;} /** *

Sets the environment variables in the container that the monitoring job * runs.

*/ inline ModelQualityAppSpecification& WithEnvironment(Aws::Map&& value) { SetEnvironment(std::move(value)); return *this;} /** *

Sets the environment variables in the container that the monitoring job * runs.

*/ inline ModelQualityAppSpecification& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; } /** *

Sets the environment variables in the container that the monitoring job * runs.

*/ inline ModelQualityAppSpecification& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; } /** *

Sets the environment variables in the container that the monitoring job * runs.

*/ inline ModelQualityAppSpecification& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; } /** *

Sets the environment variables in the container that the monitoring job * runs.

*/ inline ModelQualityAppSpecification& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; } /** *

Sets the environment variables in the container that the monitoring job * runs.

*/ inline ModelQualityAppSpecification& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; } /** *

Sets the environment variables in the container that the monitoring job * runs.

*/ inline ModelQualityAppSpecification& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; } /** *

Sets the environment variables in the container that the monitoring job * runs.

*/ inline ModelQualityAppSpecification& AddEnvironment(const char* key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; } private: Aws::String m_imageUri; bool m_imageUriHasBeenSet = false; Aws::Vector m_containerEntrypoint; bool m_containerEntrypointHasBeenSet = false; Aws::Vector m_containerArguments; bool m_containerArgumentsHasBeenSet = false; Aws::String m_recordPreprocessorSourceUri; bool m_recordPreprocessorSourceUriHasBeenSet = false; Aws::String m_postAnalyticsProcessorSourceUri; bool m_postAnalyticsProcessorSourceUriHasBeenSet = false; MonitoringProblemType m_problemType; bool m_problemTypeHasBeenSet = false; Aws::Map m_environment; bool m_environmentHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws