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

Configuration for uploading output from the processing * container.

See Also:

AWS * API Reference

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

An array of outputs configuring the data to upload from the processing * container.

*/ inline const Aws::Vector& GetOutputs() const{ return m_outputs; } /** *

An array of outputs configuring the data to upload from the processing * container.

*/ inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; } /** *

An array of outputs configuring the data to upload from the processing * container.

*/ inline void SetOutputs(const Aws::Vector& value) { m_outputsHasBeenSet = true; m_outputs = value; } /** *

An array of outputs configuring the data to upload from the processing * container.

*/ inline void SetOutputs(Aws::Vector&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); } /** *

An array of outputs configuring the data to upload from the processing * container.

*/ inline ProcessingOutputConfig& WithOutputs(const Aws::Vector& value) { SetOutputs(value); return *this;} /** *

An array of outputs configuring the data to upload from the processing * container.

*/ inline ProcessingOutputConfig& WithOutputs(Aws::Vector&& value) { SetOutputs(std::move(value)); return *this;} /** *

An array of outputs configuring the data to upload from the processing * container.

*/ inline ProcessingOutputConfig& AddOutputs(const ProcessingOutput& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; } /** *

An array of outputs configuring the data to upload from the processing * container.

*/ inline ProcessingOutputConfig& AddOutputs(ProcessingOutput&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; } /** *

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt the processing job output. * KmsKeyId can be an ID of a KMS key, ARN of a KMS key, alias of a * KMS key, or alias of a KMS key. The KmsKeyId is applied to all * outputs.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt the processing job output. * KmsKeyId can be an ID of a KMS key, ARN of a KMS key, alias of a * KMS key, or alias of a KMS key. The KmsKeyId is applied to all * outputs.

*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt the processing job output. * KmsKeyId can be an ID of a KMS key, ARN of a KMS key, alias of a * KMS key, or alias of a KMS key. The KmsKeyId is applied to all * outputs.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt the processing job output. * KmsKeyId can be an ID of a KMS key, ARN of a KMS key, alias of a * KMS key, or alias of a KMS key. The KmsKeyId is applied to all * outputs.

*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt the processing job output. * KmsKeyId can be an ID of a KMS key, ARN of a KMS key, alias of a * KMS key, or alias of a KMS key. The KmsKeyId is applied to all * outputs.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt the processing job output. * KmsKeyId can be an ID of a KMS key, ARN of a KMS key, alias of a * KMS key, or alias of a KMS key. The KmsKeyId is applied to all * outputs.

*/ inline ProcessingOutputConfig& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt the processing job output. * KmsKeyId can be an ID of a KMS key, ARN of a KMS key, alias of a * KMS key, or alias of a KMS key. The KmsKeyId is applied to all * outputs.

*/ inline ProcessingOutputConfig& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt the processing job output. * KmsKeyId can be an ID of a KMS key, ARN of a KMS key, alias of a * KMS key, or alias of a KMS key. The KmsKeyId is applied to all * outputs.

*/ inline ProcessingOutputConfig& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} private: Aws::Vector m_outputs; bool m_outputsHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws