/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the server-side encryption (SSE) status for the
* delivery stream, the type customer master key (CMK) in use, if any, and the ARN
* of the CMK. You can get DeliveryStreamEncryptionConfiguration
by
* invoking the DescribeDeliveryStream operation. See Also:
* AWS
* API Reference
If KeyType
is CUSTOMER_MANAGED_CMK
, this field
* contains the ARN of the customer managed CMK. If KeyType
is
* AWS_OWNED_CMK
, DeliveryStreamEncryptionConfiguration
* doesn't contain a value for KeyARN
.
If KeyType
is CUSTOMER_MANAGED_CMK
, this field
* contains the ARN of the customer managed CMK. If KeyType
is
* AWS_OWNED_CMK
, DeliveryStreamEncryptionConfiguration
* doesn't contain a value for KeyARN
.
If KeyType
is CUSTOMER_MANAGED_CMK
, this field
* contains the ARN of the customer managed CMK. If KeyType
is
* AWS_OWNED_CMK
, DeliveryStreamEncryptionConfiguration
* doesn't contain a value for KeyARN
.
If KeyType
is CUSTOMER_MANAGED_CMK
, this field
* contains the ARN of the customer managed CMK. If KeyType
is
* AWS_OWNED_CMK
, DeliveryStreamEncryptionConfiguration
* doesn't contain a value for KeyARN
.
If KeyType
is CUSTOMER_MANAGED_CMK
, this field
* contains the ARN of the customer managed CMK. If KeyType
is
* AWS_OWNED_CMK
, DeliveryStreamEncryptionConfiguration
* doesn't contain a value for KeyARN
.
If KeyType
is CUSTOMER_MANAGED_CMK
, this field
* contains the ARN of the customer managed CMK. If KeyType
is
* AWS_OWNED_CMK
, DeliveryStreamEncryptionConfiguration
* doesn't contain a value for KeyARN
.
If KeyType
is CUSTOMER_MANAGED_CMK
, this field
* contains the ARN of the customer managed CMK. If KeyType
is
* AWS_OWNED_CMK
, DeliveryStreamEncryptionConfiguration
* doesn't contain a value for KeyARN
.
If KeyType
is CUSTOMER_MANAGED_CMK
, this field
* contains the ARN of the customer managed CMK. If KeyType
is
* AWS_OWNED_CMK
, DeliveryStreamEncryptionConfiguration
* doesn't contain a value for KeyARN
.
Indicates the type of customer master key (CMK) that is used for encryption.
* The default setting is AWS_OWNED_CMK
. For more information about
* CMKs, see Customer
* Master Keys (CMKs).
Indicates the type of customer master key (CMK) that is used for encryption.
* The default setting is AWS_OWNED_CMK
. For more information about
* CMKs, see Customer
* Master Keys (CMKs).
Indicates the type of customer master key (CMK) that is used for encryption.
* The default setting is AWS_OWNED_CMK
. For more information about
* CMKs, see Customer
* Master Keys (CMKs).
Indicates the type of customer master key (CMK) that is used for encryption.
* The default setting is AWS_OWNED_CMK
. For more information about
* CMKs, see Customer
* Master Keys (CMKs).
Indicates the type of customer master key (CMK) that is used for encryption.
* The default setting is AWS_OWNED_CMK
. For more information about
* CMKs, see Customer
* Master Keys (CMKs).
Indicates the type of customer master key (CMK) that is used for encryption.
* The default setting is AWS_OWNED_CMK
. For more information about
* CMKs, see Customer
* Master Keys (CMKs).
This is the server-side encryption (SSE) status for the delivery stream. For
* a full description of the different values of this status, see
* StartDeliveryStreamEncryption and StopDeliveryStreamEncryption. If
* this status is ENABLING_FAILED
or DISABLING_FAILED
, it
* is the status of the most recent attempt to enable or disable SSE,
* respectively.
This is the server-side encryption (SSE) status for the delivery stream. For
* a full description of the different values of this status, see
* StartDeliveryStreamEncryption and StopDeliveryStreamEncryption. If
* this status is ENABLING_FAILED
or DISABLING_FAILED
, it
* is the status of the most recent attempt to enable or disable SSE,
* respectively.
This is the server-side encryption (SSE) status for the delivery stream. For
* a full description of the different values of this status, see
* StartDeliveryStreamEncryption and StopDeliveryStreamEncryption. If
* this status is ENABLING_FAILED
or DISABLING_FAILED
, it
* is the status of the most recent attempt to enable or disable SSE,
* respectively.
This is the server-side encryption (SSE) status for the delivery stream. For
* a full description of the different values of this status, see
* StartDeliveryStreamEncryption and StopDeliveryStreamEncryption. If
* this status is ENABLING_FAILED
or DISABLING_FAILED
, it
* is the status of the most recent attempt to enable or disable SSE,
* respectively.
This is the server-side encryption (SSE) status for the delivery stream. For
* a full description of the different values of this status, see
* StartDeliveryStreamEncryption and StopDeliveryStreamEncryption. If
* this status is ENABLING_FAILED
or DISABLING_FAILED
, it
* is the status of the most recent attempt to enable or disable SSE,
* respectively.
This is the server-side encryption (SSE) status for the delivery stream. For
* a full description of the different values of this status, see
* StartDeliveryStreamEncryption and StopDeliveryStreamEncryption. If
* this status is ENABLING_FAILED
or DISABLING_FAILED
, it
* is the status of the most recent attempt to enable or disable SSE,
* respectively.
Provides details in case one of the following operations fails due to an * error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, * StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
*/ inline const FailureDescription& GetFailureDescription() const{ return m_failureDescription; } /** *Provides details in case one of the following operations fails due to an * error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, * StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
*/ inline bool FailureDescriptionHasBeenSet() const { return m_failureDescriptionHasBeenSet; } /** *Provides details in case one of the following operations fails due to an * error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, * StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
*/ inline void SetFailureDescription(const FailureDescription& value) { m_failureDescriptionHasBeenSet = true; m_failureDescription = value; } /** *Provides details in case one of the following operations fails due to an * error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, * StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
*/ inline void SetFailureDescription(FailureDescription&& value) { m_failureDescriptionHasBeenSet = true; m_failureDescription = std::move(value); } /** *Provides details in case one of the following operations fails due to an * error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, * StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
*/ inline DeliveryStreamEncryptionConfiguration& WithFailureDescription(const FailureDescription& value) { SetFailureDescription(value); return *this;} /** *Provides details in case one of the following operations fails due to an * error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, * StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
*/ inline DeliveryStreamEncryptionConfiguration& WithFailureDescription(FailureDescription&& value) { SetFailureDescription(std::move(value)); return *this;} private: Aws::String m_keyARN; bool m_keyARNHasBeenSet; KeyType m_keyType; bool m_keyTypeHasBeenSet; DeliveryStreamEncryptionStatus m_status; bool m_statusHasBeenSet; FailureDescription m_failureDescription; bool m_failureDescriptionHasBeenSet; }; } // namespace Model } // namespace Firehose } // namespace Aws