/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about account-level configuration.See Also:
AWS
* API Reference
The KMS key ARN to use for encryption. This must be provided as a header when * uploading your code resource.
*/ inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } /** *The KMS key ARN to use for encryption. This must be provided as a header when * uploading your code resource.
*/ inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } /** *The KMS key ARN to use for encryption. This must be provided as a header when * uploading your code resource.
*/ inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; } /** *The KMS key ARN to use for encryption. This must be provided as a header when * uploading your code resource.
*/ inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); } /** *The KMS key ARN to use for encryption. This must be provided as a header when * uploading your code resource.
*/ inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); } /** *The KMS key ARN to use for encryption. This must be provided as a header when * uploading your code resource.
*/ inline EncryptionConfig& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} /** *The KMS key ARN to use for encryption. This must be provided as a header when * uploading your code resource.
*/ inline EncryptionConfig& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} /** *The KMS key ARN to use for encryption. This must be provided as a header when * uploading your code resource.
*/ inline EncryptionConfig& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} private: Aws::String m_kmsKeyArn; bool m_kmsKeyArnHasBeenSet = false; }; } // namespace Model } // namespace CodeGuruSecurity } // namespace Aws