7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/CloudFrontRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
46 inline void SetPrimaryDistributionId(
const char* value) { m_primaryDistributionIdHasBeenSet =
true; m_primaryDistributionId.assign(value); }
60 inline void SetStaging(
bool value) { m_stagingHasBeenSet =
true; m_staging = value; }
74 inline void SetIfMatch(
const char* value) { m_ifMatchHasBeenSet =
true; m_ifMatch.assign(value); }
90 inline void SetCallerReference(
const char* value) { m_callerReferenceHasBeenSet =
true; m_callerReference.assign(value); }
106 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
112 bool m_primaryDistributionIdHasBeenSet =
false;
115 bool m_stagingHasBeenSet =
false;
118 bool m_ifMatchHasBeenSet =
false;
121 bool m_callerReferenceHasBeenSet =
false;
124 bool m_enabledHasBeenSet =
false;
AWS_CLOUDFRONT_API CopyDistribution2020_05_31Request()
const Aws::String & GetPrimaryDistributionId() const
void SetPrimaryDistributionId(Aws::String &&value)
CopyDistribution2020_05_31Request & WithEnabled(bool value)
CopyDistribution2020_05_31Request & WithPrimaryDistributionId(const Aws::String &value)
void SetPrimaryDistributionId(const char *value)
bool StagingHasBeenSet() const
CopyDistribution2020_05_31Request & WithCallerReference(const char *value)
bool IfMatchHasBeenSet() const
CopyDistribution2020_05_31Request & WithStaging(bool value)
bool PrimaryDistributionIdHasBeenSet() const
AWS_CLOUDFRONT_API Aws::String SerializePayload() const override
CopyDistribution2020_05_31Request & WithPrimaryDistributionId(const char *value)
void SetCallerReference(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CopyDistribution2020_05_31Request & WithIfMatch(const char *value)
void SetCallerReference(const char *value)
void SetEnabled(bool value)
CopyDistribution2020_05_31Request & WithPrimaryDistributionId(Aws::String &&value)
const Aws::String & GetCallerReference() const
void SetIfMatch(Aws::String &&value)
void SetStaging(bool value)
AWS_CLOUDFRONT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool CallerReferenceHasBeenSet() const
CopyDistribution2020_05_31Request & WithCallerReference(Aws::String &&value)
const Aws::String & GetIfMatch() const
void SetIfMatch(const char *value)
void SetCallerReference(const Aws::String &value)
void SetIfMatch(const Aws::String &value)
CopyDistribution2020_05_31Request & WithIfMatch(const Aws::String &value)
CopyDistribution2020_05_31Request & WithCallerReference(const Aws::String &value)
CopyDistribution2020_05_31Request & WithIfMatch(Aws::String &&value)
bool EnabledHasBeenSet() const
void SetPrimaryDistributionId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String