if (distributionConfigDistributionConfig != null) {
DefaultCacheBehavior defaultCacheBehaviorDefaultCacheBehavior = distributionConfigDistributionConfig.getDefaultCacheBehavior();
if (defaultCacheBehaviorDefaultCacheBehavior != null) {
xmlWriter.startElement("DefaultCacheBehavior");
if (defaultCacheBehaviorDefaultCacheBehavior.getTargetOriginId() != null) {
xmlWriter.startElement("TargetOriginId").value(defaultCacheBehaviorDefaultCacheBehavior.getTargetOriginId()).endElement();
}
if (defaultCacheBehaviorDefaultCacheBehavior != null) {
ForwardedValues forwardedValuesForwardedValues = defaultCacheBehaviorDefaultCacheBehavior.getForwardedValues();
if (forwardedValuesForwardedValues != null) {
xmlWriter.startElement("ForwardedValues");