7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/CloudFrontRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
44 template<
typename PrimaryDistributionIdT = Aws::String>
45 void SetPrimaryDistributionId(PrimaryDistributionIdT&& value) { m_primaryDistributionIdHasBeenSet =
true; m_primaryDistributionId = std::forward<PrimaryDistributionIdT>(value); }
46 template<
typename PrimaryDistributionIdT = Aws::String>
58 inline void SetStaging(
bool value) { m_stagingHasBeenSet =
true; m_staging = value; }
70 template<
typename IfMatchT = Aws::String>
71 void SetIfMatch(IfMatchT&& value) { m_ifMatchHasBeenSet =
true; m_ifMatch = std::forward<IfMatchT>(value); }
72 template<
typename IfMatchT = Aws::String>
84 template<
typename CallerReferenceT = Aws::String>
85 void SetCallerReference(CallerReferenceT&& value) { m_callerReferenceHasBeenSet =
true; m_callerReference = std::forward<CallerReferenceT>(value); }
86 template<
typename CallerReferenceT = Aws::String>
100 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
106 bool m_primaryDistributionIdHasBeenSet =
false;
108 bool m_staging{
false};
109 bool m_stagingHasBeenSet =
false;
112 bool m_ifMatchHasBeenSet =
false;
115 bool m_callerReferenceHasBeenSet =
false;
117 bool m_enabled{
false};
118 bool m_enabledHasBeenSet =
false;
CopyDistribution2020_05_31Request & WithCallerReference(CallerReferenceT &&value)
const Aws::String & GetPrimaryDistributionId() const
CopyDistribution2020_05_31Request & WithEnabled(bool value)
bool StagingHasBeenSet() const
bool IfMatchHasBeenSet() const
CopyDistribution2020_05_31Request & WithStaging(bool value)
AWS_CLOUDFRONT_API CopyDistribution2020_05_31Request()=default
void SetCallerReference(CallerReferenceT &&value)
bool PrimaryDistributionIdHasBeenSet() const
AWS_CLOUDFRONT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CopyDistribution2020_05_31Request & WithPrimaryDistributionId(PrimaryDistributionIdT &&value)
void SetEnabled(bool value)
const Aws::String & GetCallerReference() const
void SetIfMatch(IfMatchT &&value)
void SetStaging(bool value)
AWS_CLOUDFRONT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CopyDistribution2020_05_31Request & WithIfMatch(IfMatchT &&value)
bool CallerReferenceHasBeenSet() const
void SetPrimaryDistributionId(PrimaryDistributionIdT &&value)
const Aws::String & GetIfMatch() const
bool EnabledHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String