146 lines
6.6 KiB
C++
146 lines
6.6 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 <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace SageMaker
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Provides configuration information for labeling jobs.</p><p><h3>See
|
|
* Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/LabelingJobResourceConfig">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
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;
|
|
|
|
|
|
/**
|
|
* <p>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 <code>VolumeKmsKeyId</code> can be any of the
|
|
* following formats:</p> <ul> <li> <p>// KMS Key ID</p> <p>
|
|
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>// Amazon
|
|
* Resource Name (ARN) of a KMS Key</p> <p>
|
|
* <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
* </p> </li> </ul>
|
|
*/
|
|
inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
|
|
|
|
/**
|
|
* <p>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 <code>VolumeKmsKeyId</code> can be any of the
|
|
* following formats:</p> <ul> <li> <p>// KMS Key ID</p> <p>
|
|
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>// Amazon
|
|
* Resource Name (ARN) of a KMS Key</p> <p>
|
|
* <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
* </p> </li> </ul>
|
|
*/
|
|
inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>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 <code>VolumeKmsKeyId</code> can be any of the
|
|
* following formats:</p> <ul> <li> <p>// KMS Key ID</p> <p>
|
|
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>// Amazon
|
|
* Resource Name (ARN) of a KMS Key</p> <p>
|
|
* <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
* </p> </li> </ul>
|
|
*/
|
|
inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
|
|
|
|
/**
|
|
* <p>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 <code>VolumeKmsKeyId</code> can be any of the
|
|
* following formats:</p> <ul> <li> <p>// KMS Key ID</p> <p>
|
|
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>// Amazon
|
|
* Resource Name (ARN) of a KMS Key</p> <p>
|
|
* <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
* </p> </li> </ul>
|
|
*/
|
|
inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
|
|
|
|
/**
|
|
* <p>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 <code>VolumeKmsKeyId</code> can be any of the
|
|
* following formats:</p> <ul> <li> <p>// KMS Key ID</p> <p>
|
|
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>// Amazon
|
|
* Resource Name (ARN) of a KMS Key</p> <p>
|
|
* <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
* </p> </li> </ul>
|
|
*/
|
|
inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
|
|
|
|
/**
|
|
* <p>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 <code>VolumeKmsKeyId</code> can be any of the
|
|
* following formats:</p> <ul> <li> <p>// KMS Key ID</p> <p>
|
|
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>// Amazon
|
|
* Resource Name (ARN) of a KMS Key</p> <p>
|
|
* <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
* </p> </li> </ul>
|
|
*/
|
|
inline LabelingJobResourceConfig& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;}
|
|
|
|
/**
|
|
* <p>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 <code>VolumeKmsKeyId</code> can be any of the
|
|
* following formats:</p> <ul> <li> <p>// KMS Key ID</p> <p>
|
|
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>// Amazon
|
|
* Resource Name (ARN) of a KMS Key</p> <p>
|
|
* <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
* </p> </li> </ul>
|
|
*/
|
|
inline LabelingJobResourceConfig& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>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 <code>VolumeKmsKeyId</code> can be any of the
|
|
* following formats:</p> <ul> <li> <p>// KMS Key ID</p> <p>
|
|
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>// Amazon
|
|
* Resource Name (ARN) of a KMS Key</p> <p>
|
|
* <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
* </p> </li> </ul>
|
|
*/
|
|
inline LabelingJobResourceConfig& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_volumeKmsKeyId;
|
|
bool m_volumeKmsKeyIdHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SageMaker
|
|
} // namespace Aws
|