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;
42 template <
typename DistributionT = Distribution>
44 m_distributionHasBeenSet =
true;
45 m_distribution = std::forward<DistributionT>(value);
47 template <
typename DistributionT = Distribution>
59 template <
typename LocationT = Aws::String>
61 m_locationHasBeenSet =
true;
62 m_location = std::forward<LocationT>(value);
64 template <
typename LocationT = Aws::String>
76 template <
typename ETagT = Aws::String>
78 m_eTagHasBeenSet =
true;
79 m_eTag = std::forward<ETagT>(value);
81 template <
typename ETagT = Aws::String>
83 SetETag(std::forward<ETagT>(value));
91 template <
typename RequestIdT = Aws::String>
93 m_requestIdHasBeenSet =
true;
94 m_requestId = std::forward<RequestIdT>(value);
96 template <
typename RequestIdT = Aws::String>
113 bool m_distributionHasBeenSet =
false;
114 bool m_locationHasBeenSet =
false;
115 bool m_eTagHasBeenSet =
false;
116 bool m_requestIdHasBeenSet =
false;
AWS_CLOUDFRONT_API CreateDistribution2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetLocation() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateDistribution2020_05_31Result & WithRequestId(RequestIdT &&value)
CreateDistribution2020_05_31Result & WithETag(ETagT &&value)
AWS_CLOUDFRONT_API CreateDistribution2020_05_31Result()=default
CreateDistribution2020_05_31Result & WithLocation(LocationT &&value)
void SetRequestId(RequestIdT &&value)
void SetDistribution(DistributionT &&value)
AWS_CLOUDFRONT_API CreateDistribution2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetLocation(LocationT &&value)
const Aws::String & GetETag() const
const Distribution & GetDistribution() const
void SetETag(ETagT &&value)
CreateDistribution2020_05_31Result & WithDistribution(DistributionT &&value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument