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;
47 template<
typename DistributionT = Distribution>
48 void SetDistribution(DistributionT&& value) { m_distributionHasBeenSet =
true; m_distribution = std::forward<DistributionT>(value); }
49 template<
typename DistributionT = Distribution>
58 template<
typename LocationT = Aws::String>
59 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
60 template<
typename LocationT = Aws::String>
69 template<
typename ETagT = Aws::String>
70 void SetETag(ETagT&& value) { m_eTagHasBeenSet =
true; m_eTag = std::forward<ETagT>(value); }
71 template<
typename ETagT = Aws::String>
78 template<
typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
80 template<
typename RequestIdT = Aws::String>
86 bool m_distributionHasBeenSet =
false;
89 bool m_locationHasBeenSet =
false;
92 bool m_eTagHasBeenSet =
false;
95 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