if (updateStreamingDistributionRequest != null) {
StreamingDistributionConfig streamingDistributionConfigStreamingDistributionConfig = updateStreamingDistributionRequest.getStreamingDistributionConfig();
if (streamingDistributionConfigStreamingDistributionConfig != null) {
xmlWriter.startElement("StreamingDistributionConfig");
if (streamingDistributionConfigStreamingDistributionConfig.getCallerReference() != null) {
xmlWriter.startElement("CallerReference").value(streamingDistributionConfigStreamingDistributionConfig.getCallerReference()).endElement();
}
if (streamingDistributionConfigStreamingDistributionConfig != null) {
S3Origin s3OriginS3Origin = streamingDistributionConfigStreamingDistributionConfig.getS3Origin();
if (s3OriginS3Origin != null) {
xmlWriter.startElement("S3Origin");