/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains details of the Amazon S3 bucket and KMS key used to export
* findings.See Also:
AWS
* API Reference
The name of the Amazon S3 bucket to export findings to.
*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *The name of the Amazon S3 bucket to export findings to.
*/ inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } /** *The name of the Amazon S3 bucket to export findings to.
*/ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** *The name of the Amazon S3 bucket to export findings to.
*/ inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } /** *The name of the Amazon S3 bucket to export findings to.
*/ inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } /** *The name of the Amazon S3 bucket to export findings to.
*/ inline Destination& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *The name of the Amazon S3 bucket to export findings to.
*/ inline Destination& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *The name of the Amazon S3 bucket to export findings to.
*/ inline Destination& WithBucketName(const char* value) { SetBucketName(value); return *this;} /** *The prefix of the Amazon S3 bucket used to export findings.
*/ inline const Aws::String& GetKeyPrefix() const{ return m_keyPrefix; } /** *The prefix of the Amazon S3 bucket used to export findings.
*/ inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; } /** *The prefix of the Amazon S3 bucket used to export findings.
*/ inline void SetKeyPrefix(const Aws::String& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = value; } /** *The prefix of the Amazon S3 bucket used to export findings.
*/ inline void SetKeyPrefix(Aws::String&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::move(value); } /** *The prefix of the Amazon S3 bucket used to export findings.
*/ inline void SetKeyPrefix(const char* value) { m_keyPrefixHasBeenSet = true; m_keyPrefix.assign(value); } /** *The prefix of the Amazon S3 bucket used to export findings.
*/ inline Destination& WithKeyPrefix(const Aws::String& value) { SetKeyPrefix(value); return *this;} /** *The prefix of the Amazon S3 bucket used to export findings.
*/ inline Destination& WithKeyPrefix(Aws::String&& value) { SetKeyPrefix(std::move(value)); return *this;} /** *The prefix of the Amazon S3 bucket used to export findings.
*/ inline Destination& WithKeyPrefix(const char* value) { SetKeyPrefix(value); return *this;} /** *The ARN of the KMS key used to encrypt data when exporting findings.
*/ inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } /** *The ARN of the KMS key used to encrypt data when exporting findings.
*/ inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } /** *The ARN of the KMS key used to encrypt data when exporting findings.
*/ inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; } /** *The ARN of the KMS key used to encrypt data when exporting findings.
*/ inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); } /** *The ARN of the KMS key used to encrypt data when exporting findings.
*/ inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); } /** *The ARN of the KMS key used to encrypt data when exporting findings.
*/ inline Destination& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} /** *The ARN of the KMS key used to encrypt data when exporting findings.
*/ inline Destination& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} /** *The ARN of the KMS key used to encrypt data when exporting findings.
*/ inline Destination& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} private: Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; Aws::String m_keyPrefix; bool m_keyPrefixHasBeenSet = false; Aws::String m_kmsKeyArn; bool m_kmsKeyArnHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws