7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/Distribution.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
34 template <
typename DistributionT = Distribution>
36 m_distributionHasBeenSet =
true;
37 m_distribution = std::forward<DistributionT>(value);
39 template <
typename DistributionT = Distribution>
51 template <
typename LocationT = Aws::String>
53 m_locationHasBeenSet =
true;
54 m_location = std::forward<LocationT>(value);
56 template <
typename LocationT = Aws::String>
69 template <
typename ETagT = Aws::String>
71 m_eTagHasBeenSet =
true;
72 m_eTag = std::forward<ETagT>(value);
74 template <
typename ETagT = Aws::String>
76 SetETag(std::forward<ETagT>(value));
84 template <
typename RequestIdT = Aws::String>
86 m_requestIdHasBeenSet =
true;
87 m_requestId = std::forward<RequestIdT>(value);
89 template <
typename RequestIdT = Aws::String>
106 bool m_distributionHasBeenSet =
false;
107 bool m_locationHasBeenSet =
false;
108 bool m_eTagHasBeenSet =
false;
109 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetETag() const
CopyDistribution2020_05_31Result & WithETag(ETagT &&value)
AWS_CLOUDFRONT_API CopyDistribution2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetETag(ETagT &&value)
AWS_CLOUDFRONT_API CopyDistribution2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetLocation(LocationT &&value)
const Distribution & GetDistribution() const
CopyDistribution2020_05_31Result & WithLocation(LocationT &&value)
AWS_CLOUDFRONT_API CopyDistribution2020_05_31Result()=default
CopyDistribution2020_05_31Result & WithDistribution(DistributionT &&value)
CopyDistribution2020_05_31Result & WithRequestId(RequestIdT &&value)
const Aws::String & GetLocation() const
void SetDistribution(DistributionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument