This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/AutoMLContainerDefinition.h

234 lines
8.5 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/sagemaker/SageMaker_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SageMaker
{
namespace Model
{
/**
* <p>A list of container definitions that describe the different containers that
* make up one AutoML candidate. Refer to ContainerDefinition for more
* details.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AutoMLContainerDefinition">AWS
* API Reference</a></p>
*/
class AWS_SAGEMAKER_API AutoMLContainerDefinition
{
public:
AutoMLContainerDefinition();
AutoMLContainerDefinition(Aws::Utils::Json::JsonView jsonValue);
AutoMLContainerDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ECR path of the container. Refer to ContainerDefinition for more
* details.</p>
*/
inline const Aws::String& GetImage() const{ return m_image; }
/**
* <p>The ECR path of the container. Refer to ContainerDefinition for more
* details.</p>
*/
inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
/**
* <p>The ECR path of the container. Refer to ContainerDefinition for more
* details.</p>
*/
inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; }
/**
* <p>The ECR path of the container. Refer to ContainerDefinition for more
* details.</p>
*/
inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
/**
* <p>The ECR path of the container. Refer to ContainerDefinition for more
* details.</p>
*/
inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); }
/**
* <p>The ECR path of the container. Refer to ContainerDefinition for more
* details.</p>
*/
inline AutoMLContainerDefinition& WithImage(const Aws::String& value) { SetImage(value); return *this;}
/**
* <p>The ECR path of the container. Refer to ContainerDefinition for more
* details.</p>
*/
inline AutoMLContainerDefinition& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;}
/**
* <p>The ECR path of the container. Refer to ContainerDefinition for more
* details.</p>
*/
inline AutoMLContainerDefinition& WithImage(const char* value) { SetImage(value); return *this;}
/**
* <p>The location of the model artifacts. Refer to ContainerDefinition for more
* details.</p>
*/
inline const Aws::String& GetModelDataUrl() const{ return m_modelDataUrl; }
/**
* <p>The location of the model artifacts. Refer to ContainerDefinition for more
* details.</p>
*/
inline bool ModelDataUrlHasBeenSet() const { return m_modelDataUrlHasBeenSet; }
/**
* <p>The location of the model artifacts. Refer to ContainerDefinition for more
* details.</p>
*/
inline void SetModelDataUrl(const Aws::String& value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl = value; }
/**
* <p>The location of the model artifacts. Refer to ContainerDefinition for more
* details.</p>
*/
inline void SetModelDataUrl(Aws::String&& value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl = std::move(value); }
/**
* <p>The location of the model artifacts. Refer to ContainerDefinition for more
* details.</p>
*/
inline void SetModelDataUrl(const char* value) { m_modelDataUrlHasBeenSet = true; m_modelDataUrl.assign(value); }
/**
* <p>The location of the model artifacts. Refer to ContainerDefinition for more
* details.</p>
*/
inline AutoMLContainerDefinition& WithModelDataUrl(const Aws::String& value) { SetModelDataUrl(value); return *this;}
/**
* <p>The location of the model artifacts. Refer to ContainerDefinition for more
* details.</p>
*/
inline AutoMLContainerDefinition& WithModelDataUrl(Aws::String&& value) { SetModelDataUrl(std::move(value)); return *this;}
/**
* <p>The location of the model artifacts. Refer to ContainerDefinition for more
* details.</p>
*/
inline AutoMLContainerDefinition& WithModelDataUrl(const char* value) { SetModelDataUrl(value); return *this;}
/**
* <p>Environment variables to set in the container. Refer to ContainerDefinition
* for more details.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const{ return m_environment; }
/**
* <p>Environment variables to set in the container. Refer to ContainerDefinition
* for more details.</p>
*/
inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
/**
* <p>Environment variables to set in the container. Refer to ContainerDefinition
* for more details.</p>
*/
inline void SetEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentHasBeenSet = true; m_environment = value; }
/**
* <p>Environment variables to set in the container. Refer to ContainerDefinition
* for more details.</p>
*/
inline void SetEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
/**
* <p>Environment variables to set in the container. Refer to ContainerDefinition
* for more details.</p>
*/
inline AutoMLContainerDefinition& WithEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { SetEnvironment(value); return *this;}
/**
* <p>Environment variables to set in the container. Refer to ContainerDefinition
* for more details.</p>
*/
inline AutoMLContainerDefinition& WithEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { SetEnvironment(std::move(value)); return *this;}
/**
* <p>Environment variables to set in the container. Refer to ContainerDefinition
* for more details.</p>
*/
inline AutoMLContainerDefinition& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
/**
* <p>Environment variables to set in the container. Refer to ContainerDefinition
* for more details.</p>
*/
inline AutoMLContainerDefinition& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
/**
* <p>Environment variables to set in the container. Refer to ContainerDefinition
* for more details.</p>
*/
inline AutoMLContainerDefinition& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
/**
* <p>Environment variables to set in the container. Refer to ContainerDefinition
* for more details.</p>
*/
inline AutoMLContainerDefinition& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>Environment variables to set in the container. Refer to ContainerDefinition
* for more details.</p>
*/
inline AutoMLContainerDefinition& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
/**
* <p>Environment variables to set in the container. Refer to ContainerDefinition
* for more details.</p>
*/
inline AutoMLContainerDefinition& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
/**
* <p>Environment variables to set in the container. Refer to ContainerDefinition
* for more details.</p>
*/
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<Aws::String, Aws::String> m_environment;
bool m_environmentHasBeenSet;
};
} // namespace Model
} // namespace SageMaker
} // namespace Aws