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

A summary of a field-level encryption item.

See Also:

AWS * API Reference

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

The unique ID of a field-level encryption item.

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

The unique ID of a field-level encryption item.

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

The unique ID of a field-level encryption item.

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

The unique ID of a field-level encryption item.

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

The unique ID of a field-level encryption item.

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

The unique ID of a field-level encryption item.

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

The unique ID of a field-level encryption item.

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

The unique ID of a field-level encryption item.

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

The last time that the summary of field-level encryption items was * modified.

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

The last time that the summary of field-level encryption items was * modified.

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

The last time that the summary of field-level encryption items was * modified.

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

The last time that the summary of field-level encryption items was * modified.

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

The last time that the summary of field-level encryption items was * modified.

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

The last time that the summary of field-level encryption items was * modified.

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

An optional comment about the field-level encryption item. The comment cannot * be longer than 128 characters.

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

An optional comment about the field-level encryption item. The comment cannot * be longer than 128 characters.

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

An optional comment about the field-level encryption item. The comment cannot * be longer than 128 characters.

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

An optional comment about the field-level encryption item. 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 about the field-level encryption item. The comment cannot * be longer than 128 characters.

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

An optional comment about the field-level encryption item. The comment cannot * be longer than 128 characters.

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

An optional comment about the field-level encryption item. The comment cannot * be longer than 128 characters.

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

An optional comment about the field-level encryption item. The comment cannot * be longer than 128 characters.

*/ inline FieldLevelEncryptionSummary& WithComment(const char* value) { SetComment(value); return *this;} /** *

A summary of a query argument-profile mapping.

*/ inline const QueryArgProfileConfig& GetQueryArgProfileConfig() const{ return m_queryArgProfileConfig; } /** *

A summary of a query argument-profile mapping.

*/ inline bool QueryArgProfileConfigHasBeenSet() const { return m_queryArgProfileConfigHasBeenSet; } /** *

A summary of a query argument-profile mapping.

*/ inline void SetQueryArgProfileConfig(const QueryArgProfileConfig& value) { m_queryArgProfileConfigHasBeenSet = true; m_queryArgProfileConfig = value; } /** *

A summary of a query argument-profile mapping.

*/ inline void SetQueryArgProfileConfig(QueryArgProfileConfig&& value) { m_queryArgProfileConfigHasBeenSet = true; m_queryArgProfileConfig = std::move(value); } /** *

A summary of a query argument-profile mapping.

*/ inline FieldLevelEncryptionSummary& WithQueryArgProfileConfig(const QueryArgProfileConfig& value) { SetQueryArgProfileConfig(value); return *this;} /** *

A summary of a query argument-profile mapping.

*/ inline FieldLevelEncryptionSummary& WithQueryArgProfileConfig(QueryArgProfileConfig&& value) { SetQueryArgProfileConfig(std::move(value)); return *this;} /** *

A summary of a content type-profile mapping.

*/ inline const ContentTypeProfileConfig& GetContentTypeProfileConfig() const{ return m_contentTypeProfileConfig; } /** *

A summary of a content type-profile mapping.

*/ inline bool ContentTypeProfileConfigHasBeenSet() const { return m_contentTypeProfileConfigHasBeenSet; } /** *

A summary of a content type-profile mapping.

*/ inline void SetContentTypeProfileConfig(const ContentTypeProfileConfig& value) { m_contentTypeProfileConfigHasBeenSet = true; m_contentTypeProfileConfig = value; } /** *

A summary of a content type-profile mapping.

*/ inline void SetContentTypeProfileConfig(ContentTypeProfileConfig&& value) { m_contentTypeProfileConfigHasBeenSet = true; m_contentTypeProfileConfig = std::move(value); } /** *

A summary of a content type-profile mapping.

*/ inline FieldLevelEncryptionSummary& WithContentTypeProfileConfig(const ContentTypeProfileConfig& value) { SetContentTypeProfileConfig(value); return *this;} /** *

A summary of a content type-profile mapping.

*/ inline FieldLevelEncryptionSummary& WithContentTypeProfileConfig(ContentTypeProfileConfig&& value) { SetContentTypeProfileConfig(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; Aws::String m_comment; bool m_commentHasBeenSet = false; QueryArgProfileConfig m_queryArgProfileConfig; bool m_queryArgProfileConfigHasBeenSet = false; ContentTypeProfileConfig m_contentTypeProfileConfig; bool m_contentTypeProfileConfigHasBeenSet = false; }; } // namespace Model } // namespace CloudFront } // namespace Aws