if (createDistributionRequest != null) {
DistributionConfig distributionConfigDistributionConfig = createDistributionRequest.getDistributionConfig();
if (distributionConfigDistributionConfig != null) {
xmlWriter.startElement("DistributionConfig");
if (distributionConfigDistributionConfig.getCallerReference() != null) {
xmlWriter.startElement("CallerReference").value(distributionConfigDistributionConfig.getCallerReference()).endElement();
}
if (distributionConfigDistributionConfig != null) {
Aliases aliasesAliases = distributionConfigDistributionConfig.getAliases();
if (aliasesAliases != null) {
xmlWriter.startElement("Aliases");