public CreatePublicKeyResult unmarshall(StaxUnmarshallerContext context) throws Exception { CreatePublicKeyResult createPublicKeyResult = new CreatePublicKeyResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("Location"); createPublicKeyResult.setLocation(StringStaxUnmarshaller.getInstance().unmarshall(context)); context.setCurrentHeader("ETag"); createPublicKeyResult.setETag(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return createPublicKeyResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("PublicKey", targetDepth)) { createPublicKeyResult.setPublicKey(PublicKeyStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return createPublicKeyResult; } } } }
public CreateFieldLevelEncryptionConfigResult unmarshall(StaxUnmarshallerContext context) throws Exception { CreateFieldLevelEncryptionConfigResult createFieldLevelEncryptionConfigResult = new CreateFieldLevelEncryptionConfigResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("Location"); createFieldLevelEncryptionConfigResult.setLocation(StringStaxUnmarshaller.getInstance().unmarshall(context)); context.setCurrentHeader("ETag"); createFieldLevelEncryptionConfigResult.setETag(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return createFieldLevelEncryptionConfigResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("FieldLevelEncryption", targetDepth)) { createFieldLevelEncryptionConfigResult.setFieldLevelEncryption(FieldLevelEncryptionStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return createFieldLevelEncryptionConfigResult; } } } }
public CreateStreamingDistributionResult unmarshall(StaxUnmarshallerContext context) throws Exception { CreateStreamingDistributionResult createStreamingDistributionResult = new CreateStreamingDistributionResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("Location"); createStreamingDistributionResult.setLocation(StringStaxUnmarshaller.getInstance().unmarshall(context)); context.setCurrentHeader("ETag"); createStreamingDistributionResult.setETag(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return createStreamingDistributionResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("StreamingDistribution", targetDepth)) { createStreamingDistributionResult.setStreamingDistribution(StreamingDistributionStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return createStreamingDistributionResult; } } } }
public GetDistributionResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetDistributionResult getDistributionResult = new GetDistributionResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("ETag"); getDistributionResult.setETag(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return getDistributionResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("Distribution", targetDepth)) { getDistributionResult.setDistribution(DistributionStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return getDistributionResult; } } } }
public UpdateDistributionResult unmarshall(StaxUnmarshallerContext context) throws Exception { UpdateDistributionResult updateDistributionResult = new UpdateDistributionResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("ETag"); updateDistributionResult.setETag(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return updateDistributionResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("Distribution", targetDepth)) { updateDistributionResult.setDistribution(DistributionStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return updateDistributionResult; } } } }
public GetPublicKeyResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetPublicKeyResult getPublicKeyResult = new GetPublicKeyResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("ETag"); getPublicKeyResult.setETag(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return getPublicKeyResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("PublicKey", targetDepth)) { getPublicKeyResult.setPublicKey(PublicKeyStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return getPublicKeyResult; } } } }
public UpdatePublicKeyResult unmarshall(StaxUnmarshallerContext context) throws Exception { UpdatePublicKeyResult updatePublicKeyResult = new UpdatePublicKeyResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("ETag"); updatePublicKeyResult.setETag(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return updatePublicKeyResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("PublicKey", targetDepth)) { updatePublicKeyResult.setPublicKey(PublicKeyStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return updatePublicKeyResult; } } } }
public GetStreamingDistributionResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetStreamingDistributionResult getStreamingDistributionResult = new GetStreamingDistributionResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("ETag"); getStreamingDistributionResult.setETag(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return getStreamingDistributionResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("StreamingDistribution", targetDepth)) { getStreamingDistributionResult.setStreamingDistribution(StreamingDistributionStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return getStreamingDistributionResult; } } } }
public GetDistributionConfigResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetDistributionConfigResult getDistributionConfigResult = new GetDistributionConfigResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("ETag"); getDistributionConfigResult.setETag(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return getDistributionConfigResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("DistributionConfig", targetDepth)) { getDistributionConfigResult.setDistributionConfig(DistributionConfigStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return getDistributionConfigResult; } } } }
public UpdateFieldLevelEncryptionConfigResult unmarshall(StaxUnmarshallerContext context) throws Exception { UpdateFieldLevelEncryptionConfigResult updateFieldLevelEncryptionConfigResult = new UpdateFieldLevelEncryptionConfigResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("ETag"); updateFieldLevelEncryptionConfigResult.setETag(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return updateFieldLevelEncryptionConfigResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("FieldLevelEncryption", targetDepth)) { updateFieldLevelEncryptionConfigResult.setFieldLevelEncryption(FieldLevelEncryptionStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return updateFieldLevelEncryptionConfigResult; } } } }
public UpdateStreamingDistributionResult unmarshall(StaxUnmarshallerContext context) throws Exception { UpdateStreamingDistributionResult updateStreamingDistributionResult = new UpdateStreamingDistributionResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("ETag"); updateStreamingDistributionResult.setETag(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return updateStreamingDistributionResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("StreamingDistribution", targetDepth)) { updateStreamingDistributionResult.setStreamingDistribution(StreamingDistributionStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return updateStreamingDistributionResult; } } } }
public CreateInvalidationResult unmarshall(StaxUnmarshallerContext context) throws Exception { CreateInvalidationResult createInvalidationResult = new CreateInvalidationResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("Location"); createInvalidationResult.setLocation(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return createInvalidationResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("Invalidation", targetDepth)) { createInvalidationResult.setInvalidation(InvalidationStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return createInvalidationResult; } } } }
public GetFieldLevelEncryptionResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetFieldLevelEncryptionResult getFieldLevelEncryptionResult = new GetFieldLevelEncryptionResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("ETag"); getFieldLevelEncryptionResult.setETag(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return getFieldLevelEncryptionResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("FieldLevelEncryption", targetDepth)) { getFieldLevelEncryptionResult.setFieldLevelEncryption(FieldLevelEncryptionStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return getFieldLevelEncryptionResult; } } } }
public UpdateCloudFrontOriginAccessIdentityResult unmarshall(StaxUnmarshallerContext context) throws Exception { UpdateCloudFrontOriginAccessIdentityResult updateCloudFrontOriginAccessIdentityResult = new UpdateCloudFrontOriginAccessIdentityResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("ETag"); updateCloudFrontOriginAccessIdentityResult.setETag(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return updateCloudFrontOriginAccessIdentityResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("CloudFrontOriginAccessIdentity", targetDepth)) { updateCloudFrontOriginAccessIdentityResult.setCloudFrontOriginAccessIdentity(CloudFrontOriginAccessIdentityStaxUnmarshaller.getInstance() .unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return updateCloudFrontOriginAccessIdentityResult; } } } }
public GetFieldLevelEncryptionProfileResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetFieldLevelEncryptionProfileResult getFieldLevelEncryptionProfileResult = new GetFieldLevelEncryptionProfileResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("ETag"); getFieldLevelEncryptionProfileResult.setETag(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return getFieldLevelEncryptionProfileResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("FieldLevelEncryptionProfile", targetDepth)) { getFieldLevelEncryptionProfileResult.setFieldLevelEncryptionProfile(FieldLevelEncryptionProfileStaxUnmarshaller.getInstance().unmarshall( context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return getFieldLevelEncryptionProfileResult; } } } }
public GetFieldLevelEncryptionProfileConfigResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetFieldLevelEncryptionProfileConfigResult getFieldLevelEncryptionProfileConfigResult = new GetFieldLevelEncryptionProfileConfigResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("ETag"); getFieldLevelEncryptionProfileConfigResult.setETag(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return getFieldLevelEncryptionProfileConfigResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("FieldLevelEncryptionProfileConfig", targetDepth)) { getFieldLevelEncryptionProfileConfigResult.setFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfigStaxUnmarshaller .getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return getFieldLevelEncryptionProfileConfigResult; } } } }
public GetPublicKeyConfigResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetPublicKeyConfigResult getPublicKeyConfigResult = new GetPublicKeyConfigResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("ETag"); getPublicKeyConfigResult.setETag(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return getPublicKeyConfigResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("PublicKeyConfig", targetDepth)) { getPublicKeyConfigResult.setPublicKeyConfig(PublicKeyConfigStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return getPublicKeyConfigResult; } } } }
public GetStreamingDistributionConfigResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetStreamingDistributionConfigResult getStreamingDistributionConfigResult = new GetStreamingDistributionConfigResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) { context.setCurrentHeader("ETag"); getStreamingDistributionConfigResult.setETag(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return getStreamingDistributionConfigResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("StreamingDistributionConfig", targetDepth)) { getStreamingDistributionConfigResult.setStreamingDistributionConfig(StreamingDistributionConfigStaxUnmarshaller.getInstance().unmarshall( context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return getStreamingDistributionConfigResult; } } } }
public CreateQueryLoggingConfigResult unmarshall(StaxUnmarshallerContext context) throws Exception { CreateQueryLoggingConfigResult createQueryLoggingConfigResult = new CreateQueryLoggingConfigResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; if (context.isStartOfDocument()) { context.setCurrentHeader("Location"); createQueryLoggingConfigResult.setLocation(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return createQueryLoggingConfigResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("QueryLoggingConfig", targetDepth)) { createQueryLoggingConfigResult.setQueryLoggingConfig(QueryLoggingConfigStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return createQueryLoggingConfigResult; } } } }
public CreateTrafficPolicyInstanceResult unmarshall(StaxUnmarshallerContext context) throws Exception { CreateTrafficPolicyInstanceResult createTrafficPolicyInstanceResult = new CreateTrafficPolicyInstanceResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; if (context.isStartOfDocument()) { context.setCurrentHeader("Location"); createTrafficPolicyInstanceResult.setLocation(StringStaxUnmarshaller.getInstance().unmarshall(context)); } while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return createTrafficPolicyInstanceResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("TrafficPolicyInstance", targetDepth)) { createTrafficPolicyInstanceResult.setTrafficPolicyInstance(TrafficPolicyInstanceStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return createTrafficPolicyInstanceResult; } } } }