/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace CloudFront { namespace Model { /** *

The field-level encryption profile summary.

See Also:

AWS * API Reference

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

ID for the field-level encryption profile summary.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

ID for the field-level encryption profile summary.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

ID for the field-level encryption profile summary.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

ID for the field-level encryption profile summary.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

ID for the field-level encryption profile summary.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

ID for the field-level encryption profile summary.

*/ inline FieldLevelEncryptionProfileSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

ID for the field-level encryption profile summary.

*/ inline FieldLevelEncryptionProfileSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

ID for the field-level encryption profile summary.

*/ inline FieldLevelEncryptionProfileSummary& WithId(const char* value) { SetId(value); return *this;} /** *

The time when the the field-level encryption profile summary was last * updated.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

The time when the the field-level encryption profile summary was last * updated.

*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

The time when the the field-level encryption profile summary was last * updated.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *

The time when the the field-level encryption profile summary was last * updated.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *

The time when the the field-level encryption profile summary was last * updated.

*/ inline FieldLevelEncryptionProfileSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

The time when the the field-level encryption profile summary was last * updated.

*/ inline FieldLevelEncryptionProfileSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *

Name for the field-level encryption profile summary.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

Name for the field-level encryption profile summary.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

Name for the field-level encryption profile summary.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

Name for the field-level encryption profile summary.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

Name for the field-level encryption profile summary.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

Name for the field-level encryption profile summary.

*/ inline FieldLevelEncryptionProfileSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

Name for the field-level encryption profile summary.

*/ inline FieldLevelEncryptionProfileSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

Name for the field-level encryption profile summary.

*/ inline FieldLevelEncryptionProfileSummary& WithName(const char* value) { SetName(value); return *this;} /** *

A complex data type of encryption entities for the field-level encryption * profile that include the public key ID, provider, and field patterns for * specifying which fields to encrypt with this key.

*/ inline const EncryptionEntities& GetEncryptionEntities() const{ return m_encryptionEntities; } /** *

A complex data type of encryption entities for the field-level encryption * profile that include the public key ID, provider, and field patterns for * specifying which fields to encrypt with this key.

*/ inline bool EncryptionEntitiesHasBeenSet() const { return m_encryptionEntitiesHasBeenSet; } /** *

A complex data type of encryption entities for the field-level encryption * profile that include the public key ID, provider, and field patterns for * specifying which fields to encrypt with this key.

*/ inline void SetEncryptionEntities(const EncryptionEntities& value) { m_encryptionEntitiesHasBeenSet = true; m_encryptionEntities = value; } /** *

A complex data type of encryption entities for the field-level encryption * profile that include the public key ID, provider, and field patterns for * specifying which fields to encrypt with this key.

*/ inline void SetEncryptionEntities(EncryptionEntities&& value) { m_encryptionEntitiesHasBeenSet = true; m_encryptionEntities = std::move(value); } /** *

A complex data type of encryption entities for the field-level encryption * profile that include the public key ID, provider, and field patterns for * specifying which fields to encrypt with this key.

*/ inline FieldLevelEncryptionProfileSummary& WithEncryptionEntities(const EncryptionEntities& value) { SetEncryptionEntities(value); return *this;} /** *

A complex data type of encryption entities for the field-level encryption * profile that include the public key ID, provider, and field patterns for * specifying which fields to encrypt with this key.

*/ inline FieldLevelEncryptionProfileSummary& WithEncryptionEntities(EncryptionEntities&& value) { SetEncryptionEntities(std::move(value)); return *this;} /** *

An optional comment for the field-level encryption profile summary. The * comment cannot be longer than 128 characters.

*/ inline const Aws::String& GetComment() const{ return m_comment; } /** *

An optional comment for the field-level encryption profile summary. The * comment cannot be longer than 128 characters.

*/ inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; } /** *

An optional comment for the field-level encryption profile summary. The * comment cannot be longer than 128 characters.

*/ inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; } /** *

An optional comment for the field-level encryption profile summary. The * comment cannot be longer than 128 characters.

*/ inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); } /** *

An optional comment for the field-level encryption profile summary. The * comment cannot be longer than 128 characters.

*/ inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); } /** *

An optional comment for the field-level encryption profile summary. The * comment cannot be longer than 128 characters.

*/ inline FieldLevelEncryptionProfileSummary& WithComment(const Aws::String& value) { SetComment(value); return *this;} /** *

An optional comment for the field-level encryption profile summary. The * comment cannot be longer than 128 characters.

*/ inline FieldLevelEncryptionProfileSummary& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;} /** *

An optional comment for the field-level encryption profile summary. The * comment cannot be longer than 128 characters.

*/ inline FieldLevelEncryptionProfileSummary& WithComment(const char* value) { SetComment(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; EncryptionEntities m_encryptionEntities; bool m_encryptionEntitiesHasBeenSet = false; Aws::String m_comment; bool m_commentHasBeenSet = false; }; } // namespace Model } // namespace CloudFront } // namespace Aws