/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A list of container definitions that describe the different containers that
* make up one AutoML candidate. Refer to ContainerDefinition for more
* details.See Also:
AWS
* API Reference
The ECR path of the container. Refer to ContainerDefinition for more * details.
*/ inline const Aws::String& GetImage() const{ return m_image; } /** *The ECR path of the container. Refer to ContainerDefinition for more * details.
*/ inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; } /** *The ECR path of the container. Refer to ContainerDefinition for more * details.
*/ inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; } /** *The ECR path of the container. Refer to ContainerDefinition for more * details.
*/ inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); } /** *The ECR path of the container. Refer to ContainerDefinition for more * details.
*/ inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); } /** *The ECR path of the container. Refer to ContainerDefinition for more * details.
*/ inline AutoMLContainerDefinition& WithImage(const Aws::String& value) { SetImage(value); return *this;} /** *The ECR path of the container. Refer to ContainerDefinition for more * details.
*/ inline AutoMLContainerDefinition& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;} /** *The ECR path of the container. Refer to ContainerDefinition for more * details.
*/ inline AutoMLContainerDefinition& WithImage(const char* value) { SetImage(value); return *this;} /** *The location of the model artifacts. Refer to ContainerDefinition for more * details.
*/ inline const Aws::String& GetModelDataUrl() const{ return m_modelDataUrl; } /** *The location of the model artifacts. Refer to ContainerDefinition for more * details.
*/ inline bool ModelDataUrlHasBeenSet() const { return m_modelDataUrlHasBeenSet; } /** *The location of the model artifacts. Refer to ContainerDefinition for more * details.
*/ inline void SetModelDataUrl(const Aws::String& value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl = value; } /** *The location of the model artifacts. Refer to ContainerDefinition for more * details.
*/ inline void SetModelDataUrl(Aws::String&& value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl = std::move(value); } /** *The location of the model artifacts. Refer to ContainerDefinition for more * details.
*/ inline void SetModelDataUrl(const char* value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl.assign(value); } /** *The location of the model artifacts. Refer to ContainerDefinition for more * details.
*/ inline AutoMLContainerDefinition& WithModelDataUrl(const Aws::String& value) { SetModelDataUrl(value); return *this;} /** *The location of the model artifacts. Refer to ContainerDefinition for more * details.
*/ inline AutoMLContainerDefinition& WithModelDataUrl(Aws::String&& value) { SetModelDataUrl(std::move(value)); return *this;} /** *The location of the model artifacts. Refer to ContainerDefinition for more * details.
*/ inline AutoMLContainerDefinition& WithModelDataUrl(const char* value) { SetModelDataUrl(value); return *this;} /** *Environment variables to set in the container. Refer to ContainerDefinition * for more details.
*/ inline const Aws::MapEnvironment variables to set in the container. Refer to ContainerDefinition * for more details.
*/ inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; } /** *Environment variables to set in the container. Refer to ContainerDefinition * for more details.
*/ inline void SetEnvironment(const Aws::MapEnvironment variables to set in the container. Refer to ContainerDefinition * for more details.
*/ inline void SetEnvironment(Aws::MapEnvironment variables to set in the container. Refer to ContainerDefinition * for more details.
*/ inline AutoMLContainerDefinition& WithEnvironment(const Aws::MapEnvironment variables to set in the container. Refer to ContainerDefinition * for more details.
*/ inline AutoMLContainerDefinition& WithEnvironment(Aws::MapEnvironment variables to set in the container. Refer to ContainerDefinition * for more details.
*/ inline AutoMLContainerDefinition& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; } /** *Environment variables to set in the container. Refer to ContainerDefinition * for more details.
*/ inline AutoMLContainerDefinition& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; } /** *Environment variables to set in the container. Refer to ContainerDefinition * for more details.
*/ inline AutoMLContainerDefinition& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; } /** *Environment variables to set in the container. Refer to ContainerDefinition * for more details.
*/ inline AutoMLContainerDefinition& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; } /** *Environment variables to set in the container. Refer to ContainerDefinition * for more details.
*/ inline AutoMLContainerDefinition& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; } /** *Environment variables to set in the container. Refer to ContainerDefinition * for more details.
*/ inline AutoMLContainerDefinition& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; } /** *Environment variables to set in the container. Refer to ContainerDefinition * for more details.
*/ inline AutoMLContainerDefinition& AddEnvironment(const char* key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; } private: Aws::String m_image; bool m_imageHasBeenSet; Aws::String m_modelDataUrl; bool m_modelDataUrlHasBeenSet; Aws::Map