public ListStreamingDistributionsResult unmarshall(StaxUnmarshallerContext context) throws Exception { ListStreamingDistributionsResult listStreamingDistributionsResult = new ListStreamingDistributionsResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return listStreamingDistributionsResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("StreamingDistributionList", targetDepth)) { listStreamingDistributionsResult.setStreamingDistributionList(StreamingDistributionListStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return listStreamingDistributionsResult; } } } }
public ListPublicKeysResult unmarshall(StaxUnmarshallerContext context) throws Exception { ListPublicKeysResult listPublicKeysResult = new ListPublicKeysResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return listPublicKeysResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("PublicKeyList", targetDepth)) { listPublicKeysResult.setPublicKeyList(PublicKeyListStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return listPublicKeysResult; } } } }
public ListDistributionsResult unmarshall(StaxUnmarshallerContext context) throws Exception { ListDistributionsResult listDistributionsResult = new ListDistributionsResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return listDistributionsResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("DistributionList", targetDepth)) { listDistributionsResult.setDistributionList(DistributionListStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return listDistributionsResult; } } } }
public ListTagsForResourceResult unmarshall(StaxUnmarshallerContext context) throws Exception { ListTagsForResourceResult listTagsForResourceResult = new ListTagsForResourceResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return listTagsForResourceResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("Tags", targetDepth)) { listTagsForResourceResult.setTags(TagsStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return listTagsForResourceResult; } } } }
public ListDistributionsByWebACLIdResult unmarshall(StaxUnmarshallerContext context) throws Exception { ListDistributionsByWebACLIdResult listDistributionsByWebACLIdResult = new ListDistributionsByWebACLIdResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return listDistributionsByWebACLIdResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("DistributionList", targetDepth)) { listDistributionsByWebACLIdResult.setDistributionList(DistributionListStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return listDistributionsByWebACLIdResult; } } } }
public GetInvalidationResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetInvalidationResult getInvalidationResult = new GetInvalidationResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return getInvalidationResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("Invalidation", targetDepth)) { getInvalidationResult.setInvalidation(InvalidationStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return getInvalidationResult; } } } }
public ListCloudFrontOriginAccessIdentitiesResult unmarshall(StaxUnmarshallerContext context) throws Exception { ListCloudFrontOriginAccessIdentitiesResult listCloudFrontOriginAccessIdentitiesResult = new ListCloudFrontOriginAccessIdentitiesResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return listCloudFrontOriginAccessIdentitiesResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("CloudFrontOriginAccessIdentityList", targetDepth)) { listCloudFrontOriginAccessIdentitiesResult.setCloudFrontOriginAccessIdentityList(CloudFrontOriginAccessIdentityListStaxUnmarshaller .getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return listCloudFrontOriginAccessIdentitiesResult; } } } }
public ListFieldLevelEncryptionProfilesResult unmarshall(StaxUnmarshallerContext context) throws Exception { ListFieldLevelEncryptionProfilesResult listFieldLevelEncryptionProfilesResult = new ListFieldLevelEncryptionProfilesResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return listFieldLevelEncryptionProfilesResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("FieldLevelEncryptionProfileList", targetDepth)) { listFieldLevelEncryptionProfilesResult.setFieldLevelEncryptionProfileList(FieldLevelEncryptionProfileListStaxUnmarshaller.getInstance() .unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return listFieldLevelEncryptionProfilesResult; } } } }
public ListInvalidationsResult unmarshall(StaxUnmarshallerContext context) throws Exception { ListInvalidationsResult listInvalidationsResult = new ListInvalidationsResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return listInvalidationsResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("InvalidationList", targetDepth)) { listInvalidationsResult.setInvalidationList(InvalidationListStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return listInvalidationsResult; } } } }
public ListFieldLevelEncryptionConfigsResult unmarshall(StaxUnmarshallerContext context) throws Exception { ListFieldLevelEncryptionConfigsResult listFieldLevelEncryptionConfigsResult = new ListFieldLevelEncryptionConfigsResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return listFieldLevelEncryptionConfigsResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("FieldLevelEncryptionList", targetDepth)) { listFieldLevelEncryptionConfigsResult.setFieldLevelEncryptionList(FieldLevelEncryptionListStaxUnmarshaller.getInstance() .unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return listFieldLevelEncryptionConfigsResult; } } } }
public GetPublicAccessBlockResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetPublicAccessBlockResult getPublicAccessBlockResult = new GetPublicAccessBlockResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return getPublicAccessBlockResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("PublicAccessBlockConfiguration", targetDepth)) { getPublicAccessBlockResult.setPublicAccessBlockConfiguration(PublicAccessBlockConfigurationStaxUnmarshaller.getInstance().unmarshall( context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return getPublicAccessBlockResult; } } } }
public CreateStackResult unmarshall(StaxUnmarshallerContext context) throws Exception { CreateStackResult createStackResult = new CreateStackResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return createStackResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("StackId", targetDepth)) { createStackResult.setStackId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return createStackResult; } } } }
public DescribeStackResourceResult unmarshall(StaxUnmarshallerContext context) throws Exception { DescribeStackResourceResult describeStackResourceResult = new DescribeStackResourceResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return describeStackResourceResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("StackResourceDetail", targetDepth)) { describeStackResourceResult.setStackResourceDetail(StackResourceDetailStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return describeStackResourceResult; } } } }
public AttachVpnGatewayResult unmarshall(StaxUnmarshallerContext context) throws Exception { AttachVpnGatewayResult attachVpnGatewayResult = new AttachVpnGatewayResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return attachVpnGatewayResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("attachment", targetDepth)) { attachVpnGatewayResult.setVpcAttachment(VpcAttachmentStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return attachVpnGatewayResult; } } } }
public LaunchTemplatesMonitoring unmarshall(StaxUnmarshallerContext context) throws Exception { LaunchTemplatesMonitoring launchTemplatesMonitoring = new LaunchTemplatesMonitoring(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return launchTemplatesMonitoring; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("enabled", targetDepth)) { launchTemplatesMonitoring.setEnabled(BooleanStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return launchTemplatesMonitoring; } } } }
public GetAttributesResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetAttributesResult getAttributesResult = new GetAttributesResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return getAttributesResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("Attribute", targetDepth)) { getAttributesResult.withAttributes(AttributeStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return getAttributesResult; } } } }
public PublishResult unmarshall(StaxUnmarshallerContext context) throws Exception { PublishResult publishResult = new PublishResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return publishResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("MessageId", targetDepth)) { publishResult.setMessageId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return publishResult; } } } }
public DeleteVpcPeeringConnectionResult unmarshall(StaxUnmarshallerContext context) throws Exception { DeleteVpcPeeringConnectionResult deleteVpcPeeringConnectionResult = new DeleteVpcPeeringConnectionResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return deleteVpcPeeringConnectionResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("return", targetDepth)) { deleteVpcPeeringConnectionResult.setReturn(BooleanStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return deleteVpcPeeringConnectionResult; } } } }
public InstanceIpv6Address unmarshall(StaxUnmarshallerContext context) throws Exception { InstanceIpv6Address instanceIpv6Address = new InstanceIpv6Address(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return instanceIpv6Address; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("ipv6Address", targetDepth)) { instanceIpv6Address.setIpv6Address(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return instanceIpv6Address; } } } }
public UpdateApplicationVersionResult unmarshall(StaxUnmarshallerContext context) throws Exception { UpdateApplicationVersionResult updateApplicationVersionResult = new UpdateApplicationVersionResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return updateApplicationVersionResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("ApplicationVersion", targetDepth)) { updateApplicationVersionResult.setApplicationVersion(ApplicationVersionDescriptionStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return updateApplicationVersionResult; } } } }