/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A distribution tells CloudFront where you want content to be delivered from,
* and the details about how to track and manage content delivery.See
* Also:
AWS
* API Reference
The distribution's identifier. For example: E1U5RQF7T870K0
.
The distribution's identifier. For example: E1U5RQF7T870K0
.
The distribution's identifier. For example: E1U5RQF7T870K0
.
The distribution's identifier. For example: E1U5RQF7T870K0
.
The distribution's identifier. For example: E1U5RQF7T870K0
.
The distribution's identifier. For example: E1U5RQF7T870K0
.
The distribution's identifier. For example: E1U5RQF7T870K0
.
The distribution's identifier. For example: E1U5RQF7T870K0
.
The distribution's Amazon Resource Name (ARN).
*/ inline const Aws::String& GetARN() const{ return m_aRN; } /** *The distribution's Amazon Resource Name (ARN).
*/ inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; } /** *The distribution's Amazon Resource Name (ARN).
*/ inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; } /** *The distribution's Amazon Resource Name (ARN).
*/ inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); } /** *The distribution's Amazon Resource Name (ARN).
*/ inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); } /** *The distribution's Amazon Resource Name (ARN).
*/ inline Distribution& WithARN(const Aws::String& value) { SetARN(value); return *this;} /** *The distribution's Amazon Resource Name (ARN).
*/ inline Distribution& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;} /** *The distribution's Amazon Resource Name (ARN).
*/ inline Distribution& WithARN(const char* value) { SetARN(value); return *this;} /** *The distribution's status. When the status is Deployed
, the
* distribution's information is fully propagated to all CloudFront edge
* locations.
The distribution's status. When the status is Deployed
, the
* distribution's information is fully propagated to all CloudFront edge
* locations.
The distribution's status. When the status is Deployed
, the
* distribution's information is fully propagated to all CloudFront edge
* locations.
The distribution's status. When the status is Deployed
, the
* distribution's information is fully propagated to all CloudFront edge
* locations.
The distribution's status. When the status is Deployed
, the
* distribution's information is fully propagated to all CloudFront edge
* locations.
The distribution's status. When the status is Deployed
, the
* distribution's information is fully propagated to all CloudFront edge
* locations.
The distribution's status. When the status is Deployed
, the
* distribution's information is fully propagated to all CloudFront edge
* locations.
The distribution's status. When the status is Deployed
, the
* distribution's information is fully propagated to all CloudFront edge
* locations.
The date and time when the distribution was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *The date and time when the distribution was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *The date and time when the distribution was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *The date and time when the distribution was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *The date and time when the distribution was last modified.
*/ inline Distribution& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *The date and time when the distribution was last modified.
*/ inline Distribution& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *The number of invalidation batches currently in progress.
*/ inline int GetInProgressInvalidationBatches() const{ return m_inProgressInvalidationBatches; } /** *The number of invalidation batches currently in progress.
*/ inline bool InProgressInvalidationBatchesHasBeenSet() const { return m_inProgressInvalidationBatchesHasBeenSet; } /** *The number of invalidation batches currently in progress.
*/ inline void SetInProgressInvalidationBatches(int value) { m_inProgressInvalidationBatchesHasBeenSet = true; m_inProgressInvalidationBatches = value; } /** *The number of invalidation batches currently in progress.
*/ inline Distribution& WithInProgressInvalidationBatches(int value) { SetInProgressInvalidationBatches(value); return *this;} /** *The distribution's CloudFront domain name. For example:
* d111111abcdef8.cloudfront.net
.
The distribution's CloudFront domain name. For example:
* d111111abcdef8.cloudfront.net
.
The distribution's CloudFront domain name. For example:
* d111111abcdef8.cloudfront.net
.
The distribution's CloudFront domain name. For example:
* d111111abcdef8.cloudfront.net
.
The distribution's CloudFront domain name. For example:
* d111111abcdef8.cloudfront.net
.
The distribution's CloudFront domain name. For example:
* d111111abcdef8.cloudfront.net
.
The distribution's CloudFront domain name. For example:
* d111111abcdef8.cloudfront.net
.
The distribution's CloudFront domain name. For example:
* d111111abcdef8.cloudfront.net
.
We recommend using TrustedKeyGroups
instead of
* TrustedSigners
.
This field contains a list of * Amazon Web Services account IDs and the active CloudFront key pairs in each * account that CloudFront can use to verify the signatures of signed URLs or * signed cookies.
*/ inline const ActiveTrustedSigners& GetActiveTrustedSigners() const{ return m_activeTrustedSigners; } /** *We recommend using TrustedKeyGroups
instead of
* TrustedSigners
.
This field contains a list of * Amazon Web Services account IDs and the active CloudFront key pairs in each * account that CloudFront can use to verify the signatures of signed URLs or * signed cookies.
*/ inline bool ActiveTrustedSignersHasBeenSet() const { return m_activeTrustedSignersHasBeenSet; } /** *We recommend using TrustedKeyGroups
instead of
* TrustedSigners
.
This field contains a list of * Amazon Web Services account IDs and the active CloudFront key pairs in each * account that CloudFront can use to verify the signatures of signed URLs or * signed cookies.
*/ inline void SetActiveTrustedSigners(const ActiveTrustedSigners& value) { m_activeTrustedSignersHasBeenSet = true; m_activeTrustedSigners = value; } /** *We recommend using TrustedKeyGroups
instead of
* TrustedSigners
.
This field contains a list of * Amazon Web Services account IDs and the active CloudFront key pairs in each * account that CloudFront can use to verify the signatures of signed URLs or * signed cookies.
*/ inline void SetActiveTrustedSigners(ActiveTrustedSigners&& value) { m_activeTrustedSignersHasBeenSet = true; m_activeTrustedSigners = std::move(value); } /** *We recommend using TrustedKeyGroups
instead of
* TrustedSigners
.
This field contains a list of * Amazon Web Services account IDs and the active CloudFront key pairs in each * account that CloudFront can use to verify the signatures of signed URLs or * signed cookies.
*/ inline Distribution& WithActiveTrustedSigners(const ActiveTrustedSigners& value) { SetActiveTrustedSigners(value); return *this;} /** *We recommend using TrustedKeyGroups
instead of
* TrustedSigners
.
This field contains a list of * Amazon Web Services account IDs and the active CloudFront key pairs in each * account that CloudFront can use to verify the signatures of signed URLs or * signed cookies.
*/ inline Distribution& WithActiveTrustedSigners(ActiveTrustedSigners&& value) { SetActiveTrustedSigners(std::move(value)); return *this;} /** *This field contains a list of key groups and the public keys in each key * group that CloudFront can use to verify the signatures of signed URLs or signed * cookies.
*/ inline const ActiveTrustedKeyGroups& GetActiveTrustedKeyGroups() const{ return m_activeTrustedKeyGroups; } /** *This field contains a list of key groups and the public keys in each key * group that CloudFront can use to verify the signatures of signed URLs or signed * cookies.
*/ inline bool ActiveTrustedKeyGroupsHasBeenSet() const { return m_activeTrustedKeyGroupsHasBeenSet; } /** *This field contains a list of key groups and the public keys in each key * group that CloudFront can use to verify the signatures of signed URLs or signed * cookies.
*/ inline void SetActiveTrustedKeyGroups(const ActiveTrustedKeyGroups& value) { m_activeTrustedKeyGroupsHasBeenSet = true; m_activeTrustedKeyGroups = value; } /** *This field contains a list of key groups and the public keys in each key * group that CloudFront can use to verify the signatures of signed URLs or signed * cookies.
*/ inline void SetActiveTrustedKeyGroups(ActiveTrustedKeyGroups&& value) { m_activeTrustedKeyGroupsHasBeenSet = true; m_activeTrustedKeyGroups = std::move(value); } /** *This field contains a list of key groups and the public keys in each key * group that CloudFront can use to verify the signatures of signed URLs or signed * cookies.
*/ inline Distribution& WithActiveTrustedKeyGroups(const ActiveTrustedKeyGroups& value) { SetActiveTrustedKeyGroups(value); return *this;} /** *This field contains a list of key groups and the public keys in each key * group that CloudFront can use to verify the signatures of signed URLs or signed * cookies.
*/ inline Distribution& WithActiveTrustedKeyGroups(ActiveTrustedKeyGroups&& value) { SetActiveTrustedKeyGroups(std::move(value)); return *this;} /** *The distribution's configuration.
*/ inline const DistributionConfig& GetDistributionConfig() const{ return m_distributionConfig; } /** *The distribution's configuration.
*/ inline bool DistributionConfigHasBeenSet() const { return m_distributionConfigHasBeenSet; } /** *The distribution's configuration.
*/ inline void SetDistributionConfig(const DistributionConfig& value) { m_distributionConfigHasBeenSet = true; m_distributionConfig = value; } /** *The distribution's configuration.
*/ inline void SetDistributionConfig(DistributionConfig&& value) { m_distributionConfigHasBeenSet = true; m_distributionConfig = std::move(value); } /** *The distribution's configuration.
*/ inline Distribution& WithDistributionConfig(const DistributionConfig& value) { SetDistributionConfig(value); return *this;} /** *The distribution's configuration.
*/ inline Distribution& WithDistributionConfig(DistributionConfig&& value) { SetDistributionConfig(std::move(value)); return *this;} /** *Amazon Web Services services in China customers must file for an Internet * Content Provider (ICP) recordal if they want to serve content publicly on an * alternate domain name, also known as a CNAME, that they've added to CloudFront. * AliasICPRecordal provides the ICP recordal status for CNAMEs associated with * distributions.
For more information about ICP recordals, see * Signup, Accounts, and Credentials in Getting Started with Amazon Web * Services services in China.
*/ inline const Aws::VectorAmazon Web Services services in China customers must file for an Internet * Content Provider (ICP) recordal if they want to serve content publicly on an * alternate domain name, also known as a CNAME, that they've added to CloudFront. * AliasICPRecordal provides the ICP recordal status for CNAMEs associated with * distributions.
For more information about ICP recordals, see * Signup, Accounts, and Credentials in Getting Started with Amazon Web * Services services in China.
*/ inline bool AliasICPRecordalsHasBeenSet() const { return m_aliasICPRecordalsHasBeenSet; } /** *Amazon Web Services services in China customers must file for an Internet * Content Provider (ICP) recordal if they want to serve content publicly on an * alternate domain name, also known as a CNAME, that they've added to CloudFront. * AliasICPRecordal provides the ICP recordal status for CNAMEs associated with * distributions.
For more information about ICP recordals, see * Signup, Accounts, and Credentials in Getting Started with Amazon Web * Services services in China.
*/ inline void SetAliasICPRecordals(const Aws::VectorAmazon Web Services services in China customers must file for an Internet * Content Provider (ICP) recordal if they want to serve content publicly on an * alternate domain name, also known as a CNAME, that they've added to CloudFront. * AliasICPRecordal provides the ICP recordal status for CNAMEs associated with * distributions.
For more information about ICP recordals, see * Signup, Accounts, and Credentials in Getting Started with Amazon Web * Services services in China.
*/ inline void SetAliasICPRecordals(Aws::VectorAmazon Web Services services in China customers must file for an Internet * Content Provider (ICP) recordal if they want to serve content publicly on an * alternate domain name, also known as a CNAME, that they've added to CloudFront. * AliasICPRecordal provides the ICP recordal status for CNAMEs associated with * distributions.
For more information about ICP recordals, see * Signup, Accounts, and Credentials in Getting Started with Amazon Web * Services services in China.
*/ inline Distribution& WithAliasICPRecordals(const Aws::VectorAmazon Web Services services in China customers must file for an Internet * Content Provider (ICP) recordal if they want to serve content publicly on an * alternate domain name, also known as a CNAME, that they've added to CloudFront. * AliasICPRecordal provides the ICP recordal status for CNAMEs associated with * distributions.
For more information about ICP recordals, see * Signup, Accounts, and Credentials in Getting Started with Amazon Web * Services services in China.
*/ inline Distribution& WithAliasICPRecordals(Aws::VectorAmazon Web Services services in China customers must file for an Internet * Content Provider (ICP) recordal if they want to serve content publicly on an * alternate domain name, also known as a CNAME, that they've added to CloudFront. * AliasICPRecordal provides the ICP recordal status for CNAMEs associated with * distributions.
For more information about ICP recordals, see * Signup, Accounts, and Credentials in Getting Started with Amazon Web * Services services in China.
*/ inline Distribution& AddAliasICPRecordals(const AliasICPRecordal& value) { m_aliasICPRecordalsHasBeenSet = true; m_aliasICPRecordals.push_back(value); return *this; } /** *Amazon Web Services services in China customers must file for an Internet * Content Provider (ICP) recordal if they want to serve content publicly on an * alternate domain name, also known as a CNAME, that they've added to CloudFront. * AliasICPRecordal provides the ICP recordal status for CNAMEs associated with * distributions.
For more information about ICP recordals, see * Signup, Accounts, and Credentials in Getting Started with Amazon Web * Services services in China.
*/ inline Distribution& AddAliasICPRecordals(AliasICPRecordal&& value) { m_aliasICPRecordalsHasBeenSet = true; m_aliasICPRecordals.push_back(std::move(value)); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_aRN; bool m_aRNHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; int m_inProgressInvalidationBatches; bool m_inProgressInvalidationBatchesHasBeenSet = false; Aws::String m_domainName; bool m_domainNameHasBeenSet = false; ActiveTrustedSigners m_activeTrustedSigners; bool m_activeTrustedSignersHasBeenSet = false; ActiveTrustedKeyGroups m_activeTrustedKeyGroups; bool m_activeTrustedKeyGroupsHasBeenSet = false; DistributionConfig m_distributionConfig; bool m_distributionConfigHasBeenSet = false; Aws::Vector