/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about stream encryption. See Also:
AWS
* API Reference
The encryption type to use.
*/ inline const Aws::String& GetEncryptionType() const{ return m_encryptionType; } /** *The encryption type to use.
*/ inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; } /** *The encryption type to use.
*/ inline void SetEncryptionType(const Aws::String& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; } /** *The encryption type to use.
*/ inline void SetEncryptionType(Aws::String&& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = std::move(value); } /** *The encryption type to use.
*/ inline void SetEncryptionType(const char* value) { m_encryptionTypeHasBeenSet = true; m_encryptionType.assign(value); } /** *The encryption type to use.
*/ inline AwsKinesisStreamStreamEncryptionDetails& WithEncryptionType(const Aws::String& value) { SetEncryptionType(value); return *this;} /** *The encryption type to use.
*/ inline AwsKinesisStreamStreamEncryptionDetails& WithEncryptionType(Aws::String&& value) { SetEncryptionType(std::move(value)); return *this;} /** *The encryption type to use.
*/ inline AwsKinesisStreamStreamEncryptionDetails& WithEncryptionType(const char* value) { SetEncryptionType(value); return *this;} /** *The globally unique identifier for the customer-managed KMS key to use for * encryption.
*/ inline const Aws::String& GetKeyId() const{ return m_keyId; } /** *The globally unique identifier for the customer-managed KMS key to use for * encryption.
*/ inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; } /** *The globally unique identifier for the customer-managed KMS key to use for * encryption.
*/ inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; } /** *The globally unique identifier for the customer-managed KMS key to use for * encryption.
*/ inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); } /** *The globally unique identifier for the customer-managed KMS key to use for * encryption.
*/ inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); } /** *The globally unique identifier for the customer-managed KMS key to use for * encryption.
*/ inline AwsKinesisStreamStreamEncryptionDetails& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;} /** *The globally unique identifier for the customer-managed KMS key to use for * encryption.
*/ inline AwsKinesisStreamStreamEncryptionDetails& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;} /** *The globally unique identifier for the customer-managed KMS key to use for * encryption.
*/ inline AwsKinesisStreamStreamEncryptionDetails& WithKeyId(const char* value) { SetKeyId(value); return *this;} private: Aws::String m_encryptionType; bool m_encryptionTypeHasBeenSet = false; Aws::String m_keyId; bool m_keyIdHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws