/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An alias (also called a CNAME) and the CloudFront distribution and Amazon Web
* Services account ID that it's associated with. The distribution and account IDs
* are partially hidden, which allows you to identify the distributions and
* accounts that you own, but helps to protect the information of ones that you
* don't own.See Also:
AWS
* API Reference
An alias (also called a CNAME).
*/ inline const Aws::String& GetAlias() const{ return m_alias; } /** *An alias (also called a CNAME).
*/ inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; } /** *An alias (also called a CNAME).
*/ inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; } /** *An alias (also called a CNAME).
*/ inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); } /** *An alias (also called a CNAME).
*/ inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); } /** *An alias (also called a CNAME).
*/ inline ConflictingAlias& WithAlias(const Aws::String& value) { SetAlias(value); return *this;} /** *An alias (also called a CNAME).
*/ inline ConflictingAlias& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;} /** *An alias (also called a CNAME).
*/ inline ConflictingAlias& WithAlias(const char* value) { SetAlias(value); return *this;} /** *The (partially hidden) ID of the CloudFront distribution associated with the * alias.
*/ inline const Aws::String& GetDistributionId() const{ return m_distributionId; } /** *The (partially hidden) ID of the CloudFront distribution associated with the * alias.
*/ inline bool DistributionIdHasBeenSet() const { return m_distributionIdHasBeenSet; } /** *The (partially hidden) ID of the CloudFront distribution associated with the * alias.
*/ inline void SetDistributionId(const Aws::String& value) { m_distributionIdHasBeenSet = true; m_distributionId = value; } /** *The (partially hidden) ID of the CloudFront distribution associated with the * alias.
*/ inline void SetDistributionId(Aws::String&& value) { m_distributionIdHasBeenSet = true; m_distributionId = std::move(value); } /** *The (partially hidden) ID of the CloudFront distribution associated with the * alias.
*/ inline void SetDistributionId(const char* value) { m_distributionIdHasBeenSet = true; m_distributionId.assign(value); } /** *The (partially hidden) ID of the CloudFront distribution associated with the * alias.
*/ inline ConflictingAlias& WithDistributionId(const Aws::String& value) { SetDistributionId(value); return *this;} /** *The (partially hidden) ID of the CloudFront distribution associated with the * alias.
*/ inline ConflictingAlias& WithDistributionId(Aws::String&& value) { SetDistributionId(std::move(value)); return *this;} /** *The (partially hidden) ID of the CloudFront distribution associated with the * alias.
*/ inline ConflictingAlias& WithDistributionId(const char* value) { SetDistributionId(value); return *this;} /** *The (partially hidden) ID of the Amazon Web Services account that owns the * distribution that's associated with the alias.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The (partially hidden) ID of the Amazon Web Services account that owns the * distribution that's associated with the alias.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The (partially hidden) ID of the Amazon Web Services account that owns the * distribution that's associated with the alias.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The (partially hidden) ID of the Amazon Web Services account that owns the * distribution that's associated with the alias.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The (partially hidden) ID of the Amazon Web Services account that owns the * distribution that's associated with the alias.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The (partially hidden) ID of the Amazon Web Services account that owns the * distribution that's associated with the alias.
*/ inline ConflictingAlias& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The (partially hidden) ID of the Amazon Web Services account that owns the * distribution that's associated with the alias.
*/ inline ConflictingAlias& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The (partially hidden) ID of the Amazon Web Services account that owns the * distribution that's associated with the alias.
*/ inline ConflictingAlias& WithAccountId(const char* value) { SetAccountId(value); return *this;} private: Aws::String m_alias; bool m_aliasHasBeenSet = false; Aws::String m_distributionId; bool m_distributionIdHasBeenSet = false; Aws::String m_accountId; bool m_accountIdHasBeenSet = false; }; } // namespace Model } // namespace CloudFront } // namespace Aws