/** * 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 Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

Information about the server-side encryption for the table.

See * Also:

AWS * API Reference

*/ class AWS_SECURITYHUB_API AwsDynamoDbTableSseDescription { public: AwsDynamoDbTableSseDescription(); AwsDynamoDbTableSseDescription(Aws::Utils::Json::JsonView jsonValue); AwsDynamoDbTableSseDescription& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

If the key is inaccessible, the date and time when DynamoDB detected that the * key was inaccessible.

Uses the date-time format specified in * RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces. For example, * 2020-03-22T13:22:13.933Z.

*/ inline const Aws::String& GetInaccessibleEncryptionDateTime() const{ return m_inaccessibleEncryptionDateTime; } /** *

If the key is inaccessible, the date and time when DynamoDB detected that the * key was inaccessible.

Uses the date-time format specified in * RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces. For example, * 2020-03-22T13:22:13.933Z.

*/ inline bool InaccessibleEncryptionDateTimeHasBeenSet() const { return m_inaccessibleEncryptionDateTimeHasBeenSet; } /** *

If the key is inaccessible, the date and time when DynamoDB detected that the * key was inaccessible.

Uses the date-time format specified in * RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces. For example, * 2020-03-22T13:22:13.933Z.

*/ inline void SetInaccessibleEncryptionDateTime(const Aws::String& value) { m_inaccessibleEncryptionDateTimeHasBeenSet = true; m_inaccessibleEncryptionDateTime = value; } /** *

If the key is inaccessible, the date and time when DynamoDB detected that the * key was inaccessible.

Uses the date-time format specified in * RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces. For example, * 2020-03-22T13:22:13.933Z.

*/ inline void SetInaccessibleEncryptionDateTime(Aws::String&& value) { m_inaccessibleEncryptionDateTimeHasBeenSet = true; m_inaccessibleEncryptionDateTime = std::move(value); } /** *

If the key is inaccessible, the date and time when DynamoDB detected that the * key was inaccessible.

Uses the date-time format specified in * RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces. For example, * 2020-03-22T13:22:13.933Z.

*/ inline void SetInaccessibleEncryptionDateTime(const char* value) { m_inaccessibleEncryptionDateTimeHasBeenSet = true; m_inaccessibleEncryptionDateTime.assign(value); } /** *

If the key is inaccessible, the date and time when DynamoDB detected that the * key was inaccessible.

Uses the date-time format specified in * RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces. For example, * 2020-03-22T13:22:13.933Z.

*/ inline AwsDynamoDbTableSseDescription& WithInaccessibleEncryptionDateTime(const Aws::String& value) { SetInaccessibleEncryptionDateTime(value); return *this;} /** *

If the key is inaccessible, the date and time when DynamoDB detected that the * key was inaccessible.

Uses the date-time format specified in * RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces. For example, * 2020-03-22T13:22:13.933Z.

*/ inline AwsDynamoDbTableSseDescription& WithInaccessibleEncryptionDateTime(Aws::String&& value) { SetInaccessibleEncryptionDateTime(std::move(value)); return *this;} /** *

If the key is inaccessible, the date and time when DynamoDB detected that the * key was inaccessible.

Uses the date-time format specified in * RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces. For example, * 2020-03-22T13:22:13.933Z.

*/ inline AwsDynamoDbTableSseDescription& WithInaccessibleEncryptionDateTime(const char* value) { SetInaccessibleEncryptionDateTime(value); return *this;} /** *

The status of the server-side encryption.

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

The status of the server-side encryption.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the server-side encryption.

*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the server-side encryption.

*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the server-side encryption.

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

The status of the server-side encryption.

*/ inline AwsDynamoDbTableSseDescription& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

The status of the server-side encryption.

*/ inline AwsDynamoDbTableSseDescription& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

The status of the server-side encryption.

*/ inline AwsDynamoDbTableSseDescription& WithStatus(const char* value) { SetStatus(value); return *this;} /** *

The type of server-side encryption.

*/ inline const Aws::String& GetSseType() const{ return m_sseType; } /** *

The type of server-side encryption.

*/ inline bool SseTypeHasBeenSet() const { return m_sseTypeHasBeenSet; } /** *

The type of server-side encryption.

*/ inline void SetSseType(const Aws::String& value) { m_sseTypeHasBeenSet = true; m_sseType = value; } /** *

The type of server-side encryption.

*/ inline void SetSseType(Aws::String&& value) { m_sseTypeHasBeenSet = true; m_sseType = std::move(value); } /** *

The type of server-side encryption.

*/ inline void SetSseType(const char* value) { m_sseTypeHasBeenSet = true; m_sseType.assign(value); } /** *

The type of server-side encryption.

*/ inline AwsDynamoDbTableSseDescription& WithSseType(const Aws::String& value) { SetSseType(value); return *this;} /** *

The type of server-side encryption.

*/ inline AwsDynamoDbTableSseDescription& WithSseType(Aws::String&& value) { SetSseType(std::move(value)); return *this;} /** *

The type of server-side encryption.

*/ inline AwsDynamoDbTableSseDescription& WithSseType(const char* value) { SetSseType(value); return *this;} /** *

The ARN of the AWS KMS customer master key (CMK) that is used for the AWS KMS * encryption.

*/ inline const Aws::String& GetKmsMasterKeyArn() const{ return m_kmsMasterKeyArn; } /** *

The ARN of the AWS KMS customer master key (CMK) that is used for the AWS KMS * encryption.

*/ inline bool KmsMasterKeyArnHasBeenSet() const { return m_kmsMasterKeyArnHasBeenSet; } /** *

The ARN of the AWS KMS customer master key (CMK) that is used for the AWS KMS * encryption.

*/ inline void SetKmsMasterKeyArn(const Aws::String& value) { m_kmsMasterKeyArnHasBeenSet = true; m_kmsMasterKeyArn = value; } /** *

The ARN of the AWS KMS customer master key (CMK) that is used for the AWS KMS * encryption.

*/ inline void SetKmsMasterKeyArn(Aws::String&& value) { m_kmsMasterKeyArnHasBeenSet = true; m_kmsMasterKeyArn = std::move(value); } /** *

The ARN of the AWS KMS customer master key (CMK) that is used for the AWS KMS * encryption.

*/ inline void SetKmsMasterKeyArn(const char* value) { m_kmsMasterKeyArnHasBeenSet = true; m_kmsMasterKeyArn.assign(value); } /** *

The ARN of the AWS KMS customer master key (CMK) that is used for the AWS KMS * encryption.

*/ inline AwsDynamoDbTableSseDescription& WithKmsMasterKeyArn(const Aws::String& value) { SetKmsMasterKeyArn(value); return *this;} /** *

The ARN of the AWS KMS customer master key (CMK) that is used for the AWS KMS * encryption.

*/ inline AwsDynamoDbTableSseDescription& WithKmsMasterKeyArn(Aws::String&& value) { SetKmsMasterKeyArn(std::move(value)); return *this;} /** *

The ARN of the AWS KMS customer master key (CMK) that is used for the AWS KMS * encryption.

*/ inline AwsDynamoDbTableSseDescription& WithKmsMasterKeyArn(const char* value) { SetKmsMasterKeyArn(value); return *this;} private: Aws::String m_inaccessibleEncryptionDateTime; bool m_inaccessibleEncryptionDateTimeHasBeenSet; Aws::String m_status; bool m_statusHasBeenSet; Aws::String m_sseType; bool m_sseTypeHasBeenSet; Aws::String m_kmsMasterKeyArn; bool m_kmsMasterKeyArnHasBeenSet; }; } // namespace Model } // namespace SecurityHub } // namespace Aws