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

Provides configuration information for labeling jobs.

See * Also:

AWS * API Reference

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

The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to * encrypt data on the storage volume attached to the ML compute instance(s) that * run the training job. The VolumeKmsKeyId can be any of the * following formats:

  • // KMS Key ID

    * "1234abcd-12ab-34cd-56ef-1234567890ab"

  • // Amazon * Resource Name (ARN) of a KMS Key

    * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

*/ inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; } /** *

The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to * encrypt data on the storage volume attached to the ML compute instance(s) that * run the training job. The VolumeKmsKeyId can be any of the * following formats:

  • // KMS Key ID

    * "1234abcd-12ab-34cd-56ef-1234567890ab"

  • // Amazon * Resource Name (ARN) of a KMS Key

    * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

*/ inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; } /** *

The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to * encrypt data on the storage volume attached to the ML compute instance(s) that * run the training job. The VolumeKmsKeyId can be any of the * following formats:

  • // KMS Key ID

    * "1234abcd-12ab-34cd-56ef-1234567890ab"

  • // Amazon * Resource Name (ARN) of a KMS Key

    * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

*/ inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; } /** *

The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to * encrypt data on the storage volume attached to the ML compute instance(s) that * run the training job. The VolumeKmsKeyId can be any of the * following formats:

  • // KMS Key ID

    * "1234abcd-12ab-34cd-56ef-1234567890ab"

  • // Amazon * Resource Name (ARN) of a KMS Key

    * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

*/ inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); } /** *

The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to * encrypt data on the storage volume attached to the ML compute instance(s) that * run the training job. The VolumeKmsKeyId can be any of the * following formats:

  • // KMS Key ID

    * "1234abcd-12ab-34cd-56ef-1234567890ab"

  • // Amazon * Resource Name (ARN) of a KMS Key

    * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

*/ inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); } /** *

The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to * encrypt data on the storage volume attached to the ML compute instance(s) that * run the training job. The VolumeKmsKeyId can be any of the * following formats:

  • // KMS Key ID

    * "1234abcd-12ab-34cd-56ef-1234567890ab"

  • // Amazon * Resource Name (ARN) of a KMS Key

    * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

*/ inline LabelingJobResourceConfig& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;} /** *

The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to * encrypt data on the storage volume attached to the ML compute instance(s) that * run the training job. The VolumeKmsKeyId can be any of the * following formats:

  • // KMS Key ID

    * "1234abcd-12ab-34cd-56ef-1234567890ab"

  • // Amazon * Resource Name (ARN) of a KMS Key

    * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

*/ inline LabelingJobResourceConfig& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;} /** *

The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to * encrypt data on the storage volume attached to the ML compute instance(s) that * run the training job. The VolumeKmsKeyId can be any of the * following formats:

  • // KMS Key ID

    * "1234abcd-12ab-34cd-56ef-1234567890ab"

  • // Amazon * Resource Name (ARN) of a KMS Key

    * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

*/ inline LabelingJobResourceConfig& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;} private: Aws::String m_volumeKmsKeyId; bool m_volumeKmsKeyIdHasBeenSet; }; } // namespace Model } // namespace SageMaker } // namespace Aws