/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A streaming distribution tells CloudFront where you want RTMP content to be
* delivered from, and the details about how to track and manage content
* delivery.See Also:
AWS
* API Reference
The identifier for the RTMP distribution. For example:
* EGTXBD79EXAMPLE
.
The identifier for the RTMP distribution. For example:
* EGTXBD79EXAMPLE
.
The identifier for the RTMP distribution. For example:
* EGTXBD79EXAMPLE
.
The identifier for the RTMP distribution. For example:
* EGTXBD79EXAMPLE
.
The identifier for the RTMP distribution. For example:
* EGTXBD79EXAMPLE
.
The identifier for the RTMP distribution. For example:
* EGTXBD79EXAMPLE
.
The identifier for the RTMP distribution. For example:
* EGTXBD79EXAMPLE
.
The identifier for the RTMP distribution. For example:
* EGTXBD79EXAMPLE
.
The ARN (Amazon Resource Name) for the distribution. For example:
* arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
,
* where 123456789012
is your Amazon Web Services account ID.
The ARN (Amazon Resource Name) for the distribution. For example:
* arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
,
* where 123456789012
is your Amazon Web Services account ID.
The ARN (Amazon Resource Name) for the distribution. For example:
* arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
,
* where 123456789012
is your Amazon Web Services account ID.
The ARN (Amazon Resource Name) for the distribution. For example:
* arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
,
* where 123456789012
is your Amazon Web Services account ID.
The ARN (Amazon Resource Name) for the distribution. For example:
* arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
,
* where 123456789012
is your Amazon Web Services account ID.
The ARN (Amazon Resource Name) for the distribution. For example:
* arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
,
* where 123456789012
is your Amazon Web Services account ID.
The ARN (Amazon Resource Name) for the distribution. For example:
* arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
,
* where 123456789012
is your Amazon Web Services account ID.
The ARN (Amazon Resource Name) for the distribution. For example:
* arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
,
* where 123456789012
is your Amazon Web Services account ID.
The current status of the RTMP distribution. When the status is
* Deployed
, the distribution's information is propagated to all
* CloudFront edge locations.
The current status of the RTMP distribution. When the status is
* Deployed
, the distribution's information is propagated to all
* CloudFront edge locations.
The current status of the RTMP distribution. When the status is
* Deployed
, the distribution's information is propagated to all
* CloudFront edge locations.
The current status of the RTMP distribution. When the status is
* Deployed
, the distribution's information is propagated to all
* CloudFront edge locations.
The current status of the RTMP distribution. When the status is
* Deployed
, the distribution's information is propagated to all
* CloudFront edge locations.
The current status of the RTMP distribution. When the status is
* Deployed
, the distribution's information is propagated to all
* CloudFront edge locations.
The current status of the RTMP distribution. When the status is
* Deployed
, the distribution's information is propagated to all
* CloudFront edge locations.
The current status of the RTMP distribution. When the status is
* Deployed
, the distribution's information is propagated to all
* CloudFront edge locations.
The date and time that the distribution was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *The date and time that the distribution was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *The date and time that the distribution was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *The date and time that the distribution was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *The date and time that the distribution was last modified.
*/ inline StreamingDistribution& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *The date and time that the distribution was last modified.
*/ inline StreamingDistribution& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *The domain name that corresponds to the streaming distribution, for example,
* s5c39gqb8ow64r.cloudfront.net
.
The domain name that corresponds to the streaming distribution, for example,
* s5c39gqb8ow64r.cloudfront.net
.
The domain name that corresponds to the streaming distribution, for example,
* s5c39gqb8ow64r.cloudfront.net
.
The domain name that corresponds to the streaming distribution, for example,
* s5c39gqb8ow64r.cloudfront.net
.
The domain name that corresponds to the streaming distribution, for example,
* s5c39gqb8ow64r.cloudfront.net
.
The domain name that corresponds to the streaming distribution, for example,
* s5c39gqb8ow64r.cloudfront.net
.
The domain name that corresponds to the streaming distribution, for example,
* s5c39gqb8ow64r.cloudfront.net
.
The domain name that corresponds to the streaming distribution, for example,
* s5c39gqb8ow64r.cloudfront.net
.
A complex type that lists the Amazon Web Services accounts, if any, that you
* included in the TrustedSigners
complex type for this distribution.
* These are the accounts that you want to allow to create signed URLs for private
* content.
The Signer
complex type lists the Amazon Web
* Services account number of the trusted signer or self
if the signer
* is the Amazon Web Services account that created the distribution. The
* Signer
element also includes the IDs of any active CloudFront key
* pairs that are associated with the trusted signer's Amazon Web Services account.
* If no KeyPairId
element appears for a Signer
, that
* signer can't create signed URLs.
For more information, see Serving * Private Content through CloudFront in the Amazon CloudFront Developer * Guide.
*/ inline const ActiveTrustedSigners& GetActiveTrustedSigners() const{ return m_activeTrustedSigners; } /** *A complex type that lists the Amazon Web Services accounts, if any, that you
* included in the TrustedSigners
complex type for this distribution.
* These are the accounts that you want to allow to create signed URLs for private
* content.
The Signer
complex type lists the Amazon Web
* Services account number of the trusted signer or self
if the signer
* is the Amazon Web Services account that created the distribution. The
* Signer
element also includes the IDs of any active CloudFront key
* pairs that are associated with the trusted signer's Amazon Web Services account.
* If no KeyPairId
element appears for a Signer
, that
* signer can't create signed URLs.
For more information, see Serving * Private Content through CloudFront in the Amazon CloudFront Developer * Guide.
*/ inline bool ActiveTrustedSignersHasBeenSet() const { return m_activeTrustedSignersHasBeenSet; } /** *A complex type that lists the Amazon Web Services accounts, if any, that you
* included in the TrustedSigners
complex type for this distribution.
* These are the accounts that you want to allow to create signed URLs for private
* content.
The Signer
complex type lists the Amazon Web
* Services account number of the trusted signer or self
if the signer
* is the Amazon Web Services account that created the distribution. The
* Signer
element also includes the IDs of any active CloudFront key
* pairs that are associated with the trusted signer's Amazon Web Services account.
* If no KeyPairId
element appears for a Signer
, that
* signer can't create signed URLs.
For more information, see Serving * Private Content through CloudFront in the Amazon CloudFront Developer * Guide.
*/ inline void SetActiveTrustedSigners(const ActiveTrustedSigners& value) { m_activeTrustedSignersHasBeenSet = true; m_activeTrustedSigners = value; } /** *A complex type that lists the Amazon Web Services accounts, if any, that you
* included in the TrustedSigners
complex type for this distribution.
* These are the accounts that you want to allow to create signed URLs for private
* content.
The Signer
complex type lists the Amazon Web
* Services account number of the trusted signer or self
if the signer
* is the Amazon Web Services account that created the distribution. The
* Signer
element also includes the IDs of any active CloudFront key
* pairs that are associated with the trusted signer's Amazon Web Services account.
* If no KeyPairId
element appears for a Signer
, that
* signer can't create signed URLs.
For more information, see Serving * Private Content through CloudFront in the Amazon CloudFront Developer * Guide.
*/ inline void SetActiveTrustedSigners(ActiveTrustedSigners&& value) { m_activeTrustedSignersHasBeenSet = true; m_activeTrustedSigners = std::move(value); } /** *A complex type that lists the Amazon Web Services accounts, if any, that you
* included in the TrustedSigners
complex type for this distribution.
* These are the accounts that you want to allow to create signed URLs for private
* content.
The Signer
complex type lists the Amazon Web
* Services account number of the trusted signer or self
if the signer
* is the Amazon Web Services account that created the distribution. The
* Signer
element also includes the IDs of any active CloudFront key
* pairs that are associated with the trusted signer's Amazon Web Services account.
* If no KeyPairId
element appears for a Signer
, that
* signer can't create signed URLs.
For more information, see Serving * Private Content through CloudFront in the Amazon CloudFront Developer * Guide.
*/ inline StreamingDistribution& WithActiveTrustedSigners(const ActiveTrustedSigners& value) { SetActiveTrustedSigners(value); return *this;} /** *A complex type that lists the Amazon Web Services accounts, if any, that you
* included in the TrustedSigners
complex type for this distribution.
* These are the accounts that you want to allow to create signed URLs for private
* content.
The Signer
complex type lists the Amazon Web
* Services account number of the trusted signer or self
if the signer
* is the Amazon Web Services account that created the distribution. The
* Signer
element also includes the IDs of any active CloudFront key
* pairs that are associated with the trusted signer's Amazon Web Services account.
* If no KeyPairId
element appears for a Signer
, that
* signer can't create signed URLs.
For more information, see Serving * Private Content through CloudFront in the Amazon CloudFront Developer * Guide.
*/ inline StreamingDistribution& WithActiveTrustedSigners(ActiveTrustedSigners&& value) { SetActiveTrustedSigners(std::move(value)); return *this;} /** *The current configuration information for the RTMP distribution.
*/ inline const StreamingDistributionConfig& GetStreamingDistributionConfig() const{ return m_streamingDistributionConfig; } /** *The current configuration information for the RTMP distribution.
*/ inline bool StreamingDistributionConfigHasBeenSet() const { return m_streamingDistributionConfigHasBeenSet; } /** *The current configuration information for the RTMP distribution.
*/ inline void SetStreamingDistributionConfig(const StreamingDistributionConfig& value) { m_streamingDistributionConfigHasBeenSet = true; m_streamingDistributionConfig = value; } /** *The current configuration information for the RTMP distribution.
*/ inline void SetStreamingDistributionConfig(StreamingDistributionConfig&& value) { m_streamingDistributionConfigHasBeenSet = true; m_streamingDistributionConfig = std::move(value); } /** *The current configuration information for the RTMP distribution.
*/ inline StreamingDistribution& WithStreamingDistributionConfig(const StreamingDistributionConfig& value) { SetStreamingDistributionConfig(value); return *this;} /** *The current configuration information for the RTMP distribution.
*/ inline StreamingDistribution& WithStreamingDistributionConfig(StreamingDistributionConfig&& value) { SetStreamingDistributionConfig(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; Aws::String m_domainName; bool m_domainNameHasBeenSet = false; ActiveTrustedSigners m_activeTrustedSigners; bool m_activeTrustedSignersHasBeenSet = false; StreamingDistributionConfig m_streamingDistributionConfig; bool m_streamingDistributionConfigHasBeenSet = false; }; } // namespace Model } // namespace CloudFront } // namespace Aws