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