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

The workspace settings for the SageMaker Canvas application.

See * Also:

AWS * API Reference

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

The Amazon S3 bucket used to store artifacts generated by Canvas. Updating * the Amazon S3 location impacts existing configuration settings, and Canvas users * no longer have access to their artifacts. Canvas users must log out and log back * in to apply the new location.

*/ inline const Aws::String& GetS3ArtifactPath() const{ return m_s3ArtifactPath; } /** *

The Amazon S3 bucket used to store artifacts generated by Canvas. Updating * the Amazon S3 location impacts existing configuration settings, and Canvas users * no longer have access to their artifacts. Canvas users must log out and log back * in to apply the new location.

*/ inline bool S3ArtifactPathHasBeenSet() const { return m_s3ArtifactPathHasBeenSet; } /** *

The Amazon S3 bucket used to store artifacts generated by Canvas. Updating * the Amazon S3 location impacts existing configuration settings, and Canvas users * no longer have access to their artifacts. Canvas users must log out and log back * in to apply the new location.

*/ inline void SetS3ArtifactPath(const Aws::String& value) { m_s3ArtifactPathHasBeenSet = true; m_s3ArtifactPath = value; } /** *

The Amazon S3 bucket used to store artifacts generated by Canvas. Updating * the Amazon S3 location impacts existing configuration settings, and Canvas users * no longer have access to their artifacts. Canvas users must log out and log back * in to apply the new location.

*/ inline void SetS3ArtifactPath(Aws::String&& value) { m_s3ArtifactPathHasBeenSet = true; m_s3ArtifactPath = std::move(value); } /** *

The Amazon S3 bucket used to store artifacts generated by Canvas. Updating * the Amazon S3 location impacts existing configuration settings, and Canvas users * no longer have access to their artifacts. Canvas users must log out and log back * in to apply the new location.

*/ inline void SetS3ArtifactPath(const char* value) { m_s3ArtifactPathHasBeenSet = true; m_s3ArtifactPath.assign(value); } /** *

The Amazon S3 bucket used to store artifacts generated by Canvas. Updating * the Amazon S3 location impacts existing configuration settings, and Canvas users * no longer have access to their artifacts. Canvas users must log out and log back * in to apply the new location.

*/ inline WorkspaceSettings& WithS3ArtifactPath(const Aws::String& value) { SetS3ArtifactPath(value); return *this;} /** *

The Amazon S3 bucket used to store artifacts generated by Canvas. Updating * the Amazon S3 location impacts existing configuration settings, and Canvas users * no longer have access to their artifacts. Canvas users must log out and log back * in to apply the new location.

*/ inline WorkspaceSettings& WithS3ArtifactPath(Aws::String&& value) { SetS3ArtifactPath(std::move(value)); return *this;} /** *

The Amazon S3 bucket used to store artifacts generated by Canvas. Updating * the Amazon S3 location impacts existing configuration settings, and Canvas users * no longer have access to their artifacts. Canvas users must log out and log back * in to apply the new location.

*/ inline WorkspaceSettings& WithS3ArtifactPath(const char* value) { SetS3ArtifactPath(value); return *this;} /** *

The Amazon Web Services Key Management Service (KMS) encryption key ID that * is used to encrypt artifacts generated by Canvas in the Amazon S3 bucket.

*/ inline const Aws::String& GetS3KmsKeyId() const{ return m_s3KmsKeyId; } /** *

The Amazon Web Services Key Management Service (KMS) encryption key ID that * is used to encrypt artifacts generated by Canvas in the Amazon S3 bucket.

*/ inline bool S3KmsKeyIdHasBeenSet() const { return m_s3KmsKeyIdHasBeenSet; } /** *

The Amazon Web Services Key Management Service (KMS) encryption key ID that * is used to encrypt artifacts generated by Canvas in the Amazon S3 bucket.

*/ inline void SetS3KmsKeyId(const Aws::String& value) { m_s3KmsKeyIdHasBeenSet = true; m_s3KmsKeyId = value; } /** *

The Amazon Web Services Key Management Service (KMS) encryption key ID that * is used to encrypt artifacts generated by Canvas in the Amazon S3 bucket.

*/ inline void SetS3KmsKeyId(Aws::String&& value) { m_s3KmsKeyIdHasBeenSet = true; m_s3KmsKeyId = std::move(value); } /** *

The Amazon Web Services Key Management Service (KMS) encryption key ID that * is used to encrypt artifacts generated by Canvas in the Amazon S3 bucket.

*/ inline void SetS3KmsKeyId(const char* value) { m_s3KmsKeyIdHasBeenSet = true; m_s3KmsKeyId.assign(value); } /** *

The Amazon Web Services Key Management Service (KMS) encryption key ID that * is used to encrypt artifacts generated by Canvas in the Amazon S3 bucket.

*/ inline WorkspaceSettings& WithS3KmsKeyId(const Aws::String& value) { SetS3KmsKeyId(value); return *this;} /** *

The Amazon Web Services Key Management Service (KMS) encryption key ID that * is used to encrypt artifacts generated by Canvas in the Amazon S3 bucket.

*/ inline WorkspaceSettings& WithS3KmsKeyId(Aws::String&& value) { SetS3KmsKeyId(std::move(value)); return *this;} /** *

The Amazon Web Services Key Management Service (KMS) encryption key ID that * is used to encrypt artifacts generated by Canvas in the Amazon S3 bucket.

*/ inline WorkspaceSettings& WithS3KmsKeyId(const char* value) { SetS3KmsKeyId(value); return *this;} private: Aws::String m_s3ArtifactPath; bool m_s3ArtifactPathHasBeenSet = false; Aws::String m_s3KmsKeyId; bool m_s3KmsKeyIdHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws