public static AuthorizeSnapshotAccessResultUnmarshaller GetInstance() { if (instance == null) { instance = new AuthorizeSnapshotAccessResultUnmarshaller(); } return(instance); }
public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) { AuthorizeSnapshotAccessResponse response = new AuthorizeSnapshotAccessResponse(); while (context.Read()) { if (context.IsStartElement) { if (context.TestExpression("AuthorizeSnapshotAccessResult", 2)) { response.AuthorizeSnapshotAccessResult = AuthorizeSnapshotAccessResultUnmarshaller.GetInstance().Unmarshall(context); continue; } if (context.TestExpression("ResponseMetadata", 2)) { response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context); } } } return(response); }