/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that contains: The encryption option for a
* repository association. It is either owned by Amazon Web Services Key Management
* Service (KMS) ( The ID of the Amazon Web
* Services KMS key that is associated with a repository association.
AWS_OWNED_CMK
) or customer managed
* (CUSTOMER_MANAGED_CMK
).See Also:
AWS
* API Reference
The ID of the Amazon Web Services KMS key that is associated with a * repository association.
*/ inline const Aws::String& GetKMSKeyId() const{ return m_kMSKeyId; } /** *The ID of the Amazon Web Services KMS key that is associated with a * repository association.
*/ inline bool KMSKeyIdHasBeenSet() const { return m_kMSKeyIdHasBeenSet; } /** *The ID of the Amazon Web Services KMS key that is associated with a * repository association.
*/ inline void SetKMSKeyId(const Aws::String& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = value; } /** *The ID of the Amazon Web Services KMS key that is associated with a * repository association.
*/ inline void SetKMSKeyId(Aws::String&& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = std::move(value); } /** *The ID of the Amazon Web Services KMS key that is associated with a * repository association.
*/ inline void SetKMSKeyId(const char* value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId.assign(value); } /** *The ID of the Amazon Web Services KMS key that is associated with a * repository association.
*/ inline KMSKeyDetails& WithKMSKeyId(const Aws::String& value) { SetKMSKeyId(value); return *this;} /** *The ID of the Amazon Web Services KMS key that is associated with a * repository association.
*/ inline KMSKeyDetails& WithKMSKeyId(Aws::String&& value) { SetKMSKeyId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services KMS key that is associated with a * repository association.
*/ inline KMSKeyDetails& WithKMSKeyId(const char* value) { SetKMSKeyId(value); return *this;} /** *The encryption option for a repository association. It is either owned by
* Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK
) or
* customer managed (CUSTOMER_MANAGED_CMK
).
The encryption option for a repository association. It is either owned by
* Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK
) or
* customer managed (CUSTOMER_MANAGED_CMK
).
The encryption option for a repository association. It is either owned by
* Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK
) or
* customer managed (CUSTOMER_MANAGED_CMK
).
The encryption option for a repository association. It is either owned by
* Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK
) or
* customer managed (CUSTOMER_MANAGED_CMK
).
The encryption option for a repository association. It is either owned by
* Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK
) or
* customer managed (CUSTOMER_MANAGED_CMK
).
The encryption option for a repository association. It is either owned by
* Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK
) or
* customer managed (CUSTOMER_MANAGED_CMK
).