/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex data type of profiles for the field-level encryption.See
* Also:
AWS
* API Reference
Profile name for the field-level encryption profile.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *Profile name for the field-level encryption profile.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *Profile name for the field-level encryption profile.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *Profile name for the field-level encryption profile.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *Profile name for the field-level encryption profile.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *Profile name for the field-level encryption profile.
*/ inline FieldLevelEncryptionProfileConfig& WithName(const Aws::String& value) { SetName(value); return *this;} /** *Profile name for the field-level encryption profile.
*/ inline FieldLevelEncryptionProfileConfig& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *Profile name for the field-level encryption profile.
*/ inline FieldLevelEncryptionProfileConfig& WithName(const char* value) { SetName(value); return *this;} /** *A unique number that ensures that the request can't be replayed.
*/ inline const Aws::String& GetCallerReference() const{ return m_callerReference; } /** *A unique number that ensures that the request can't be replayed.
*/ inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; } /** *A unique number that ensures that the request can't be replayed.
*/ inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; } /** *A unique number that ensures that the request can't be replayed.
*/ inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); } /** *A unique number that ensures that the request can't be replayed.
*/ inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); } /** *A unique number that ensures that the request can't be replayed.
*/ inline FieldLevelEncryptionProfileConfig& WithCallerReference(const Aws::String& value) { SetCallerReference(value); return *this;} /** *A unique number that ensures that the request can't be replayed.
*/ inline FieldLevelEncryptionProfileConfig& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;} /** *A unique number that ensures that the request can't be replayed.
*/ inline FieldLevelEncryptionProfileConfig& WithCallerReference(const char* value) { SetCallerReference(value); return *this;} /** *An optional comment for the field-level encryption profile. 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. The comment * cannot be longer than 128 characters.
*/ inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; } /** *An optional comment for the field-level encryption profile. 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. 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. 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. The comment * cannot be longer than 128 characters.
*/ inline FieldLevelEncryptionProfileConfig& WithComment(const Aws::String& value) { SetComment(value); return *this;} /** *An optional comment for the field-level encryption profile. The comment * cannot be longer than 128 characters.
*/ inline FieldLevelEncryptionProfileConfig& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;} /** *An optional comment for the field-level encryption profile. The comment * cannot be longer than 128 characters.
*/ inline FieldLevelEncryptionProfileConfig& WithComment(const char* value) { SetComment(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 FieldLevelEncryptionProfileConfig& 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 FieldLevelEncryptionProfileConfig& WithEncryptionEntities(EncryptionEntities&& value) { SetEncryptionEntities(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_callerReference; bool m_callerReferenceHasBeenSet = false; Aws::String m_comment; bool m_commentHasBeenSet = false; EncryptionEntities m_encryptionEntities; bool m_encryptionEntitiesHasBeenSet = false; }; } // namespace Model } // namespace CloudFront } // namespace Aws