/** * 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 { /** *

Configuration to control how SageMaker captures inference data for batch * transform jobs.

See Also:

AWS * API Reference

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

The Amazon S3 location being used to capture the data.

*/ inline const Aws::String& GetDestinationS3Uri() const{ return m_destinationS3Uri; } /** *

The Amazon S3 location being used to capture the data.

*/ inline bool DestinationS3UriHasBeenSet() const { return m_destinationS3UriHasBeenSet; } /** *

The Amazon S3 location being used to capture the data.

*/ inline void SetDestinationS3Uri(const Aws::String& value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri = value; } /** *

The Amazon S3 location being used to capture the data.

*/ inline void SetDestinationS3Uri(Aws::String&& value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri = std::move(value); } /** *

The Amazon S3 location being used to capture the data.

*/ inline void SetDestinationS3Uri(const char* value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri.assign(value); } /** *

The Amazon S3 location being used to capture the data.

*/ inline BatchDataCaptureConfig& WithDestinationS3Uri(const Aws::String& value) { SetDestinationS3Uri(value); return *this;} /** *

The Amazon S3 location being used to capture the data.

*/ inline BatchDataCaptureConfig& WithDestinationS3Uri(Aws::String&& value) { SetDestinationS3Uri(std::move(value)); return *this;} /** *

The Amazon S3 location being used to capture the data.

*/ inline BatchDataCaptureConfig& WithDestinationS3Uri(const char* value) { SetDestinationS3Uri(value); return *this;} /** *

The Amazon Resource Name (ARN) of a Amazon Web Services Key Management * Service key that SageMaker uses to encrypt data on the storage volume attached * to the ML compute instance that hosts the batch transform job.

The * KmsKeyId can be any of the following formats:

  • Key ID: * 1234abcd-12ab-34cd-56ef-1234567890ab

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

  • Alias name: alias/ExampleAlias

  • *

    Alias name ARN: * arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias

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

The Amazon Resource Name (ARN) of a Amazon Web Services Key Management * Service key that SageMaker uses to encrypt data on the storage volume attached * to the ML compute instance that hosts the batch transform job.

The * KmsKeyId can be any of the following formats:

  • Key ID: * 1234abcd-12ab-34cd-56ef-1234567890ab

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

  • Alias name: alias/ExampleAlias

  • *

    Alias name ARN: * arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias

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

The Amazon Resource Name (ARN) of a Amazon Web Services Key Management * Service key that SageMaker uses to encrypt data on the storage volume attached * to the ML compute instance that hosts the batch transform job.

The * KmsKeyId can be any of the following formats:

  • Key ID: * 1234abcd-12ab-34cd-56ef-1234567890ab

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

  • Alias name: alias/ExampleAlias

  • *

    Alias name ARN: * arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias

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

The Amazon Resource Name (ARN) of a Amazon Web Services Key Management * Service key that SageMaker uses to encrypt data on the storage volume attached * to the ML compute instance that hosts the batch transform job.

The * KmsKeyId can be any of the following formats:

  • Key ID: * 1234abcd-12ab-34cd-56ef-1234567890ab

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

  • Alias name: alias/ExampleAlias

  • *

    Alias name ARN: * arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias

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

The Amazon Resource Name (ARN) of a Amazon Web Services Key Management * Service key that SageMaker uses to encrypt data on the storage volume attached * to the ML compute instance that hosts the batch transform job.

The * KmsKeyId can be any of the following formats:

  • Key ID: * 1234abcd-12ab-34cd-56ef-1234567890ab

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

  • Alias name: alias/ExampleAlias

  • *

    Alias name ARN: * arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias

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

The Amazon Resource Name (ARN) of a Amazon Web Services Key Management * Service key that SageMaker uses to encrypt data on the storage volume attached * to the ML compute instance that hosts the batch transform job.

The * KmsKeyId can be any of the following formats:

  • Key ID: * 1234abcd-12ab-34cd-56ef-1234567890ab

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

  • Alias name: alias/ExampleAlias

  • *

    Alias name ARN: * arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias

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

The Amazon Resource Name (ARN) of a Amazon Web Services Key Management * Service key that SageMaker uses to encrypt data on the storage volume attached * to the ML compute instance that hosts the batch transform job.

The * KmsKeyId can be any of the following formats:

  • Key ID: * 1234abcd-12ab-34cd-56ef-1234567890ab

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

  • Alias name: alias/ExampleAlias

  • *

    Alias name ARN: * arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias

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

The Amazon Resource Name (ARN) of a Amazon Web Services Key Management * Service key that SageMaker uses to encrypt data on the storage volume attached * to the ML compute instance that hosts the batch transform job.

The * KmsKeyId can be any of the following formats:

  • Key ID: * 1234abcd-12ab-34cd-56ef-1234567890ab

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

  • Alias name: alias/ExampleAlias

  • *

    Alias name ARN: * arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias

  • *
*/ inline BatchDataCaptureConfig& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *

Flag that indicates whether to append inference id to the output.

*/ inline bool GetGenerateInferenceId() const{ return m_generateInferenceId; } /** *

Flag that indicates whether to append inference id to the output.

*/ inline bool GenerateInferenceIdHasBeenSet() const { return m_generateInferenceIdHasBeenSet; } /** *

Flag that indicates whether to append inference id to the output.

*/ inline void SetGenerateInferenceId(bool value) { m_generateInferenceIdHasBeenSet = true; m_generateInferenceId = value; } /** *

Flag that indicates whether to append inference id to the output.

*/ inline BatchDataCaptureConfig& WithGenerateInferenceId(bool value) { SetGenerateInferenceId(value); return *this;} private: Aws::String m_destinationS3Uri; bool m_destinationS3UriHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; bool m_generateInferenceId; bool m_generateInferenceIdHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws