/**
* 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 an AutoML candidate. For more information, see
* ContainerDefinition.See Also:
AWS
* API Reference
The Amazon Elastic Container Registry (Amazon ECR) path of the container. For * more information, see * ContainerDefinition.
*/ inline const Aws::String& GetImage() const{ return m_image; } /** *The Amazon Elastic Container Registry (Amazon ECR) path of the container. For * more information, see * ContainerDefinition.
*/ inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; } /** *The Amazon Elastic Container Registry (Amazon ECR) path of the container. For * more information, see * ContainerDefinition.
*/ inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; } /** *The Amazon Elastic Container Registry (Amazon ECR) path of the container. For * more information, see * ContainerDefinition.
*/ inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); } /** *The Amazon Elastic Container Registry (Amazon ECR) path of the container. For * more information, see * ContainerDefinition.
*/ inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); } /** *The Amazon Elastic Container Registry (Amazon ECR) path of the container. For * more information, see * ContainerDefinition.
*/ inline AutoMLContainerDefinition& WithImage(const Aws::String& value) { SetImage(value); return *this;} /** *The Amazon Elastic Container Registry (Amazon ECR) path of the container. For * more information, see * ContainerDefinition.
*/ inline AutoMLContainerDefinition& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;} /** *The Amazon Elastic Container Registry (Amazon ECR) path of the container. For * more information, see * ContainerDefinition.
*/ inline AutoMLContainerDefinition& WithImage(const char* value) { SetImage(value); return *this;} /** *The location of the model artifacts. For more information, see * ContainerDefinition.
*/ inline const Aws::String& GetModelDataUrl() const{ return m_modelDataUrl; } /** *The location of the model artifacts. For more information, see * ContainerDefinition.
*/ inline bool ModelDataUrlHasBeenSet() const { return m_modelDataUrlHasBeenSet; } /** *The location of the model artifacts. For more information, see * ContainerDefinition.
*/ inline void SetModelDataUrl(const Aws::String& value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl = value; } /** *The location of the model artifacts. For more information, see * ContainerDefinition.
*/ inline void SetModelDataUrl(Aws::String&& value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl = std::move(value); } /** *The location of the model artifacts. For more information, see * ContainerDefinition.
*/ inline void SetModelDataUrl(const char* value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl.assign(value); } /** *The location of the model artifacts. For more information, see * ContainerDefinition.
*/ inline AutoMLContainerDefinition& WithModelDataUrl(const Aws::String& value) { SetModelDataUrl(value); return *this;} /** *The location of the model artifacts. For more information, see * ContainerDefinition.
*/ inline AutoMLContainerDefinition& WithModelDataUrl(Aws::String&& value) { SetModelDataUrl(std::move(value)); return *this;} /** *The location of the model artifacts. For more information, see * ContainerDefinition.
*/ inline AutoMLContainerDefinition& WithModelDataUrl(const char* value) { SetModelDataUrl(value); return *this;} /** *The environment variables to set in the container. For more information, see * * ContainerDefinition.
*/ inline const Aws::MapThe environment variables to set in the container. For more information, see * * ContainerDefinition.
*/ inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; } /** *The environment variables to set in the container. For more information, see * * ContainerDefinition.
*/ inline void SetEnvironment(const Aws::MapThe environment variables to set in the container. For more information, see * * ContainerDefinition.
*/ inline void SetEnvironment(Aws::MapThe environment variables to set in the container. For more information, see * * ContainerDefinition.
*/ inline AutoMLContainerDefinition& WithEnvironment(const Aws::MapThe environment variables to set in the container. For more information, see * * ContainerDefinition.
*/ inline AutoMLContainerDefinition& WithEnvironment(Aws::MapThe environment variables to set in the container. For more information, see * * ContainerDefinition.
*/ inline AutoMLContainerDefinition& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; } /** *The environment variables to set in the container. For more information, see * * ContainerDefinition.
*/ inline AutoMLContainerDefinition& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; } /** *The environment variables to set in the container. For more information, see * * ContainerDefinition.
*/ inline AutoMLContainerDefinition& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; } /** *The environment variables to set in the container. For more information, see * * ContainerDefinition.
*/ inline AutoMLContainerDefinition& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; } /** *The environment variables to set in the container. For more information, see * * ContainerDefinition.
*/ inline AutoMLContainerDefinition& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; } /** *The environment variables to set in the container. For more information, see * * ContainerDefinition.
*/ inline AutoMLContainerDefinition& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; } /** *The environment variables to set in the container. For more information, see * * ContainerDefinition.
*/ 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 = false; Aws::String m_modelDataUrl; bool m_modelDataUrlHasBeenSet = false; Aws::Map