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