/** * 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 { /** *

A complex data type for field-level encryption profiles.

See * Also:

AWS * API Reference

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

The ID for a field-level encryption profile configuration which includes a * set of profiles that specify certain selected data fields to be encrypted by * specific public keys.

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

The ID for a field-level encryption profile configuration which includes a * set of profiles that specify certain selected data fields to be encrypted by * specific public keys.

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

The ID for a field-level encryption profile configuration which includes a * set of profiles that specify certain selected data fields to be encrypted by * specific public keys.

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

The ID for a field-level encryption profile configuration which includes a * set of profiles that specify certain selected data fields to be encrypted by * specific public keys.

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

The ID for a field-level encryption profile configuration which includes a * set of profiles that specify certain selected data fields to be encrypted by * specific public keys.

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

The ID for a field-level encryption profile configuration which includes a * set of profiles that specify certain selected data fields to be encrypted by * specific public keys.

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

The ID for a field-level encryption profile configuration which includes a * set of profiles that specify certain selected data fields to be encrypted by * specific public keys.

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

The ID for a field-level encryption profile configuration which includes a * set of profiles that specify certain selected data fields to be encrypted by * specific public keys.

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

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

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

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

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

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

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

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

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

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

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

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

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

A complex data type that includes the profile name and the encryption * entities for the field-level encryption profile.

*/ inline const FieldLevelEncryptionProfileConfig& GetFieldLevelEncryptionProfileConfig() const{ return m_fieldLevelEncryptionProfileConfig; } /** *

A complex data type that includes the profile name and the encryption * entities for the field-level encryption profile.

*/ inline bool FieldLevelEncryptionProfileConfigHasBeenSet() const { return m_fieldLevelEncryptionProfileConfigHasBeenSet; } /** *

A complex data type that includes the profile name and the encryption * entities for the field-level encryption profile.

*/ inline void SetFieldLevelEncryptionProfileConfig(const FieldLevelEncryptionProfileConfig& value) { m_fieldLevelEncryptionProfileConfigHasBeenSet = true; m_fieldLevelEncryptionProfileConfig = value; } /** *

A complex data type that includes the profile name and the encryption * entities for the field-level encryption profile.

*/ inline void SetFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfig&& value) { m_fieldLevelEncryptionProfileConfigHasBeenSet = true; m_fieldLevelEncryptionProfileConfig = std::move(value); } /** *

A complex data type that includes the profile name and the encryption * entities for the field-level encryption profile.

*/ inline FieldLevelEncryptionProfile& WithFieldLevelEncryptionProfileConfig(const FieldLevelEncryptionProfileConfig& value) { SetFieldLevelEncryptionProfileConfig(value); return *this;} /** *

A complex data type that includes the profile name and the encryption * entities for the field-level encryption profile.

*/ inline FieldLevelEncryptionProfile& WithFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfig&& value) { SetFieldLevelEncryptionProfileConfig(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; FieldLevelEncryptionProfileConfig m_fieldLevelEncryptionProfileConfig; bool m_fieldLevelEncryptionProfileConfigHasBeenSet = false; }; } // namespace Model } // namespace CloudFront } // namespace Aws