/** * 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 Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace S3Control { namespace Model { /** *

See Also:

AWS * API Reference

*/ class SSEKMS { public: AWS_S3CONTROL_API SSEKMS(); AWS_S3CONTROL_API SSEKMS(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_S3CONTROL_API SSEKMS& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

A container for the ARN of the SSE-KMS encryption. This property is read-only * and follows the following format: * arn:aws:kms:us-east-1:example-account-id:key/example-9a73-4afc-8d29-8f5900cef44e *

*/ inline const Aws::String& GetKeyId() const{ return m_keyId; } /** *

A container for the ARN of the SSE-KMS encryption. This property is read-only * and follows the following format: * arn:aws:kms:us-east-1:example-account-id:key/example-9a73-4afc-8d29-8f5900cef44e *

*/ inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; } /** *

A container for the ARN of the SSE-KMS encryption. This property is read-only * and follows the following format: * arn:aws:kms:us-east-1:example-account-id:key/example-9a73-4afc-8d29-8f5900cef44e *

*/ inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; } /** *

A container for the ARN of the SSE-KMS encryption. This property is read-only * and follows the following format: * arn:aws:kms:us-east-1:example-account-id:key/example-9a73-4afc-8d29-8f5900cef44e *

*/ inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); } /** *

A container for the ARN of the SSE-KMS encryption. This property is read-only * and follows the following format: * arn:aws:kms:us-east-1:example-account-id:key/example-9a73-4afc-8d29-8f5900cef44e *

*/ inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); } /** *

A container for the ARN of the SSE-KMS encryption. This property is read-only * and follows the following format: * arn:aws:kms:us-east-1:example-account-id:key/example-9a73-4afc-8d29-8f5900cef44e *

*/ inline SSEKMS& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;} /** *

A container for the ARN of the SSE-KMS encryption. This property is read-only * and follows the following format: * arn:aws:kms:us-east-1:example-account-id:key/example-9a73-4afc-8d29-8f5900cef44e *

*/ inline SSEKMS& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;} /** *

A container for the ARN of the SSE-KMS encryption. This property is read-only * and follows the following format: * arn:aws:kms:us-east-1:example-account-id:key/example-9a73-4afc-8d29-8f5900cef44e *

*/ inline SSEKMS& WithKeyId(const char* value) { SetKeyId(value); return *this;} private: Aws::String m_keyId; bool m_keyIdHasBeenSet = false; }; } // namespace Model } // namespace S3Control } // namespace Aws