244 lines
8.4 KiB
C
244 lines
8.4 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/cloudfront/CloudFront_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/core/utils/DateTime.h>
|
|||
|
|
#include <aws/cloudfront/model/QueryArgProfileConfig.h>
|
|||
|
|
#include <aws/cloudfront/model/ContentTypeProfileConfig.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Xml
|
|||
|
|
{
|
|||
|
|
class XmlNode;
|
|||
|
|
} // namespace Xml
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace CloudFront
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A summary of a field-level encryption item.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/FieldLevelEncryptionSummary">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_CLOUDFRONT_API FieldLevelEncryptionSummary
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
FieldLevelEncryptionSummary();
|
|||
|
|
FieldLevelEncryptionSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
|
|||
|
|
FieldLevelEncryptionSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
|
|||
|
|
|
|||
|
|
void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The unique ID of a field-level encryption item.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetId() const{ return m_id; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The unique ID of a field-level encryption item.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The unique ID of a field-level encryption item.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The unique ID of a field-level encryption item.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The unique ID of a field-level encryption item.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The unique ID of a field-level encryption item.</p>
|
|||
|
|
*/
|
|||
|
|
inline FieldLevelEncryptionSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The unique ID of a field-level encryption item.</p>
|
|||
|
|
*/
|
|||
|
|
inline FieldLevelEncryptionSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The unique ID of a field-level encryption item.</p>
|
|||
|
|
*/
|
|||
|
|
inline FieldLevelEncryptionSummary& WithId(const char* value) { SetId(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The last time that the summary of field-level encryption items was
|
|||
|
|
* modified.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The last time that the summary of field-level encryption items was
|
|||
|
|
* modified.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The last time that the summary of field-level encryption items was
|
|||
|
|
* modified.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The last time that the summary of field-level encryption items was
|
|||
|
|
* modified.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The last time that the summary of field-level encryption items was
|
|||
|
|
* modified.</p>
|
|||
|
|
*/
|
|||
|
|
inline FieldLevelEncryptionSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The last time that the summary of field-level encryption items was
|
|||
|
|
* modified.</p>
|
|||
|
|
*/
|
|||
|
|
inline FieldLevelEncryptionSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An optional comment about the field-level encryption item.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetComment() const{ return m_comment; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An optional comment about the field-level encryption item.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An optional comment about the field-level encryption item.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An optional comment about the field-level encryption item.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An optional comment about the field-level encryption item.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An optional comment about the field-level encryption item.</p>
|
|||
|
|
*/
|
|||
|
|
inline FieldLevelEncryptionSummary& WithComment(const Aws::String& value) { SetComment(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An optional comment about the field-level encryption item.</p>
|
|||
|
|
*/
|
|||
|
|
inline FieldLevelEncryptionSummary& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An optional comment about the field-level encryption item.</p>
|
|||
|
|
*/
|
|||
|
|
inline FieldLevelEncryptionSummary& WithComment(const char* value) { SetComment(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> A summary of a query argument-profile mapping. </p>
|
|||
|
|
*/
|
|||
|
|
inline const QueryArgProfileConfig& GetQueryArgProfileConfig() const{ return m_queryArgProfileConfig; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> A summary of a query argument-profile mapping. </p>
|
|||
|
|
*/
|
|||
|
|
inline bool QueryArgProfileConfigHasBeenSet() const { return m_queryArgProfileConfigHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> A summary of a query argument-profile mapping. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetQueryArgProfileConfig(const QueryArgProfileConfig& value) { m_queryArgProfileConfigHasBeenSet = true; m_queryArgProfileConfig = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> A summary of a query argument-profile mapping. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetQueryArgProfileConfig(QueryArgProfileConfig&& value) { m_queryArgProfileConfigHasBeenSet = true; m_queryArgProfileConfig = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> A summary of a query argument-profile mapping. </p>
|
|||
|
|
*/
|
|||
|
|
inline FieldLevelEncryptionSummary& WithQueryArgProfileConfig(const QueryArgProfileConfig& value) { SetQueryArgProfileConfig(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> A summary of a query argument-profile mapping. </p>
|
|||
|
|
*/
|
|||
|
|
inline FieldLevelEncryptionSummary& WithQueryArgProfileConfig(QueryArgProfileConfig&& value) { SetQueryArgProfileConfig(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> A summary of a content type-profile mapping. </p>
|
|||
|
|
*/
|
|||
|
|
inline const ContentTypeProfileConfig& GetContentTypeProfileConfig() const{ return m_contentTypeProfileConfig; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> A summary of a content type-profile mapping. </p>
|
|||
|
|
*/
|
|||
|
|
inline bool ContentTypeProfileConfigHasBeenSet() const { return m_contentTypeProfileConfigHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> A summary of a content type-profile mapping. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetContentTypeProfileConfig(const ContentTypeProfileConfig& value) { m_contentTypeProfileConfigHasBeenSet = true; m_contentTypeProfileConfig = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> A summary of a content type-profile mapping. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetContentTypeProfileConfig(ContentTypeProfileConfig&& value) { m_contentTypeProfileConfigHasBeenSet = true; m_contentTypeProfileConfig = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> A summary of a content type-profile mapping. </p>
|
|||
|
|
*/
|
|||
|
|
inline FieldLevelEncryptionSummary& WithContentTypeProfileConfig(const ContentTypeProfileConfig& value) { SetContentTypeProfileConfig(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> A summary of a content type-profile mapping. </p>
|
|||
|
|
*/
|
|||
|
|
inline FieldLevelEncryptionSummary& WithContentTypeProfileConfig(ContentTypeProfileConfig&& value) { SetContentTypeProfileConfig(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_id;
|
|||
|
|
bool m_idHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::Utils::DateTime m_lastModifiedTime;
|
|||
|
|
bool m_lastModifiedTimeHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_comment;
|
|||
|
|
bool m_commentHasBeenSet;
|
|||
|
|
|
|||
|
|
QueryArgProfileConfig m_queryArgProfileConfig;
|
|||
|
|
bool m_queryArgProfileConfigHasBeenSet;
|
|||
|
|
|
|||
|
|
ContentTypeProfileConfig m_contentTypeProfileConfig;
|
|||
|
|
bool m_contentTypeProfileConfigHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace CloudFront
|
|||
|
|
} // namespace Aws
|