/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex data type that includes the profile configurations and other
* options specified for field-level encryption.See Also:
AWS
* API Reference
The configuration ID for a field-level encryption 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 configuration ID for a field-level encryption 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 configuration ID for a field-level encryption 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 configuration ID for a field-level encryption 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 configuration ID for a field-level encryption 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 configuration ID for a field-level encryption configuration which * includes a set of profiles that specify certain selected data fields to be * encrypted by specific public keys.
*/ inline FieldLevelEncryption& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The configuration ID for a field-level encryption configuration which * includes a set of profiles that specify certain selected data fields to be * encrypted by specific public keys.
*/ inline FieldLevelEncryption& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The configuration ID for a field-level encryption configuration which * includes a set of profiles that specify certain selected data fields to be * encrypted by specific public keys.
*/ inline FieldLevelEncryption& WithId(const char* value) { SetId(value); return *this;} /** *The last time the field-level encryption configuration was changed.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *The last time the field-level encryption configuration was changed.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *The last time the field-level encryption configuration was changed.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *The last time the field-level encryption configuration was changed.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *The last time the field-level encryption configuration was changed.
*/ inline FieldLevelEncryption& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *The last time the field-level encryption configuration was changed.
*/ inline FieldLevelEncryption& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *A complex data type that includes the profile configurations specified for * field-level encryption.
*/ inline const FieldLevelEncryptionConfig& GetFieldLevelEncryptionConfig() const{ return m_fieldLevelEncryptionConfig; } /** *A complex data type that includes the profile configurations specified for * field-level encryption.
*/ inline bool FieldLevelEncryptionConfigHasBeenSet() const { return m_fieldLevelEncryptionConfigHasBeenSet; } /** *A complex data type that includes the profile configurations specified for * field-level encryption.
*/ inline void SetFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig& value) { m_fieldLevelEncryptionConfigHasBeenSet = true; m_fieldLevelEncryptionConfig = value; } /** *A complex data type that includes the profile configurations specified for * field-level encryption.
*/ inline void SetFieldLevelEncryptionConfig(FieldLevelEncryptionConfig&& value) { m_fieldLevelEncryptionConfigHasBeenSet = true; m_fieldLevelEncryptionConfig = std::move(value); } /** *A complex data type that includes the profile configurations specified for * field-level encryption.
*/ inline FieldLevelEncryption& WithFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig& value) { SetFieldLevelEncryptionConfig(value); return *this;} /** *A complex data type that includes the profile configurations specified for * field-level encryption.
*/ inline FieldLevelEncryption& WithFieldLevelEncryptionConfig(FieldLevelEncryptionConfig&& value) { SetFieldLevelEncryptionConfig(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; FieldLevelEncryptionConfig m_fieldLevelEncryptionConfig; bool m_fieldLevelEncryptionConfigHasBeenSet = false; }; } // namespace Model } // namespace CloudFront } // namespace Aws