7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/Distribution.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
41 template <
typename DistributionT = Distribution>
43 m_distributionHasBeenSet =
true;
44 m_distribution = std::forward<DistributionT>(value);
46 template <
typename DistributionT = Distribution>
58 template <
typename LocationT = Aws::String>
60 m_locationHasBeenSet =
true;
61 m_location = std::forward<LocationT>(value);
63 template <
typename LocationT = Aws::String>
75 template <
typename ETagT = Aws::String>
77 m_eTagHasBeenSet =
true;
78 m_eTag = std::forward<ETagT>(value);
80 template <
typename ETagT = Aws::String>
82 SetETag(std::forward<ETagT>(value));
90 template <
typename RequestIdT = Aws::String>
92 m_requestIdHasBeenSet =
true;
93 m_requestId = std::forward<RequestIdT>(value);
95 template <
typename RequestIdT = Aws::String>
109 bool m_distributionHasBeenSet =
false;
110 bool m_locationHasBeenSet =
false;
111 bool m_eTagHasBeenSet =
false;
112 bool m_requestIdHasBeenSet =
false;
AWS_CLOUDFRONT_API CreateDistribution2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetLocation() 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