/** * 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 Personalize { namespace Model { /** *

The configuration details of an Amazon S3 input or output * bucket.

See Also:

AWS * API Reference

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

The file path of the Amazon S3 bucket.

*/ inline const Aws::String& GetPath() const{ return m_path; } /** *

The file path of the Amazon S3 bucket.

*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *

The file path of the Amazon S3 bucket.

*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *

The file path of the Amazon S3 bucket.

*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *

The file path of the Amazon S3 bucket.

*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *

The file path of the Amazon S3 bucket.

*/ inline S3DataConfig& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *

The file path of the Amazon S3 bucket.

*/ inline S3DataConfig& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *

The file path of the Amazon S3 bucket.

*/ inline S3DataConfig& WithPath(const char* value) { SetPath(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that * Amazon Personalize uses to encrypt or decrypt the input and output files.

*/ inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } /** *

The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that * Amazon Personalize uses to encrypt or decrypt the input and output files.

*/ inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that * Amazon Personalize uses to encrypt or decrypt the input and output files.

*/ inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; } /** *

The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that * Amazon Personalize uses to encrypt or decrypt the input and output files.

*/ inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that * Amazon Personalize uses to encrypt or decrypt the input and output files.

*/ inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that * Amazon Personalize uses to encrypt or decrypt the input and output files.

*/ inline S3DataConfig& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that * Amazon Personalize uses to encrypt or decrypt the input and output files.

*/ inline S3DataConfig& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that * Amazon Personalize uses to encrypt or decrypt the input and output files.

*/ inline S3DataConfig& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} private: Aws::String m_path; bool m_pathHasBeenSet = false; Aws::String m_kmsKeyArn; bool m_kmsKeyArnHasBeenSet = false; }; } // namespace Model } // namespace Personalize } // namespace Aws