/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a custom encryption key that App Runner uses to encrypt copies of
* the source repository and service logs.See Also:
AWS
* API Reference
The ARN of the KMS key that's used for encryption.
*/ inline const Aws::String& GetKmsKey() const{ return m_kmsKey; } /** *The ARN of the KMS key that's used for encryption.
*/ inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; } /** *The ARN of the KMS key that's used for encryption.
*/ inline void SetKmsKey(const Aws::String& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = value; } /** *The ARN of the KMS key that's used for encryption.
*/ inline void SetKmsKey(Aws::String&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::move(value); } /** *The ARN of the KMS key that's used for encryption.
*/ inline void SetKmsKey(const char* value) { m_kmsKeyHasBeenSet = true; m_kmsKey.assign(value); } /** *The ARN of the KMS key that's used for encryption.
*/ inline EncryptionConfiguration& WithKmsKey(const Aws::String& value) { SetKmsKey(value); return *this;} /** *The ARN of the KMS key that's used for encryption.
*/ inline EncryptionConfiguration& WithKmsKey(Aws::String&& value) { SetKmsKey(std::move(value)); return *this;} /** *The ARN of the KMS key that's used for encryption.
*/ inline EncryptionConfiguration& WithKmsKey(const char* value) { SetKmsKey(value); return *this;} private: Aws::String m_kmsKey; bool m_kmsKeyHasBeenSet = false; }; } // namespace Model } // namespace AppRunner } // namespace Aws