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

Configuration to run a processing job in a specified container * image.

See Also:

AWS * API Reference

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

The container image to be run by the processing job.

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

The container image to be run by the processing job.

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

The container image to be run by the processing job.

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

The container image to be run by the processing job.

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

The container image to be run by the processing job.

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

The container image to be run by the processing job.

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

The container image to be run by the processing job.

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

The container image to be run by the processing job.

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

The entrypoint for a container used to run a processing job.

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

The entrypoint for a container used to run a processing job.

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

The entrypoint for a container used to run a processing job.

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

The entrypoint for a container used to run a processing job.

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

The entrypoint for a container used to run a processing job.

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

The entrypoint for a container used to run a processing job.

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

The entrypoint for a container used to run a processing job.

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

The entrypoint for a container used to run a processing job.

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

The entrypoint for a container used to run a processing job.

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

The arguments for a container used to run a processing job.

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

The arguments for a container used to run a processing job.

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

The arguments for a container used to run a processing job.

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

The arguments for a container used to run a processing job.

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

The arguments for a container used to run a processing job.

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

The arguments for a container used to run a processing job.

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

The arguments for a container used to run a processing job.

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

The arguments for a container used to run a processing job.

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

The arguments for a container used to run a processing job.

*/ inline AppSpecification& AddContainerArguments(const char* value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.push_back(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; }; } // namespace Model } // namespace SageMaker } // namespace Aws