/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The returned result of the corresponding request.See Also:
* AWS
* API Reference
The distribution's information.
*/ inline const Distribution& GetDistribution() const{ return m_distribution; } /** *The distribution's information.
*/ inline void SetDistribution(const Distribution& value) { m_distribution = value; } /** *The distribution's information.
*/ inline void SetDistribution(Distribution&& value) { m_distribution = std::move(value); } /** *The distribution's information.
*/ inline CreateDistribution2020_05_31Result& WithDistribution(const Distribution& value) { SetDistribution(value); return *this;} /** *The distribution's information.
*/ inline CreateDistribution2020_05_31Result& WithDistribution(Distribution&& value) { SetDistribution(std::move(value)); return *this;} /** *The fully qualified URI of the new distribution resource just created.
*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *The fully qualified URI of the new distribution resource just created.
*/ inline void SetLocation(const Aws::String& value) { m_location = value; } /** *The fully qualified URI of the new distribution resource just created.
*/ inline void SetLocation(Aws::String&& value) { m_location = std::move(value); } /** *The fully qualified URI of the new distribution resource just created.
*/ inline void SetLocation(const char* value) { m_location.assign(value); } /** *The fully qualified URI of the new distribution resource just created.
*/ inline CreateDistribution2020_05_31Result& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *The fully qualified URI of the new distribution resource just created.
*/ inline CreateDistribution2020_05_31Result& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *The fully qualified URI of the new distribution resource just created.
*/ inline CreateDistribution2020_05_31Result& WithLocation(const char* value) { SetLocation(value); return *this;} /** *The current version of the distribution created.
*/ inline const Aws::String& GetETag() const{ return m_eTag; } /** *The current version of the distribution created.
*/ inline void SetETag(const Aws::String& value) { m_eTag = value; } /** *The current version of the distribution created.
*/ inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); } /** *The current version of the distribution created.
*/ inline void SetETag(const char* value) { m_eTag.assign(value); } /** *The current version of the distribution created.
*/ inline CreateDistribution2020_05_31Result& WithETag(const Aws::String& value) { SetETag(value); return *this;} /** *The current version of the distribution created.
*/ inline CreateDistribution2020_05_31Result& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;} /** *The current version of the distribution created.
*/ inline CreateDistribution2020_05_31Result& WithETag(const char* value) { SetETag(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateDistribution2020_05_31Result& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateDistribution2020_05_31Result& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateDistribution2020_05_31Result& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Distribution m_distribution; Aws::String m_location; Aws::String m_eTag; Aws::String m_requestId; }; } // namespace Model } // namespace CloudFront } // namespace Aws