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/AppSpecification.h

189 lines
6.9 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/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SageMaker
{
namespace Model
{
/**
* <p>Configuration to run a processing job in a specified container
* image.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AppSpecification">AWS
* API Reference</a></p>
*/
class AWS_SAGEMAKER_API AppSpecification
{
public:
AppSpecification();
AppSpecification(Aws::Utils::Json::JsonView jsonValue);
AppSpecification& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The container image to be run by the processing job.</p>
*/
inline const Aws::String& GetImageUri() const{ return m_imageUri; }
/**
* <p>The container image to be run by the processing job.</p>
*/
inline bool ImageUriHasBeenSet() const { return m_imageUriHasBeenSet; }
/**
* <p>The container image to be run by the processing job.</p>
*/
inline void SetImageUri(const Aws::String& value) { m_imageUriHasBeenSet = true; m_imageUri = value; }
/**
* <p>The container image to be run by the processing job.</p>
*/
inline void SetImageUri(Aws::String&& value) { m_imageUriHasBeenSet = true; m_imageUri = std::move(value); }
/**
* <p>The container image to be run by the processing job.</p>
*/
inline void SetImageUri(const char* value) { m_imageUriHasBeenSet = true; m_imageUri.assign(value); }
/**
* <p>The container image to be run by the processing job.</p>
*/
inline AppSpecification& WithImageUri(const Aws::String& value) { SetImageUri(value); return *this;}
/**
* <p>The container image to be run by the processing job.</p>
*/
inline AppSpecification& WithImageUri(Aws::String&& value) { SetImageUri(std::move(value)); return *this;}
/**
* <p>The container image to be run by the processing job.</p>
*/
inline AppSpecification& WithImageUri(const char* value) { SetImageUri(value); return *this;}
/**
* <p>The entrypoint for a container used to run a processing job.</p>
*/
inline const Aws::Vector<Aws::String>& GetContainerEntrypoint() const{ return m_containerEntrypoint; }
/**
* <p>The entrypoint for a container used to run a processing job.</p>
*/
inline bool ContainerEntrypointHasBeenSet() const { return m_containerEntrypointHasBeenSet; }
/**
* <p>The entrypoint for a container used to run a processing job.</p>
*/
inline void SetContainerEntrypoint(const Aws::Vector<Aws::String>& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint = value; }
/**
* <p>The entrypoint for a container used to run a processing job.</p>
*/
inline void SetContainerEntrypoint(Aws::Vector<Aws::String>&& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint = std::move(value); }
/**
* <p>The entrypoint for a container used to run a processing job.</p>
*/
inline AppSpecification& WithContainerEntrypoint(const Aws::Vector<Aws::String>& value) { SetContainerEntrypoint(value); return *this;}
/**
* <p>The entrypoint for a container used to run a processing job.</p>
*/
inline AppSpecification& WithContainerEntrypoint(Aws::Vector<Aws::String>&& value) { SetContainerEntrypoint(std::move(value)); return *this;}
/**
* <p>The entrypoint for a container used to run a processing job.</p>
*/
inline AppSpecification& AddContainerEntrypoint(const Aws::String& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint.push_back(value); return *this; }
/**
* <p>The entrypoint for a container used to run a processing job.</p>
*/
inline AppSpecification& AddContainerEntrypoint(Aws::String&& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint.push_back(std::move(value)); return *this; }
/**
* <p>The entrypoint for a container used to run a processing job.</p>
*/
inline AppSpecification& AddContainerEntrypoint(const char* value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint.push_back(value); return *this; }
/**
* <p>The arguments for a container used to run a processing job.</p>
*/
inline const Aws::Vector<Aws::String>& GetContainerArguments() const{ return m_containerArguments; }
/**
* <p>The arguments for a container used to run a processing job.</p>
*/
inline bool ContainerArgumentsHasBeenSet() const { return m_containerArgumentsHasBeenSet; }
/**
* <p>The arguments for a container used to run a processing job.</p>
*/
inline void SetContainerArguments(const Aws::Vector<Aws::String>& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments = value; }
/**
* <p>The arguments for a container used to run a processing job.</p>
*/
inline void SetContainerArguments(Aws::Vector<Aws::String>&& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments = std::move(value); }
/**
* <p>The arguments for a container used to run a processing job.</p>
*/
inline AppSpecification& WithContainerArguments(const Aws::Vector<Aws::String>& value) { SetContainerArguments(value); return *this;}
/**
* <p>The arguments for a container used to run a processing job.</p>
*/
inline AppSpecification& WithContainerArguments(Aws::Vector<Aws::String>&& value) { SetContainerArguments(std::move(value)); return *this;}
/**
* <p>The arguments for a container used to run a processing job.</p>
*/
inline AppSpecification& AddContainerArguments(const Aws::String& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.push_back(value); return *this; }
/**
* <p>The arguments for a container used to run a processing job.</p>
*/
inline AppSpecification& AddContainerArguments(Aws::String&& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.push_back(std::move(value)); return *this; }
/**
* <p>The arguments for a container used to run a processing job.</p>
*/
inline AppSpecification& AddContainerArguments(const char* value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.push_back(value); return *this; }
private:
Aws::String m_imageUri;
bool m_imageUriHasBeenSet;
Aws::Vector<Aws::String> m_containerEntrypoint;
bool m_containerEntrypointHasBeenSet;
Aws::Vector<Aws::String> m_containerArguments;
bool m_containerArgumentsHasBeenSet;
};
} // namespace Model
} // namespace SageMaker
} // namespace Aws